
X Article Publisher
Publish Markdown articles to X's Articles editor with rich text, cover images, and dividers preserved.
- skills.sh installs
- 326
- GitHub stars
- 874
- last updated
- Aug 21, 2026
What it does
- Covers the full publish flow: Markdown parsing, cover image upload, rich-text paste, and saving as draft
- Includes
parse_markdown.py,copy_to_clipboard.py, andtable_to_image.pyfor structured extraction, clipboard handling, and table conversion - Enforces a draft-only policy, so articles are saved as drafts and never auto-published
- Designed for users with X Premium Plus who publish Markdown files or URLs through Playwright browser automation
Install
$ npx -y skills add wshuyi/x-article-publisher-skill --skill x-article-publisher -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
X Article Publisher
Publish Markdown content to X (Twitter) Articles editor, preserving formatting with rich text conversion.
Prerequisites
- Playwright MCP for browser automation
- User logged into X with Premium Plus subscription
- Python 3.9+ with dependencies:
- macOS:
pip install Pillow pyobjc-framework-Cocoa - Windows:
pip install Pillow pywin32 clip-util
- macOS:
- For Mermaid diagrams:
npm install -g @mermaid-js/mermaid-cli
Scripts
Located in ~/.claude/skills/x-article-publisher/scripts/:
parse_markdown.py
Parse Markdown and extract structured data:
python parse_markdown.py <markdown_file> [--output json|html] [--html-only]
Returns JSON with: title, cover_image, content_images, dividers (with block_index for positioning), html, total_blocks
copy_to_clipboard.py
Copy image or HTML to system clipboard (cross-platform):
# Copy image (with optional compression)
python copy_to_clipboard.py image /path/to/image.jpg [--quality 80]
# Copy HTML for rich text paste
python copy_to_clipboard.py html --file /path/to/content.html
Details
- Repository
- github.com/wshuyi/x-article-publisher-skill
- Categories
- Social Media, Writing & Content, Browser Automation & Scraping
- First seen
- Jun 3, 2026
Similar to X Article Publisher
More Social Media
publish-substack-articlesugarforever/01coder-agent-skills611 installsPublish Markdown articles to Substack as drafts, converting Markdown to rich text without auto-publishing.
publish-zsxq-articlesugarforever/01coder-agent-skills481 installsPublishes Markdown files to Zsxq article editor in Markdown mode, always saving as draft for review.
toutiao-publisherguanyang/super-publisher1.1K installsBrowser-driven publisher that prepares Toutiao articles from Markdown, with optional authorized auto-publish.
baoyu-post-to-weibojimliu/baoyu-skills22.1K installsPublishes to Weibo through a real Chrome session: regular posts and Markdown headline articles, with manual review.
baoyu-post-to-xjimliu/baoyu-skills29.4K installsPosts text, images, videos, and long-form Markdown articles to X through a real Chrome session.
wechat-article-publisheriamzifei/wechat-article-publisher-skill2.6K installsCommand-line publisher that sends Markdown or HTML articles to WeChat Official Account drafts through an API.