Agent skill · creative production · jimliu
baoyu-post-to-weibo
Posts content to Weibo (微博). Supports regular posts with text, images, and videos, and headline articles (头条文章) with Markdown input via Chrome CDP. Use when user asks to "post to Weibo", "发微博", "发布微博", "publish to Weibo", "share on Weibo", "写微博", or "微博头条文章".
Why this skill is useful
Adds executable scripts for posting to Weibo, including Markdown support and bypassing anti-bot detection.
What it needs
Requires bun installed locally. Requires weibo account access. About 3k tokens when loaded. Last updated 2026-07-04. 24,677 stars on the source repository.
What this skill does
Post to Weibo Posts text, images, videos, and long-form articles to Weibo via real Chrome browser (bypasses anti-bot detection). Script Directory Important: All scripts are located in the scripts/ subdirectory of this skill. Agent Execution Instructions: 1. Determine this SKILL.md file's directory path as {baseDir} 2. Script path = {baseDir}/scripts/<script-name>.ts 3. Replace all {baseDir} in this document with the actual path 4. Resolve ${BUNX} runtime: if bun installed → bun; if npx available → npx -y bun; else suggest installing bun Script 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 Preferences (EXTEND.md) 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 ${XDGCONFIGHOME:-$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 Prerequisites Google Chrome or Chromium bun runtime First run: log in to Weibo manually (session saved) --- Regular Posts Text + images/videos (max 18 files total). Posted on Weibo homepage. Parameters: 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. --- Headline Articles (头条文章) Long-form Markdown articles published at https://card.weibo.com/article/v3/editor. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills jimliu/baoyu-post-to-weibo