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_Nplaceholder 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
- Hand it
article.mdand say "prepare this as an X Article" — it fills in title, cover, body, and inline images, opens Preview, then asks before publishing. - "Tweet 'Ship day!' with these three screenshots" — text and images land in the composer, media finishes uploading, then it asks for confirmation.
- "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)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude 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.
- Open a terminal.
- Clone the repo:
git clone https://github.com/JimLiu/baoyu-skills.git - Copy the skill into place:
mkdir -p ~/.claude/skills && cp -r baoyu-skills/skills/baoyu-post-to-x ~/.claude/skills/ - Install the runtime:
brew install oven-sh/bun/bunon macOS, ornpm install -g bunelsewhere (npx -y bunalso works). - Make sure Google Chrome (or Chromium) is installed.
- On macOS, enable your terminal app under System Settings → Privacy & Security → Accessibility so paste keystrokes work.
- Run the pre-flight check:
bun ~/.claude/skills/baoyu-post-to-x/scripts/check-paste-permissions.ts - 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.
View source on GitHub ↗License: MIT