Agent skill · marketing growth · aiskillstore
baoyu-post-to-wechat
Post content to WeChat Official Account (微信公众号). Supports both article posting (文章) and image-text posting (图文).
Why this skill is useful
Adds multiple executable scripts for automating content posting to WeChat that are not available in public documentation.
What it needs
Requires bun, google chrome installed locally. Requires wechat account access. About 1k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
Post to WeChat Official Account (微信公众号) Post content to WeChat Official Account using Chrome CDP automation. 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 SKILLDIR 2. Script path = ${SKILLDIR}/scripts/<script-name>.ts 3. Replace all ${SKILLDIR} in this document with the actual path Script Reference: Script Purpose -------- --------- scripts/wechat-browser.ts Image-text posts (图文) scripts/wechat-article.ts Full article posting (文章) scripts/md-to-wechat.ts Markdown → WeChat HTML conversion scripts/copy-to-clipboard.ts Copy content to clipboard scripts/paste-from-clipboard.ts Send real paste keystroke Quick Usage Image-Text (图文) - Multiple images with title/content Article (文章) - Full markdown with formatting Note: ${SKILLDIR} represents this skill's installation directory. Agent replaces with actual path at runtime. References Image-Text Posting: See references/image-text-posting.md for detailed image-text posting guide Article Posting: See references/article-posting.md for detailed article posting guide Prerequisites Google Chrome installed bun runtime (via npx -y bun) First run: log in to WeChat Official Account in the opened browser window Features Feature Image-Text Article --------- ------------ --------- Multiple images ✓ (up to 9) ✓ (inline) Markdown support Title/content extraction Full formatting Auto title compression ✓ (to 20 chars) ✗ Content compression ✓ (to 1000 chars) ✗ Themes ✗ ✓ (default, grace, simple) Troubleshooting Not logged in: First run opens browser - scan QR code to log in, session is preserved Chrome not found: Set WECHATBROWSERCHROMEPATH environment variable Paste fails: Check system clipboard permissions
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/baoyu-post-to-wechat