AI Skill MartBrowse skillsPromptsProgramsLearnWhat is a Skill?
← Back to list

Post to X (Twitter)

Drives a real Chrome browser to compose and publish X posts, images, videos, quote tweets, and Markdown long-form Articles.

AutomationIntermediate★ 24,749⑂ 2,764AI score 9/10Last updated: Jul 4, 2026

What it does

  • Triggers on requests like "post to X", "tweet this", or "publish to Twitter" and opens the X composer in your real Chrome session.
  • Supports regular posts (up to 4 images), video posts, quote tweets, and X Articles generated from Markdown files.
  • Converts Markdown to rich HTML, uploads the cover image, and inserts each body image at its XIMGPH_N placeholder via the editor's Insert → Media flow, then cleans up placeholders.
  • Offers three browser-control modes (Codex Chrome plugin, Chrome Computer Use, CDP script fallback) and won't silently switch away from the one you asked for.
  • Never clicks Publish/Post without your explicit confirmation.

Who it's for

  • Creators repurposing blog posts or newsletters into X Articles.
  • Marketers and growth folks who post media-heavy updates regularly.
  • Developers who live in the terminal and want to ship social posts without context switching.

Examples

  1. Hand it article.md and say "prepare this as an X Article" — it fills in title, cover, body, and inline images, opens Preview, then asks before publishing.
  2. "Tweet 'Ship day!' with these three screenshots" — text and images land in the composer, media finishes uploading, then it asks for confirmation.
  3. "Quote this tweet with the comment 'great point'" — opens the quote composer with your comment pre-filled.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/JimLiu/baoyu-skills/HEAD/skills/baoyu-post-to-x/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on AI Skill Mart.
Copy the skills/baoyu-post-to-x folder from the GitHub repo JimLiu/baoyu-skills into my ~/.claude/skills/baoyu-post-to-x/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/JimLiu/baoyu-skills.git && mkdir -p ~/.claude/skills && cp -r baoyu-skills/skills/baoyu-post-to-x ~/.claude/skills/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Open a terminal.
  2. Clone the repo: git clone https://github.com/JimLiu/baoyu-skills.git
  3. Copy the skill into place: mkdir -p ~/.claude/skills && cp -r baoyu-skills/skills/baoyu-post-to-x ~/.claude/skills/
  4. Install the runtime: brew install oven-sh/bun/bun on macOS, or npm install -g bun elsewhere (npx -y bun also works).
  5. Make sure Google Chrome (or Chromium) is installed.
  6. On macOS, enable your terminal app under System Settings → Privacy & Security → Accessibility so paste keystrokes work.
  7. Run the pre-flight check: bun ~/.claude/skills/baoyu-post-to-x/scripts/check-paste-permissions.ts
  8. Restart Claude Code and try "post this to X". On the first run, log in to X manually in the Chrome window that opens — the session is saved for later runs.