
Publish X Article
Takes Markdown files and publishes them to X Articles while working around the platform's formatting quirks. The interesting bit is how it handles Premium vs Premium+ tiers differently: Premium users get H3+ headers flattened to bold text and tables converted to images, while Premium+ keeps more native formatting. Mermaid diagrams become PNGs for everyone since X doesn't support them at all. Uses Playwright for browser automation and a "text first, images second" strategy where you paste all content, then insert images by block index. Based on wshuyi's original implementation. You'll need Python dependencies and the diagram-to-image skill installed. Saves you from manually reformatting articles to fit X's limitations.
- skills.sh installs
- 455
- GitHub stars
- 139
- last updated
- Aug 21, 2026
Install
$ npx -y skills add sugarforever/01coder-agent-skills --skill publish-x-article --agent claude-codeInstalls into .claude/skills of the current project.
Files
Publish X Article
Publish Markdown content to X (Twitter) Articles editor, preserving formatting with rich text conversion. Automatically handles X Premium limitations by converting unsupported elements to images.
Credits
This skill is inspired by and based on wshuyi/x-article-publisher-skill. Thank you to the original author for the foundational work.
Interactive Setup: Ask Subscription Type
IMPORTANT: Before processing the article, ask the user about their X subscription type if not already known.
Prompt the User
Before publishing, I need to know your X subscription type to handle formatting correctly:
1. **X Premium** - Basic tier ($8/month)
2. **X Premium+** - Plus tier ($16/month)
Which subscription do you have? (Premium / Premium+)
For Chinese users:
在发布之前,我需要了解您的 X 订阅类型以正确处理格式:
1. **X Premium** - 基础版 ($8/月)
2. **X Premium+** - 高级版 ($16/月)
您使用的是哪个版本?(Premium / Premium+)
Remember the Answer
Once the user answers, remember their subscription type for the rest of the session. Don't ask again unless they explicitly want to change it.
X Subscription Feature Comparison
Sponsors
Details
- Repository
- github.com/sugarforever/01coder-agent-skills
- Categories
- AI & Agent Building, Release Management
- First seen
- Jun 3, 2026