Canghe Post To X
freestylefly/canghe-skills
Posts content and articles to X (Twitter). An agent skill from freestylefly/canghe-skills.
Publish text, image and video posts or long-form Markdown headline articles to Weibo through a real Chrome session, with the final review left to you.
The automated check flagged lines worth reading first. See the safety section below.
$ npx skills add JimLiu/baoyu-skills --skill baoyu-post-to-weibo -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install JimLiu/baoyu-skills baoyu-post-to-weibo --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/JimLiu/baoyu-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/baoyu-post-to-weibo .claude/skills/baoyu-post-to-weibo && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "baoyu-post-to-weibo" agent skill from https://github.com/JimLiu/baoyu-skills/tree/main/skills/baoyu-post-to-weibo into .claude/skills/baoyu-post-to-weibo/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "baoyu-post-to-weibo", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/JimLiu/baoyu-skills/tree/main/skills/baoyu-post-to-weiboType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add JimLiu/baoyu-skills --skill baoyu-post-to-weibo -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install JimLiu/baoyu-skills baoyu-post-to-weibo --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/JimLiu/baoyu-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/baoyu-post-to-weibo .agents/skills/baoyu-post-to-weibo && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "baoyu-post-to-weibo" agent skill from https://github.com/JimLiu/baoyu-skills/tree/main/skills/baoyu-post-to-weibo into .agents/skills/baoyu-post-to-weibo/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "baoyu-post-to-weibo", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add JimLiu/baoyu-skills --skill baoyu-post-to-weibo -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install JimLiu/baoyu-skills baoyu-post-to-weibo --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/JimLiu/baoyu-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/baoyu-post-to-weibo .cursor/skills/baoyu-post-to-weibo && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "baoyu-post-to-weibo" agent skill from https://github.com/JimLiu/baoyu-skills/tree/main/skills/baoyu-post-to-weibo into .cursor/skills/baoyu-post-to-weibo/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "baoyu-post-to-weibo", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/JimLiu/baoyu-skills.git --path skills/baoyu-post-to-weibo--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add JimLiu/baoyu-skills --skill baoyu-post-to-weibo -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install JimLiu/baoyu-skills baoyu-post-to-weibo --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/JimLiu/baoyu-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/baoyu-post-to-weibo .gemini/skills/baoyu-post-to-weibo && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "baoyu-post-to-weibo" agent skill from https://github.com/JimLiu/baoyu-skills/tree/main/skills/baoyu-post-to-weibo into .gemini/skills/baoyu-post-to-weibo/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "baoyu-post-to-weibo", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install JimLiu/baoyu-skills baoyu-post-to-weiboInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add JimLiu/baoyu-skills --skill baoyu-post-to-weibo -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/JimLiu/baoyu-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/baoyu-post-to-weibo .github/skills/baoyu-post-to-weibo && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "baoyu-post-to-weibo" agent skill from https://github.com/JimLiu/baoyu-skills/tree/main/skills/baoyu-post-to-weibo into .github/skills/baoyu-post-to-weibo/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "baoyu-post-to-weibo", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add JimLiu/baoyu-skills --skill baoyu-post-to-weibo -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install JimLiu/baoyu-skills baoyu-post-to-weibo --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/JimLiu/baoyu-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/baoyu-post-to-weibo .opencode/skills/baoyu-post-to-weibo && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "baoyu-post-to-weibo" agent skill from https://github.com/JimLiu/baoyu-skills/tree/main/skills/baoyu-post-to-weibo into .opencode/skills/baoyu-post-to-weibo/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "baoyu-post-to-weibo", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
baoyu-post-to-weiboPublish text, image and video posts or long-form Markdown headline articles to Weibo through a real Chrome session, with the final review left to you.
This skill drives Chrome over the DevTools protocol to put content onto Weibo. For regular posts, weibo-post.ts takes the text plus repeatable --image and --video options, with up to 18 files per post, and opens the browser with the post filled in so you review and publish it yourself. For headline articles, weibo-article.ts takes a Markdown file and an optional --cover image and uses Weibo's article editor.
Helper scripts handle Markdown-to-HTML conversion and clipboard copy and paste keystrokes. The scripts run under the bun runtime, or through npx when bun is not installed, and you log in to Weibo manually on the first run so the session is saved. An optional EXTEND.md file, looked up in the project, the XDG config folder and your home directory in that order, can set a default Chrome profile.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 1567581. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 8 files in scripts/ (TypeScript), which the agent can run.
Shell commands in SKILL.md call:
npxFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
card.weibo.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Post to Weibo loads about 1.4k tokens when it runs. Until then it costs about 70 tokens; SKILL.md has 534 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found patterns that need a careful read before installing.
Chrome instances and retry the command without asking the user.Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from JimLiu/baoyu-skills at commit 1567581, republished under its MIT licence (© JimLiu). 534 words, ~1,359 tokens.
.claude/skills/baoyu-post-to-weibo/SKILL.md (or your agent's skills folder). This skill also uses 8 other files; get the full folder from GitHub.Posts text, images, videos, and long-form articles to Weibo via real Chrome browser (bypasses anti-bot detection).
Important: All scripts are located in the scripts/ subdirectory of this skill.
Agent Execution Instructions:
{baseDir}{baseDir}/scripts/<script-name>.ts{baseDir} in this document with the actual path${BUN_X} runtime: if bun installed → bun; if npx available → npx -y bun; else suggest installing bunScript Reference:
| Script | Purpose |
|---|---|
scripts/weibo-post.ts | Regular posts (text + images) |
scripts/weibo-article.ts | Headline article publishing (Markdown) |
scripts/copy-to-clipboard.ts | Copy content to clipboard |
scripts/paste-from-clipboard.ts | Send real paste keystroke |
Check EXTEND.md in priority order — the first one found wins:
| Priority | Path | Scope |
|---|---|---|
| 1 | .baoyu-skills/baoyu-post-to-weibo/EXTEND.md | Project |
| 2 | ${XDG_CONFIG_HOME:-$HOME/.config}/baoyu-skills/baoyu-post-to-weibo/EXTEND.md | XDG |
| 3 | $HOME/.baoyu-skills/baoyu-post-to-weibo/EXTEND.md | User home |
If none found, use defaults.
EXTEND.md supports: Default Chrome profile
bun runtimeText + images/videos (max 18 files total). Posted on Weibo homepage.
${BUN_X} {baseDir}/scripts/weibo-post.ts "Hello Weibo!" --image ./photo.png
${BUN_X} {baseDir}/scripts/weibo-post.ts "Watch this" --video ./clip.mp4Parameters:
| Parameter | Description |
|---|---|
<text> | Post content (positional) |
--image <path> | Image file (repeatable) |
--video <path> | Video file (repeatable) |
--profile <dir> | Custom Chrome profile |
Note: Script opens browser with content filled in. User reviews and publishes manually.
Long-form Markdown articles published at https://card.weibo.com/article/v3/editor.
${BUN_X} {baseDir}/scripts/weibo-article.ts article.md
${BUN_X} {baseDir}/scripts/weibo-article.ts article.md --cover ./cover.jpgParameters:
| Parameter | Description |
|---|---|
<markdown> | Markdown file (positional) |
--cover <path> | Cover image |
--title <text> | Override title (max 32 chars, truncated if longer) |
--summary <text> | Override summary (max 44 chars, auto-regenerated if longer) |
--profile <dir> | Custom Chrome profile |
Frontmatter: title, summary, cover_image supported in YAML front matter.
Character Limits:
Markdown-to-HTML: Do NOT pass any --theme parameter when converting markdown to HTML. Use the default theme (no theme argument).
Article Workflow:
https://card.weibo.com/article/v3/editorPost-Composition Check: The script automatically verifies after all images are inserted:
WBIMGPH_ placeholders in editor contentIf the check fails (warnings in output), alert the user with the specific issues before they publish.
Unless the user explicitly specifies the post type:
.md) → Headline Article (头条文章)If a script fails with Chrome debug port not ready or Unable to connect, kill only the CDP Chrome instances (those with --remote-debugging-port AND the baoyu-skills profile), then retry:
pkill -f "remote-debugging-port.*baoyu-skills/chrome-profile" 2>/dev/null; sleep 2CRITICAL: Never kill all Chrome processes (pkill -f "Google Chrome"). Only kill Chrome instances launched by CDP with the baoyu-skills profile directory. The user may have regular Chrome windows open.
Important: This should be done automatically -- when encountering this error, kill the CDP Chrome instances and retry the command without asking the user.
Custom configurations via EXTEND.md. See Preferences section for paths and supported options.
© JimLiu, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 8 other files (scripts) in skills/baoyu-post-to-weibo of JimLiu/baoyu-skills.
Open the folder on GitHubat commit 1567581
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in JimLiu/baoyu-skills, which our catalogue first saw on October 7, 2026.
Post to Weibo next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Post to Weibo this skillJimLiu/baoyu-skills | 27k | 1 repos | ~1.4k | Automated safety check: Warn | MIT | |
| Canghe Post To Xfreestylefly/canghe-skills | 461 | 4 repos | ~1.7k | Automated safety check: Warn | None | |
| Ops SocialsLifecycle-Innovations-Limited/claude-ops | 542 | — | ~3.6k | Automated safety check: Notes | MIT | |
| Bulkpublish Social Schedulingdavepoon/buildwithclaude | 3.6k | — | ~1.3k | Automated safety check: Pass | MIT | |
| Reddit Comment Automationrokpiy/auto-commenter | 585 | — | ~2.1k | Automated safety check: Pass | MIT | |
| Social Publisheraffaan-m/ECC | 277k | 1 repos | ~1.1k | Automated safety check: Pass | MIT |
freestylefly/canghe-skills
Posts content and articles to X (Twitter). An agent skill from freestylefly/canghe-skills.
Lifecycle-Innovations-Limited/claude-ops
OPS on-demand: This skill should be used when the user asks to "tweet", "post to linkedin", or…
davepoon/buildwithclaude
Schedule, publish and analyze social posts across 15 networks via BulkPublish (MCP or REST) — Facebook, Instagram, X, TikTok, YouTube, Threads, Bluesky, Pinterest, Google Business, LinkedIn…
rokpiy/auto-commenter
Drafts, reviews, posts, and tracks Reddit comments for chosen subreddits end to end, using Playwright MCP to read and interact with the live page.
affaan-m/ECC
Agent-driven scheduling and publishing of social media posts across 13 platforms via SocialClaw.
vvedantb/eva
Record a real agent-browser screencast of one eva feature being used end to end, convert it to an X-ready mp4, and write a tweet for it.
JimLiu/baoyu-skills
Reformats plain text or Markdown articles with frontmatter, a title, a summary, headings, bold, lists and code blocks, and saves a separate formatted copy.
JimLiu/baoyu-skills
Saves tweets, threads and X Articles as Markdown files with YAML front matter, using an unofficial API that asks for your consent first.
JimLiu/baoyu-skills
Creates standalone dark-themed SVG diagrams, including architecture, flowchart, sequence, structural, mind map, timeline and state machine types.
JimLiu/baoyu-skills
Publishes articles and image-text posts to a WeChat Official Account through the API or Chrome CDP, converting markdown to WeChat-ready HTML with link citations.
JimLiu/baoyu-skills
Compresses images to WebP by default, or to PNG or JPEG, picking the best available tool on the machine and optionally processing whole folders.
JimLiu/baoyu-skills
Generates text and images through an unofficial, reverse-engineered Gemini Web API, supporting reference images and multi-turn conversations.
Categories
Publish text, image and video posts or long-form Markdown headline articles to Weibo through a real Chrome session, with the final review left to you. This skill drives Chrome over the DevTools protocol to put content onto Weibo.ts takes the text plus repeatable --image and --video options, with up to 18 files per post, and opens the browser with the post filled in so you review and publish it yourself.
Post to Weibo fits situations like: posting a text and image update to Weibo from the terminal; publishing a Markdown file as a Weibo headline article; attaching a video to a Weibo post; adding a cover image to a long-form Weibo article.
Run `npx skills add JimLiu/baoyu-skills --skill baoyu-post-to-weibo -a claude-code`. Or copy the skill folder (skills/baoyu-post-to-weibo in JimLiu/baoyu-skills) into .claude/skills/baoyu-post-to-weibo in your project. Claude Code loads it when a task matches its description.
Run `npx skills add JimLiu/baoyu-skills --skill baoyu-post-to-weibo -a codex`. Or copy the skill folder (skills/baoyu-post-to-weibo in JimLiu/baoyu-skills) into .agents/skills/baoyu-post-to-weibo in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add JimLiu/baoyu-skills --skill baoyu-post-to-weibo -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/baoyu-post-to-weibo, .gemini/skills/baoyu-post-to-weibo, .github/skills/baoyu-post-to-weibo and .opencode/skills/baoyu-post-to-weibo in your project.
Going by SKILL.md and its folder, Post to Weibo needs TypeScript for the scripts in its folder and the command-line tools its instructions call (npx). Our summary lists: Google Chrome or Chromium; The bun runtime, or npx to fetch it; A Weibo account, logged in manually on first run.
SKILL.md names 1 domain. In commands or code: card.weibo.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md flagged 1 warning(s): tells the agent its actions are pre-authorized / not to stop for confirmation. Read the flagged lines before installing; the check is not a guarantee either way. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Post to Weibo is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.4k tokens (SKILL.md is roughly 5.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Post to Weibo: Canghe Post To X (freestylefly/canghe-skills, 461 stars), Ops Socials (Lifecycle-Innovations-Limited/claude-ops, 542 stars), Bulkpublish Social Scheduling (davepoon/buildwithclaude, 3.6k stars) and Reddit Comment Automation (rokpiy/auto-commenter, 585 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
JimLiu (a GitHub user) maintains it in JimLiu/baoyu-skills, which has 26,507 GitHub stars. The repository holds 22 skills in this directory. The repository was last updated on September 10, 2026.
Source: JimLiu/baoyu-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.