x-article-publisher
Skill by anbeime
Publishes Markdown long-form articles to the X Articles editor as rich text. It saves a draft for the user to review and publish manually, and is aimed at content creators who share long posts on X.
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/qiaomu-x-article-publisher-github ~/.claude/skills/x-article-publisherRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/anbeime/skill /tmp/skill && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skill/skills/qiaomu-x-article-publisher/qiaomu-x-article-publisher-github ~/.gemini/antigravity-cli/skills/x-article-publisherAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install x-article-publisher in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
X Article Publisher converts a Markdown file into rich text and saves it as a draft in the X Articles editor. A Python script parses the Markdown, extracts the title and images, and pastes the HTML content into a browser it opens. The skill saves drafts only and does not publish automatically.
Login is set up once with an auth manager command, and the saved browser state is reused, which the source says is valid for 7 days. The skill can also prompt the assistant to suggest a title or generate a cover image with another image skill. It is aimed at content creators who publish long articles to X and want to keep formatting without manual adjustments.
Written from the project's SKILL.md and checked against it.
What it can do
- One-step publishRuns publish_article.py to parse a Markdown file and create a draft in X Articles.
- Markdown parsingparse_markdown.py extracts title, images and HTML, returning JSON output.
- Clipboard copycopy_to_clipboard.py copies an image or HTML content to the system clipboard.
- Auth managementauth_manager.py handles setup, status, validation, clearing and re-authentication of the X login.
- Title suggestionWhen an article has no H1 title, the assistant can generate one from the content.
- Cover image generationWhen no cover exists, the assistant can call a separate image generator skill to create one.
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
- Parse this Markdown file and show its title and images
- Suggest a click-worthy title for my article and publish it as a draft
Good to know
- Saves drafts only and never publishes automatically.
- Cover image upload must be done manually in the browser.
- Code blocks are converted to blockquotes.
- Requires an X Premium Plus subscription.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/qiaomu-x-article-publisher/qiaomu-x-article-publisher-github/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. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
.gitignore392 B -
CHANGELOG.md1 KB -
CONTRIBUTING.md2 KB -
LICENSE1 KB -
README.md3 KB
Show all 18 files
-
README_FULL.md5 KB -
SKILL.md8 KB -
data/.gitignore701 B -
data/.gitkeep0 B -
data/browser_state/.gitkeep53 B -
metadata.json702 B -
scripts/auth_manager.py9 KB -
scripts/copy_to_clipboard.py6 KB -
scripts/debug_editor.py5 KB -
scripts/debug_page.py2 KB -
scripts/parse_markdown.py17 KB -
scripts/publish_article.py39 KB -
scripts/site_config.py2 KB
Alternatives to x-article-publisher
All alternatives →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.
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.
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.
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.
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.
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.
Compare with video-shortform, seo-plan or linkedin-profile
x-article-publisher: common questions
Does X Article Publisher publish articles automatically?
No. The source says the skill only saves a draft, and the user must check and publish it manually in the browser.
Do I have to log in to X every time?
The source says you run an auth setup once, and the saved browser state is reused, valid for 7 days.
Which Markdown formatting is supported?
The source lists H2 headers, blockquotes, code blocks, bold text, hyperlinks, ordered and unordered lists, and paragraphs.
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 86 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.
