Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

x-article-publisher

Skill by anbeime

Publishes Markdown long-form articles to the X (Twitter) Articles editor as drafts. It is for content creators who want to convert Markdown into rich text and save it to X without logging in each time.

  • Score 84
  • 10k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install x-article-publisher

Built from the published package, never by AI.

git clone --depth 1 https://github.com/anbeime/skill /tmp/skill && mkdir -p ~/.claude/skills && cp -r /tmp/skill/skills/qiaomu-x-article-publisher ~/.claude/skills/x-article-publisher

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install x-article-publisher in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

X Article Publisher is an agent skill that publishes Markdown articles to the X (Twitter) Articles editor. It converts the Markdown to rich text and keeps the layout by parsing the file and pasting the HTML into the editor. A Python script opens a browser with the saved login, goes to the editor, clicks create, fills in the title, pastes the content and saves a draft.

The login state is saved after a one-time setup with auth_manager.py, so later runs skip manual sign-in. The skill never publishes automatically and leaves the final review to the user. If an article has no H1 title or cover image, the skill can ask the assistant to suggest a title or generate a cover. The cover is added by hand in the browser. The skill is aimed at content creators who publish long articles to X.

Written from the project's SKILL.md and checked against it.

What it can do

  • publish_article.pyOne-command publish that fills in the title and content and saves a draft.
  • parse_markdown.pyParses a Markdown file into JSON with title, images, HTML and block count.
  • copy_to_clipboard.pyCopies an image or HTML content to the system clipboard for pasting.
  • auth_manager.pySets up, checks, validates, clears and renews the saved X login state.
  • Title generationFlags articles with no H1 title so the assistant can suggest a catchy title.
  • Cover image generationUses gemini-image-generator or jimeng-image-generator to create a cover when none exists.

What you need

  • X Premium Plus subscription
  • Python 3.9+
  • Pillow Python package
  • pyobjc-framework-Cocoa Python package
  • patchright Python package

Try asking

  • Publish /path/to/article.md to X Articles as a draft
  • Check whether my saved X login is still valid
  • Parse my article, suggest a title, then save it to X Articles

Good to know

  • Saves drafts only and never publishes automatically.
  • The saved login state is valid for 7 days.
  • Cover image upload must be done manually in the browser.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/qiaomu-x-article-publisher/SKILL.md, skills/qiaomu-x-article-publisher/qiaomu-x-article-publisher-github/scripts/auth_manager.py, skills/qiaomu-x-article-publisher/qiaomu-x-article-publisher-github/scripts/copy_to_clipboard.py, skills/qiaomu-x-article-publisher/qiaomu-x-article-publisher-github/scripts/debug_editor.py, skills/qiaomu-x-article-publisher/qiaomu-x-article-publisher-github/scripts/debug_page.py, skills/qiaomu-x-article-publisher/qiaomu-x-article-publisher-github/scripts/parse_markdown.py, skills/qiaomu-x-article-publisher/qiaomu-x-article-publisher-github/scripts/publish_article.py, skills/qiaomu-x-article-publisher/qiaomu-x-article-publisher-github/scripts/site_config.py, skills/qiaomu-x-article-publisher/scripts/auth_manager.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • .gitignore736 B
  • CHANGELOG.md2 KB
  • LICENSE1 KB
  • README.md5 KB
  • SKILL.md8 KB
Show all 34 files
  • data/.gitignore701 B
  • data/.gitkeep0 B
  • data/browser_state/.gitkeep53 B
  • metadata.json702 B
  • qiaomu-x-article-publisher-github/.gitignore392 B
  • qiaomu-x-article-publisher-github/CHANGELOG.md1 KB
  • qiaomu-x-article-publisher-github/CONTRIBUTING.md2 KB
  • qiaomu-x-article-publisher-github/LICENSE1 KB
  • qiaomu-x-article-publisher-github/README.md3 KB
  • qiaomu-x-article-publisher-github/README_FULL.md5 KB
  • qiaomu-x-article-publisher-github/SKILL.md8 KB
  • qiaomu-x-article-publisher-github/data/.gitignore701 B
  • qiaomu-x-article-publisher-github/data/.gitkeep0 B
  • qiaomu-x-article-publisher-github/data/browser_state/.gitkeep53 B
  • qiaomu-x-article-publisher-github/metadata.json702 B
  • qiaomu-x-article-publisher-github/scripts/auth_manager.py9 KB
  • qiaomu-x-article-publisher-github/scripts/copy_to_clipboard.py6 KB
  • qiaomu-x-article-publisher-github/scripts/debug_editor.py5 KB
  • qiaomu-x-article-publisher-github/scripts/debug_page.py2 KB
  • qiaomu-x-article-publisher-github/scripts/parse_markdown.py17 KB
  • qiaomu-x-article-publisher-github/scripts/publish_article.py39 KB
  • qiaomu-x-article-publisher-github/scripts/site_config.py2 KB
  • scripts/auth_manager.py9 KB
  • scripts/copy_to_clipboard.py6 KB
  • scripts/debug_editor.py5 KB

And 4 more files on GitHub.

Alternatives to x-article-publisher

All alternatives →
video-shortformnexu-io
94

Generates 3 to 10 second short-form video clips for product reveals, motion teasers and ambient loops. It defaults to Seedance 2 and also works with Kling 3 and 4, Veo 3 and Sora 2, saving one MP4 to the project folder.

AAA Skill 110k
seo-plansickn33
94

Builds a strategic SEO plan for new or existing websites, covering competitors, architecture, content, technical setup and a 12-month roadmap. It is aimed at people who need an SEO strategy rather than a one-time audit.

AAA Skill 50k
linkedin-profilealirezarezvani
94

Audits and rewrites a LinkedIn profile for people who want their headline, About section and other parts improved. It scores the headline, audits the whole profile from 0 to 100 and drafts an About section that works above the fold.

AAA Skill 31k
linkedin-strategyalirezarezvani
94

Builds a LinkedIn plan covering content pillars, positioning, posting cadence and whether to start a newsletter. Aimed at people pursuing a career change, consulting, thought leadership or similar goals on LinkedIn.

AAA Skill 31k
landing-pageMengTo
94

Guides an AI assistant to design or rewrite a single-offer landing page for SaaS, apps and services. It covers structure, layout, copywriting, conversion tactics, and SEO/AEO.

AAA Skill 8.5k
linkedin-analyticsalirezarezvani
94

Analyzes your own exported LinkedIn post data to show which posts worked, test whether a pattern is real, and plan posting experiments. Built for people who want to understand their own LinkedIn numbers. It refuses to draw conclusions from fewer than 10 posts.

AAA Skill 31k

Compare with video-shortform, seo-plan or linkedin-profile

x-article-publisher: common questions

Does X Article Publisher publish the article automatically?

No. It only saves a draft, and the user checks it in the browser and publishes it manually.

How does the login work?

Run auth_manager.py setup once and log in to X in the opened browser. The login state is saved and is valid for 7 days.

Does it add a cover image automatically?

No. The skill does not insert the first image as a cover, and the cover is uploaded by hand in the browser.

How do I install x-article-publisher?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is x-article-publisher free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is x-article-publisher safe to use?

It scores 84 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to x-article-publisher?

Similar skills: video-shortform, seo-plan, linkedin-profile, linkedin-strategy.

x-article-publisher Install

Add to stack

Loading.