Claude Skill MartBrowse skillsWhat is a Skill?
Back to list

Post to WeChat Official Account (baoyu-post-to-wechat)

Publishes Markdown, HTML, or plain-text drafts straight into your WeChat Official Account (微信公众号).

AutomationIntermediate24,7492,764AI score 8/10Last updated: Jul 4, 2026

What it does

  • Takes a Markdown file, an HTML file, or raw pasted text and creates a draft in your WeChat Official Account.
  • Three publishing paths: api (fast, needs AppID/AppSecret), browser (Chrome + QR login), and remote-api (tunnels only the WeChat HTTPS calls through an SSH SOCKS5 proxy on a server whose IP is allowlisted).
  • Auto-generates or asks for title, summary, author, and cover image; applies themes (default/grace/simple/modern) and color presets.
  • Converts ordinary external links into bottom citations by default, since WeChat blocks inline outbound links.
  • Also supports the short "image-text" (贴图/图文) post format with up to 9 images.
  • Stores your defaults in EXTEND.md: theme, author, comment settings, and multi-account profiles.

Who it's for

  • Creators and marketers who run a WeChat Official Account and publish long-form posts regularly.
  • Writers who draft in Markdown and are tired of hand-fixing formatting in WeChat's editor.
  • Teams juggling several Official Accounts from one machine.
  • Not useful at all if you don't own a WeChat Official Account.

Examples

  1. "Publish post.md to my 公众号" → it loads EXTEND.md, uses the API method with your theme, and reports the draft's media_id.
  2. No cover image supplied → it looks for frontmatter coverImage, then imgs/cover.png, then the first inline image, and asks you only if all fail.
  3. Your home IP isn't on WeChat's allowlist → add --remote so rendering stays local while API calls exit from your allowlisted server.
  4. Photo-heavy quick post → wechat-browser.ts --markdown article.md --images ./images/ publishes an image-text post with multiple pictures.

· · · Install guide · · ·

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the skills/baoyu-post-to-wechat folder from the GitHub repo JimLiu/baoyu-skills into my ~/.claude/skills/baoyu-post-to-wechat/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/JimLiu/baoyu-skills.git /tmp/baoyu-skills && mkdir -p ~/.claude/skills && cp -r /tmp/baoyu-skills/skills/baoyu-post-to-wechat ~/.claude/skills/

This is a third-party skill. Check the source repository before installing.

  1. Open a terminal.
  2. Install Bun (required runtime): brew install oven-sh/bun/bun on macOS, or npm install -g bun.
  3. Clone the repo: git clone https://github.com/JimLiu/baoyu-skills.git
  4. Copy the skill into Claude's skills folder: mkdir -p ~/.claude/skills && cp -r baoyu-skills/skills/baoyu-post-to-wechat ~/.claude/skills/
  5. Restart Claude Code and type "post to wechat" (or "发布公众号") to confirm the skill triggers.
  6. On first run, follow the guided first-time setup to create your EXTEND.md (default theme, author, comment flags).
  7. For the API method, create an AppID/AppSecret in the Official Account admin console, save them to .baoyu-skills/.env, and add your public IP under 公众号设置 → IP 白名单.
  8. Optional: run bun ~/.claude/skills/baoyu-post-to-wechat/scripts/check-permissions.ts to verify Chrome, clipboard, and (on macOS) Accessibility permissions.