Tool X Article Publisher
Publish Markdown to X (Twitter) Articles as a draft (never auto-publish).
by heyvhuang · MIT
The skill
Publish Markdown to X (Twitter) Articles as a draft (never auto-publish). Use when the user asks to publish/post an article to X Articles, convert Markdown to X Articles rich text, or mentions "X article", "publish to X", "post to Twitter articles". Converts Markdown → HTML, pastes rich text, and inserts images deterministically.
X Article Publisher
Publish Markdown content into X (Twitter) Articles as a draft, preserving formatting via rich text paste and deterministic image insertion.
Hard Rules (Safety)
- Never auto-publish (draft only; user publishes manually).
- User must be logged in before automation starts.
- First image = cover image (if any).
Prerequisites
- Browser automation available (Playwright MCP or equivalent)
- X account can access Articles (Premium / Premium Plus)
- macOS recommended (clipboard helper uses Cocoa)
- Python 3.9+ with:
pip install Pillow pyobjc-framework-Cocoa
Inputs / Outputs (Recommended)
Inputs (paths only):
article_md_path: Markdown file to publish- Optional:
run_dirfor artifacts (otherwise use/tmp/)
Outputs (recommended artifacts):
/tmp/x_article.json(parsed structure)/tmp/x_article.html(HTML body for paste)- Optional:
run_dir/evidence/x-article-draft.md(what was done + links)
Bundled Scripts
Installed path (typical):
~/.claude/skills/tool-x-article-publisher/scripts/parse_markdown.py~/.claude/skills/tool-x-article-publisher/scripts/copy_to_clipboard.py
Runbook (Step-by-step)
Follow: references/runbook.md
Use this skill
Connect your agent to the Skill Store MCP server and ask for it by ref: heyvhuang/tool-x-article-publisher-52048589912.
Details
- Publisher
- heyvhuang
- Category
- Business › Social media & video content
- License
- MIT
- Updated
- 2026-04-04
References
More from heyvhuang
- Review Clean Code Analyze code quality based on "Clean Code" principles.
- Review Doc Consistency Documentation consistency reviewer that checks alignment between code implementation and document…
- Review Merge Readiness Request/execute structured code review: use after completing important tasks, at end of each exec…
- Workflow Execute Plans Execute written implementation plans: first read and critically review the plan, then implement i…