Post content to WeChat Official Account (微信公众号). Supports both article posting (文章) and image-text posting (图文).
/plugin marketplace add JimLiu/baoyu-skills/plugin install content-skills@baoyu-skillsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
references/article-posting.mdreferences/image-text-posting.mdscripts/cdp.tsscripts/copy-to-clipboard.tsscripts/md-to-wechat.tsscripts/md/LICENSEscripts/md/extensions/alert.tsscripts/md/extensions/footnotes.tsscripts/md/extensions/index.tsscripts/md/extensions/infographic.tsscripts/md/extensions/katex.tsscripts/md/extensions/markup.tsscripts/md/extensions/plantuml.tsscripts/md/extensions/ruby.tsscripts/md/extensions/slider.tsscripts/md/extensions/toc.tsscripts/md/render.tsscripts/md/themes/base.cssscripts/md/themes/default.cssscripts/md/themes/grace.cssPost content to WeChat Official Account using Chrome CDP automation.
Important: All scripts are located in the scripts/ subdirectory of this skill.
Agent Execution Instructions:
SKILL_DIR${SKILL_DIR}/scripts/<script-name>.ts${SKILL_DIR} in this document with the actual pathScript 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 |
# From markdown file and image directory
npx -y bun ${SKILL_DIR}/scripts/wechat-browser.ts --markdown article.md --images ./images/
# With explicit parameters
npx -y bun ${SKILL_DIR}/scripts/wechat-browser.ts --title "标题" --content "内容" --image img1.png --image img2.png --submit
# Post markdown article
npx -y bun ${SKILL_DIR}/scripts/wechat-article.ts --markdown article.md --theme grace
Note:
${SKILL_DIR}represents this skill's installation directory. Agent replaces with actual path at runtime.
references/image-text-posting.md for detailed image-text posting guidereferences/article-posting.md for detailed article posting guidebun runtime (via npx -y bun)| 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) |
WECHAT_BROWSER_CHROME_PATH environment variableThis skill should be used when the user asks about libraries, frameworks, API references, or needs code examples. Activates for setup questions, code generation involving libraries, or mentions of specific frameworks like React, Vue, Next.js, Prisma, Supabase, etc.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.