.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/baoyu-skills/baoyu-post-to-weibo
home/skills/jimliu/baoyu-skills/baoyu-post-to-weibo
jimliu avatar

baoyu-post-to-weibo

byjimliu· 68 skills

Installs

20k

Stars

24k

Forks

2.7k

Category

Marketing & SEO

View on GitHub

TL;DR

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 "微博头条文章".

How to install baoyu-post-to-weibo?

jimliu/baoyu-skills/baoyu-post-to-weibo
$npx -y skills add jimliu/baoyu-skills --skill baoyu-post-to-weibo

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Use this skill

Run `npx skills use "https://github.com/jimliu/baoyu-skills" --skill "jimliu/baoyu-skills/baoyu-post-to-weibo"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.

Use the whole pack

Use the skills in "https://github.com/jimliu/baoyu-skills" that are relevant to the current task. Run `npx skills add "https://github.com/jimliu/baoyu-skills"` and select the relevant skills, then follow their instructions.

Files · 1

View on GitHub
SKILL.md
1# Post to Weibo
2 
3Posts text, images, videos, and long-form articles to Weibo via real Chrome browser (bypasses anti-bot detection).
4 
5## Script Directory
6 
7**Important**: All scripts are located in the `scripts/` subdirectory of this skill.
8 
9**Agent Execution Instructions**:
101. Determine this SKILL.md file's directory path as `{baseDir}`
112. Script path = `{baseDir}/scripts/<script-name>.ts`
123. Replace all `{baseDir}` in this document with the actual path
134. Resolve `${BUN_X}` runtime: if `bun` installed → `bun`; if `npx` available → `npx -y bun`; else suggest installing bun
14 
15**Script Reference**:
16| Script | Purpose |
17|--------|---------|
18| `scripts/weibo-post.ts` | Regular posts (text + images) |
19| `scripts/weibo-article.ts` | Headline article publishing (Markdown) |
20| `scripts/copy-to-clipboard.ts` | Copy content to clipboard |
21| `scripts/paste-from-clipboard.ts` | Send real paste keystroke |
22 
23## Preferences (EXTEND.md)
24 
25Check EXTEND.md in priority order — the first one found wins:
26 
27| Priority | Path | Scope |
28|----------|------|-------|
29| 1 | `.baoyu-skills/baoyu-post-to-weibo/EXTEND.md` | Project |
30| 2 | `${XDG_CONFIG_HOME:-$HOME/.config}/baoyu-skills/baoyu-post-to-weibo/EXTEND.md` | XDG |
31| 3 | `$HOME/.baoyu-skills/baoyu-post-to-weibo/EXTEND.md` | User home |
32 
33If none found, use defaults.
34 
35**EXTEND.md supports**: Default Chrome profile
36 
37## Prerequisites
38 
39- Google Chrome or Chromium
40- `bun` runtime
41- First run: log in to Weibo manually (session saved)
42 
43---
44 
45## Regular Posts
46 
47Text + images/videos (max 18 files total). Posted on Weibo homepage.
48 
49```bash
50${BUN_X} {baseDir}/scripts/weibo-post.ts "Hello Weibo!" --image ./photo.png
51${BUN_X} {baseDir}/scripts/weibo-post.ts "Watch this" --video ./clip.mp4
52```
53 
54**Parameters**:
55| Parameter | Description |
56|-----------|-------------|
57| `<text>` | Post content (positional) |
58| `--image <path>` | Image file (repeatable) |
59| `--video <path>` | Video file (repeatable) |
60| `--profile <dir>` | Custom Chrome profile |
61 
62**Note**: Script opens browser with content filled in. User reviews and publishes manually.
63 
64---
65 
66## Headline Articles (头条文章)
67 
68Long-form Markdown articles published at `https://card.weibo.com/article/v3/editor`.
69 
70```bash
71${BUN_X} {baseDir}/scripts/weibo-article.ts article.md
72${BUN_X} {baseDir}/scripts/weibo-article.ts article.md --cover ./cover.jpg
73```
74 
75**Parameters**:
76| Parameter | Description |
77|-----------|-------------|
78| `<markdown>` | Markdown file (positional) |
79| `--cover <path>` | Cover image |
80| `--title <text>` | Override title (max 32 chars, truncated if longer) |
81| `--summary <text>` | Override summary (max 44 chars, auto-regenerated if longer) |
82| `--profile <dir>` | Custom Chrome profile |
83 
84**Frontmatter**: `title`, `summary`, `cover_image` supported in YAML front matter.
85 
86**Character Limits**:
87- Title: 32 characters max (truncated with warning if longer)
88- Summary/导语: 44 characters max (auto-regenerated from content if longer)
89 
90**Markdown-to-HTML**: Do NOT pass any `--theme` parameter when converting markdown to HTML. Use the default theme (no theme argument).
91 
92**Article Workflow**:
931. Opens `https://card.weibo.com/article/v3/editor`
942. Clicks "写文章" button, waits for editor to become editable
953. Fills title (validated for 32-char limit)
964. Fills summary/导语 (validated for 44-char limit)
975. Inserts HTML content into ProseMirror editor via paste
986. Replaces image placeholders one by one (copy image → select placeholder → paste)
99 
100**Post-Composition Check**: The script automatically verifies after all images are inserted:
101- Remaining `WBIMGPH_` placeholders in editor content
102- Expected vs actual image count
103 
104If the check fails (warnings in output), alert the user with the specific issues before they publish.
105 
106---
107 
108## Post Type Selection
109 
110Unless the user explicitly specifies the post type:
111- **Markdown file** (`.md`) → **Headline Article** (头条文章)
112- **Plain text** / text with images → **Regular Post**
113 
114## Troubleshooting
115 
116### Chrome debug port not ready
117 
118If 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:
119 
120```bash
121pkill -f "remote-debugging-port.*baoyu-skills/chrome-profile" 2>/dev/null; sleep 2
122```
123 
124**CRITICAL**: 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.
125 
126**Important**: This should be done automatically -- when encountering this error, kill the CDP Chrome instances and retry the command without asking the user.
127 
128## Notes
129 
130- First run: manual login required (session persists)
131- All scripts only fill content into the browser, user must review and publish manually
132- Cross-platform: macOS, Linux, Windows
133 
134## Extension Support
135 
136Custom configurations via EXTEND.md. See **Preferences** section for paths and supported options.

Security

Review

  • Gen Agent Trust Hubpass
  • Socketpass
  • Snykwarn
  • Runlayerwarn
  • ZeroLeakspass

Preview

jimliu/baoyu-skillsjimliu/baoyu-skills

$ npx -y skills add jimliu/baoyu-skills --skill baoyu-post-to-weibo

▸ installing to .claude/skills…

✓ baoyu-post-to-weibo ready

Repojimliu/baoyu-skills
TypeSkills
CategoryMarketing & SEO
ForMarketerContent Creator
UpdatedJul 2026
License—
First seenJul 26, 2026

Tags

Skill

Related

6 picks
Type
  1. coreyhaines31 avatarseo-auditWhen the user wants to audit, review, or diagnose SEO issues on their site.SkillsJul 2026173k42k
  2. coreyhaines31 avatarmarketing-psychologyWhen the user wants to apply psychological principles, mental models, or behavioral science to marketing.SkillsJul 2026119k42k
  3. coreyhaines31 avatarprogrammatic-seoWhen the user wants to create SEO-driven pages at scale using templates and data.SkillsJul 2026110k42k
  4. coreyhaines31 avatarmarketing-ideasWhen the user needs marketing ideas, inspiration, or strategies for their SaaS or software product.SkillsJul 2026107k42k
  5. coreyhaines31 avatarai-seoWhen the user wants to optimize content for AI search engines, get cited by LLMs, or appear in AI-generated answers.SkillsJul 202699k42k
  6. coreyhaines31 avatarad-creativeWhen the user wants to generate, iterate, or scale ad creative — headlines, descriptions, primary text, or full ad variations — for any paid advertising…SkillsJul 202689k42k