Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
Back to list

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

Turns Markdown, HTML, or raw text into a fully formatted WeChat Official Account draft with themes, cover image, and comment settings.

AutomationIntermediate26,1022,884AI score 8/10Last updated: Sep 10, 2026

What it does

  • Accepts a .md file, an .html file, or plain pasted text and creates a draft in your WeChat Official Account (微信公众号).
  • Three publishing paths: API (AppID/AppSecret, fastest), browser (Chrome with a logged-in session), and remote-api (outbound calls tunneled through SSH SOCKS5 to a server whose IP is on WeChat's allowlist).
  • Fills in missing title, summary, author, and cover image automatically (summary = first paragraph truncated to 120 chars; cover falls back to imgs/cover.png).
  • Applies themes (default/grace/simple/modern) and color presets, and by default rewrites ordinary external links into bottom citations, which WeChat prefers.
  • An EXTEND.md preferences file stores default author, comment toggles, fans-only comments, Chrome profile paths, and multi-account definitions.
  • A check-permissions.ts pre-flight script verifies Chrome, Bun, macOS Accessibility, clipboard/paste, and API credentials before you publish.

Who it's for

  • Creators and marketers who publish regularly to a WeChat Official Account.
  • Writers who draft in Markdown and are tired of manual copy-paste and broken formatting.
  • Teams with multiple accounts, or whose only allowlisted IP belongs to a cloud server rather than a laptop.

Example uses

  1. "Publish weekly-note.md to my WeChat account" → reads frontmatter, applies the default theme, saves the draft via API and reports the media_id.
  2. Post a short image roundup with up to 9 pictures: wechat-browser.ts --markdown article.md --images ./images/.
  3. Local IP not allowlisted: wechat-api.ts post.md --theme grace --remote --remote-host server.example.com routes only the WeChat HTTPS calls through an SSH tunnel.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/JimLiu/baoyu-skills/HEAD/skills/baoyu-post-to-wechat/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

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 && mkdir -p ~/.claude/skills && cp -r 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 and install Bun: brew install oven-sh/bun/bun (or npm install -g bun); npx -y bun also works as a fallback runner.
  2. Clone the repository: git clone https://github.com/JimLiu/baoyu-skills.git
  3. Copy the skill into your Claude skills folder: mkdir -p ~/.claude/skills && cp -r baoyu-skills/skills/baoyu-post-to-wechat ~/.claude/skills/
  4. Run the environment check: bun ~/.claude/skills/baoyu-post-to-wechat/scripts/check-permissions.ts (on macOS, grant your terminal Accessibility permission in System Settings → Privacy & Security).
  5. Pick a publishing method. For API, grab AppID/AppSecret from the Official Account admin console, add your IP to 公众号设置 → IP 白名单, and save the credentials to .baoyu-skills/.env using the skill's guided setup. For browser mode, just scan the QR code on first run.
  6. Create ~/.baoyu-skills/baoyu-post-to-wechat/EXTEND.md with defaults such as default_author, default_theme, and need_open_comment so the skill stops asking every time.
  7. In Claude Code, say something like "post this markdown to my WeChat Official Account" and the skill triggers automatically.