x-article-publisher

Publish Markdown articles to X Articles with cover images and rich text.

Updated Feb 3, 2026
One-click install
npx skills add https://github.com/JackweiStud/gitxPost --skill x-article-publisher
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: x-article-publisher
Source: https://github.com/JackweiStud/gitxPost/tree/main/pasreMarkDown/skills/x-article-publisher
Command: npx skills add https://github.com/JackweiStud/gitxPost --skill x-article-publisher

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires Pillow, pywin32, pyobjc-framework-Cocoa, clip-util.

What problem does it solve?

Creators who publish long-form Markdown content to X Articles face tedious formatting, image handling, and repetitive publishing steps. This Skill automates the end-to-end process to preserve formatting, attach cover images, and insert content images in the correct places.

Core Features & Use Cases

  • Markdown to Rich Text: Converts standard Markdown to X Articles rich text, preserving headings, bold, links, lists, and code blocks.
  • Automated Media Handling: Uploads the cover image and inserts content images at precise positions using block indices or contextual hints.
  • Draft-First Workflow: Supports saving drafts and previewing before publishing, enabling safer long-form posts.
  • Use Case: A creator writes a 1500-word article in Markdown and uses this Skill to publish as a draft with cover and embedded visuals to X Articles.

Quick Start

  • Run the parse_markdown.py script to extract title, images, and HTML from your Markdown file.
  • Copy the prepared HTML to clipboard and paste into the X Articles editor.
  • Upload the cover image and verify the draft before saving.

Frequently Asked Questions about x-article-publisher

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I publish Markdown to X Articles with rich text formatting?

This Skill converts Markdown to rich text for X Articles by parsing local files or URLs into HTML, automating cover image uploads, and inserting content images at precise positions using block indices.

Can I automate cover image uploads and content image insertion when publishing to X Articles?

Yes, cover image uploads and content image insertion are automated, placing visuals at precise positions using block indices or contextual hints within the X Articles editor.

What is the draft-first workflow for posting long-form Markdown content to X?

The draft-first workflow allows you to save drafts and preview content before publishing, enabling safer long-form posts by verifying formatting and embedded visuals in the X Articles editor.

Do I need Python and Playwright to automate Markdown publishing to X Articles?

Yes, Python 3.9+ and Playwright for browser automation are required to run the local scripts that parse Markdown, generate HTML, and manage clipboard-based pasting into X Articles.

Does this Markdown to X Articles converter preserve code blocks and lists?

Yes, the Markdown to rich text conversion preserves headings, bold text, links, lists, and code blocks when pasting generated HTML into the X Articles editor.

What are the limitations of using clipboard-based pasting for X Articles automation?

Clipboard-based pasting requires a compatible desktop environment with dependencies like Pillow and pywin32 or pyobjc-framework-Cocoa to manage clipboard operations and image handling for X Articles.