Skip to content

Post to Weibo

Draft Weibo posts and headline articles from Markdown in a real Chrome window, leaving publishing to you

Stars
27,191
Licence
MIT
Files
8 files

What it does

This skill lets an AI agent prepare content for Weibo, the Chinese social network. It can fill a regular post with text, images and videos, or build a long-form headline article from a Markdown file, by driving a real Chrome browser that you are logged into. The agent opens the browser with the content already entered, and you review and press publish yourself. It is a helper for composing and uploading, not an autonomous poster.

Great for

  • Creators or marketers who publish regularly to Weibo and want faster drafting from Markdown
  • Chinese-speaking or bilingual writers who want their long articles laid out in Weibo's article editor
  • Developers comfortable running Bun scripts and managing a Chrome profile

Skip it if

  • Anyone who wants fully unattended posting: the scripts only fill content, and the user must publish manually
  • Users uneasy with scripts running on their machine and a browser session that holds their Weibo login, since the scripts drive that browser and read the clipboard
  • Situations needing official API posting: this works by browser automation of the Weibo website, which can break when the site changes

Try asking

  • “Post 'Hello from my new product launch' with two images to Weibo”
  • “Turn my article.md into a Weibo headline article with cover.jpg as the cover”
  • “Prepare a Weibo video post with clip.mp4 and leave it ready for me to review”
  • “发微博:今天的读书分享,附上两张图片”
Step-by-step guide: how to use Post to WeiboInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 8 original files, the MIT licence and an attribution note.

    baoyu-post-to-weibo.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip baoyu-post-to-weibo.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip baoyu-post-to-weibo.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Keep your content ready: titles over 32 characters and summaries over 44 characters get shortened, so write them within those limits and check the output warnings.
  • Always review the opened browser window before publishing, and check the warning about leftover image placeholders in articles.
  • Use a dedicated Chrome profile via --profile so the skill's browser session stays separate from your everyday browsing.

What's inside

  • scripts/copy-to-clipboard.ts
  • scripts/md-to-html.ts
  • scripts/package.json
  • scripts/paste-from-clipboard.ts
  • scripts/weibo-article.ts
  • scripts/weibo-post.ts
  • scripts/weibo-utils.ts
  • SKILL.md

Redistributed unmodified from JimLiu/baoyu-skills under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.

Find exactly what
you're looking for