publish-x-article

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.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "publish-x-article" with this command: npx skills add heyvhuang/ship-faster/heyvhuang-ship-faster-publish-x-article

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)

  1. Never auto-publish (draft only; user publishes manually).
  2. User must be logged in before automation starts.
  3. 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_dir for artifacts (otherwise use /tmp/)

Outputs (recommended artifacts):

  • /tmp/x_article.json (parsed structure)
  • /tmp/x_article.html (HTML body for paste)
  • Optional: run_dir/05-final/x-article-draft.md (what was done + links)

Bundled Scripts

Installed path (typical):

  • ~/.claude/skills/publish-x-article/scripts/parse_markdown.py
  • ~/.claude/skills/publish-x-article/scripts/copy_to_clipboard.py

Runbook (Step-by-step)

Follow: references/runbook.md

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

tool-openclaw

No summary provided by upstream source.

Repository SourceNeeds Review
General

mcp-supabase

No summary provided by upstream source.

Repository SourceNeeds Review
General

stripe

No summary provided by upstream source.

Repository SourceNeeds Review
General

skill-evolution

No summary provided by upstream source.

Repository SourceNeeds Review