Skills for Real Engineers. Straight from my .agents directory.
baoyu-post-to-x
Agent skill fromJimLiu/baoyu-skills
Posts content and articles to X (Twitter). Supports regular posts with images/videos and X Articles (long-form Markdown). In Codex, honor explicit requests for the Codex Chrome plugin/@chrome by using the Chrome Extension workflow; otherwise use Chrome Computer Use when available and fall back to real Chrome CDP scripts only when allowed. Use when user asks to "post to X", "tweet", "publish to Twitter", or "share on X".
How to install baoyu-post-to-x
npx skills add JimLiu/baoyu-skills# or add only this skill to Claude Code: copy the folder
skills/baoyu-post-to-x/
# into
~/.claude/skills/baoyu-post-to-x/ (all projects)
.claude/skills/baoyu-post-to-x/ (one project)
1# Post to X (Twitter)23Posts text, images, videos, and long-form articles to X via a real Chrome browser.45In Codex, three distinct browser paths — do not conflate them:6- **Codex Chrome plugin / `@chrome` / Chrome Extension**: the bundled `chrome:Chrome` skill and its Node REPL browser client. Required whenever the user says "Codex Chrome plugin", "Codex 自带的 Chrome 插件", `@chrome`, or similar.7- **Chrome Computer Use**: `mcp__computer_use__.*` against the visible Google Chrome UI.8- **CDP script mode**: the bundled scripts; fallback only.910## Script Directory1112`{baseDir}` = this SKILL.md's directory; scripts are at `{baseDir}/scripts/<script-name>.ts`. Resolve `${BUN_X}`: `bun` if installed → else `npx -y bun` → else suggest installing bun.1314| Script | Purpose |15|--------|---------|16| `scripts/x-browser.ts` | Regular posts (text + images), CDP fallback |17| `scripts/x-video.ts` | Video posts (text + video), CDP fallback |18| `scripts/x-quote.ts` | Quote tweet with comment, CDP fallback |19| `scripts/x-article.ts` | Long-form article publishing (Markdown), CDP fallback |20| `scripts/md-to-html.ts` | Markdown → HTML conversion |21| `scripts/copy-to-clipboard.ts` | Copy content to clipboard |22| `scripts/paste-from-clipboard.ts` | Send real paste keystroke |23| `scripts/check-paste-permissions.ts` | Verify environment & permissions |2425## Execution Mode Selection (Required)2627Choose exactly one mode before interacting with X:28…
Excerpt shown under the repository's MIT license.
More skills in baoyu-skills
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
