Skip to content
mcp/skillhub

Agent Skill

Baoyu Post To X skill

baoyu-post-to-xJimLiu/baoyu-skillsskills/baoyu-post-to-x/SKILL.md

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".

27kMIT

always on

95 tokname + description

once used

4,029 tokSKILL.md body

bundled files

1511 scripts

repo stars

27kGitHub

Install the Baoyu Post To X skill

Skills CLI (Claude Code, Codex, Cursor and others)

npx skills add https://github.com/JimLiu/baoyu-skills --skill baoyu-post-to-x

Claude Code, by hand (all projects)

git clone --depth 1 https://github.com/JimLiu/baoyu-skills.git /tmp/baoyu-skills
mkdir -p ~/.claude/skills
cp -R /tmp/baoyu-skills/skills/baoyu-post-to-x ~/.claude/skills/baoyu-post-to-x

For one project only, copy the folder into .claude/skills/ in that project instead. The agent picks it up when a task matches its description.

What it costs your context

Agent Skills load in three steps. Tokens counted with the o200k tokenizer; your model's count will differ a little.

WhenWhat loadsCost
Every sessionName and description95 tok
When the agent uses itThe SKILL.md instructions4,029 tok
Only if opened15 bundled files (153 KB)varies

Until it is used, baoyu-post-to-x costs about 14× less than the median MCP server we measured (1,362 tokens on every turn). Installing all 22 skills from JimLiu/baoyu-skills would load 2,004 tokens of descriptions. Skills vs MCP study

Checks

  • Contains text that matches a prompt-injection pattern. In the skills we checked by hand this was security teaching material or a test fixture; read the file before you install it.
  • Ships scripts the agent can run. Read them before installing.

Checked 2026-10-22 · method

What's inside

The headings of its SKILL.md. Read the full file on GitHub.

  • Post to X (Twitter)
  • Script Directory
  • Execution Mode Selection (Required)
  • Codex Chrome Plugin Mode
  • Preferences (EXTEND.md)
  • Prerequisites
  • Pre-flight Check (Optional)
  • References
  • Chrome Computer Use Mode
  • CDP Script Mode (Fallback)
  • Post Type Selection
  • Regular Posts
  • Video Posts
  • Quote Tweets
  • X Articles
  • Troubleshooting
  • Chrome debug port not ready
  • Notes
  • Extension Support

More skills from JimLiu/baoyu-skills

All skills in this repo
  1. baoyu-article-illustratorJimLiu/baoyu-skills

    Analyzes article structure, identifies positions requiring visual aids, generates illustrations with Type × Style × Palette three-dimension approach. Use when user asks to "illustrate article", "add images", "generate images for article", or "为文章配图".

    27k60 tok idle · 3,942 in use
  2. baoyu-comicJimLiu/baoyu-skills

    Knowledge comic creator supporting multiple art styles and tones. Creates original educational comics with detailed panel layouts and batch-capable image generation. Use when user asks to create "知识漫画", "教育漫画", "biography comic", "tutorial comic", or "Logicomix-style comic".

    27k161 tok idle · 5,171 in use
  3. baoyu-compress-imageJimLiu/baoyu-skills

    Compresses images to WebP (default) or PNG with automatic tool selection. Use when user asks to "compress image", "optimize image", "convert to webp", or reduce image file size.

    27k148 tok idle · 584 in use
  4. baoyu-cover-imageJimLiu/baoyu-skills

    Generates article cover images with 5 dimensions (type, palette, rendering, text, mood) combining 11 color palettes and 7 rendering styles. Supports cinematic (2.35:1), widescreen (16:9), and square (1:1) aspects. Use when user asks to "generate cover image", "create article cover", or "make cover".

    27k80 tok idle · 4,234 in use
  5. baoyu-danger-gemini-webJimLiu/baoyu-skills

    Generates images and text via reverse-engineered Gemini Web API. Supports text generation, image generation from prompts, reference images for vision input, and multi-turn conversations. Use when other skills need image generation backend, or when user requests "generate image with Gemini", "Gemini text generation", or needs vision-capable AI generation.

    27k2573 tok idle · 1,559 in use
  6. baoyu-danger-x-to-markdownJimLiu/baoyu-skills

    Converts X (Twitter) tweets and articles to markdown with YAML front matter. Uses reverse-engineered API requiring user consent. Use when user mentions "X to markdown", "tweet to markdown", "save tweet", or provides x.com/twitter.com URLs for conversion.

    27k1660 tok idle · 1,793 in use
  7. baoyu-diagramJimLiu/baoyu-skills

    Create professional, dark-themed SVG diagrams of any type — architecture diagrams, flowcharts, sequence diagrams, structural diagrams, mind maps, timelines, illustrative/conceptual diagrams, and more. Use this skill whenever the user asks for any kind of technical or conceptual diagram, visualization of a system, process flow, data flow, component relationship, network topology, decision tree, org chart, state machine, or any visual representation of structure/logic/process. Also trigger when the user says "画个图" "画一个架构图" "diagram" "flowchart" "sequence diagram" "draw me a ..." or uploads content and asks to visualize it. Output is always a standalone .svg file.

    27k1146 tok idle · 3,352 in use
  8. baoyu-electron-extractJimLiu/baoyu-skills

    Extracts resources and JavaScript from any installed Electron app (`.asar` bundle), restoring original sources from `.js.map` files when available or formatting minified code with Prettier otherwise. Use when user wants to "extract Electron app", "decompile Electron", "get the source code of <app>", "inspect app.asar", "看 Electron 应用源码", "提取 .asar", or asks how a desktop Electron app is built. Skips `node_modules` and supports both macOS and Windows.

    27k2113 tok idle · 2,155 in use