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-code

Installs 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

More from sugarforever/01coder-agent-skills

All 13
1aj-geddes avatarfrontend-routingaj-geddes/useful-ai-promptsImplement client-side routing using React Router, Vue Router, and Angular Router. Use when building multi-page applications with navigation and route protection454skills.sh installs
2aj-geddes avatarload-balancer-setupaj-geddes/useful-ai-promptsConfigure and deploy load balancers (HAProxy, AWS ELB/ALB/NLB) for distributing traffic, session management, and high availability.454skills.sh installs
3aj-geddes avatarproperty-based-testingaj-geddes/useful-ai-promptsDesign property-based tests that verify code properties hold for all inputs using automatic test case generation. Use for property-based, QuickCheck, hypothesis454skills.sh installs
4automattic avatarwp-block-developmentautomattic/agent-skillswp block development454skills.sh installs
5daffy0208 avatarvideo-producerdaffy0208/ai-dev-standardsExpert in video playback, streaming, and video player customization454skills.sh installs
6jwynia avatardraftingjwynia/agent-skillsBreak through blocks and execute first drafts. Use when the outline is done but the draft isn't happening, when writer's block strikes, when the blank page rema454skills.sh installs