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.
npx skills add https://github.com/sugarforever/01coder-agent-skills --skill publish-x-article