baoyu-post-to-weibo: a skill that drafts Weibo posts and articles in a real Chrome window
baoyu-post-to-weibo makes Claude fill in a Weibo post or headline article in a real Chrome window, so you check it and press publish yourself.
- Installs
- 21.8K
- on skills.sh
- Stars
- 27.2K
- on GitHub
- Files
- 8
- besides SKILL.md
- Updated
- Nov 2026
- last repo commit
Claude opens Weibo in a Chrome window it controls, and a bundled script fills in your content. For a regular post it adds text plus images or videos, up to 18 files. For a Markdown file it opens the headline article editor, fills the title and summary, pastes the converted article and replaces image placeholders one by one.
The skill says its scripts only fill content and you review and publish manually. After composing an article it reports leftover image placeholders and the expected versus actual image count, and Claude tells you about any warning before you publish.
It needs Google Chrome or Chromium and bun. On the first run you log in to Weibo yourself, and the session persists in the Chrome profile the skill uses.
Good for
- Creators who publish to Weibo and want text, images or video filled in for them
- Writers who draft in Markdown and need a Weibo headline article
- Chinese-language teams who post the same content to several platforms
Install baoyu-post-to-weibo
Claude Code
- 1
Copy this prompt.
Install the baoyu-post-to-weibo skill in Claude Code. Run this command: npx skills add https://github.com/jimliu/baoyu-skills --skill baoyu-post-to-weibo Then check that it loaded and tell me how to use it.
- 2
Paste it into Claude Code. It shows the change and asks before running it.
Requires Node.js.
From its listing on skills.sh. Source.
What's in the skill
When it loads
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 "微博头条文章".
Sections in SKILL.md
- Script Directory
- Preferences (EXTEND.md)
- Prerequisites
- Regular Posts
- Headline Articles (头条文章)
- Post Type Selection
- Troubleshooting
- Chrome debug port not ready
- Notes
- Extension Support
Key facts
- Author
- Jim Liu (JimLiu)
- License
- MIT
- Repository
- jimliu/baoyu-skills
- Installs on skills.sh
- 21,761 as of 2026-11-02
- GitHub stars
- 27,159 as of 2026-11-02
- Last repo commit
- 2026-11-01
- Files in the skill folder
- 9 files including SKILL.md (6 TypeScript scripts, package.json and bun.lock)
- skills.sh audits
- Gen Agent Trust Hub warn, Socket warn, Snyk pass
- Version
- 1.117.3
What it includes
Regular post with text, images and videos
Posts on the Weibo homepage in Chrome. Takes --image and --video (repeatable, 18 files max) and --profile for a custom Chrome profile.
Runs code ·
scripts/weibo-post.tsHeadline article (头条文章) from Markdown
Opens the Weibo article editor, fills title and summary, pastes HTML and replaces image placeholders. Options: --cover, --title (32 chars max), --summary (44 chars max) and --profile.
Runs code ·
scripts/weibo-article.tsCopies content to the clipboard
Used so pasted content, including images and HTML, lands in the editor.
Runs code ·
scripts/copy-to-clipboard.tsSends a real paste keystroke
Triggers a paste in the Chrome window.
Runs code ·
scripts/paste-from-clipboard.tsChooses article or regular post
A Markdown file becomes a headline article. Plain text or text with images becomes a regular post, unless you say otherwise.
Post type selectionOptional per-project or per-user settings
Looked up in .baoyu-skills/, the XDG config folder, then your home folder. Without one, defaults apply.
Read ·
EXTEND.md preferencesKills only its own debug Chrome when the port is not ready
SKILL.md tells the agent to kill Chrome instances that use the remote debugging port and the baoyu-skills profile, without asking, then retry. It forbids killing all Chrome processes.
Runs code ·
Troubleshooting
From the official docs
Permissions
Medium risk
Claude drives a Chrome window that holds your Weibo login and uses your clipboard. Review every draft in the window before you publish.
What it can do
- Read your data
- Create and change things
- Delete things
- Read-only mode
Watch out for
Controls a Chrome window with your Weibo login
The skill launches Chrome with a remote debugging port and a dedicated profile, then drives it. Close other tools that use that port, and do not browse other sites in that window.
Posts through a real Chrome to avoid anti-bot checks
SKILL.md describes the skill as posting "via real Chrome browser (bypasses anti-bot detection)". Automated use of a Weibo account may be against Weibo's terms; check them before using your main account. The scripts only fill content and you press publish.
Kills its own Chrome instances without asking
If the debug port is not ready, SKILL.md tells the agent to kill Chrome instances that use the remote debugging port and the baoyu-skills profile, then retry. It forbids killing all Chrome processes.
Uses your clipboard
Scripts copy content to the clipboard and send a paste keystroke, so anything on your clipboard is replaced.
Runs bun through npx if needed
When bun is missing, SKILL.md falls back to `npx -y bun`. The scripts also depend on the baoyu-chrome-cdp and baoyu-md npm packages.
Technical details
| Talks to | weibo.com and card.weibo.com through Chrome |
|---|---|
| Sign-in and keys | You log in to Weibo manually. The session persists in the Chrome profile the skill uses. |
| Scopes |
|
Questions
What does the baoyu-post-to-weibo skill do?
It makes Claude open Weibo in a real Chrome window and fill in a regular post or a headline article for you. You read the result and press publish yourself, as the skill says its scripts only fill content.
How do I install it in Claude Code, the Claude app or Codex?
Use the install box above. The baoyu-skills README documents a Claude Code plugin that installs all 20+ skills in the repo, and a Codex project-level copy of selected skill folders. It advises installing only the skills you need.
Do I need a Weibo API key?
SKILL.md names no credentials. You log in to Weibo yourself in the Chrome window on the first run, and the session persists.
Will it post without asking me?
SKILL.md says the scripts only fill in content and the user reviews and publishes manually. Check each draft in the Chrome window before you publish.
Is it safe to install?
It launches Chrome with a remote debugging port, uses a dedicated profile where your Weibo login is kept, and reads files you pass in. It also writes to the system clipboard and sends paste keystrokes. SKILL.md tells the agent to kill its own debug Chrome without asking if the port fails.
Which Chrome does it use?
It looks for an installed Google Chrome or Chromium. You can point it at a specific one with the WEIBO_BROWSER_CHROME_PATH environment variable. Other variables set the profile folder and the debug port.
Does it work on Windows and Linux?
SKILL.md says it works on macOS, Linux and Windows. Linux clipboard support needs wl-clipboard or xclip, according to an error message in its script.
Information
updated Nov 2, 2026
- Repository
- jimliu/baoyu-skills
- Folder
skills/baoyu-post-to-weibo
Sources
Docs, issue trackers and discussions this page is built from.
Show all 4Hide
- SKILL.md · github.com
- baoyu-skills README · github.com
- weibo-utils.ts · github.com
- package.json · github.com