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.
AutomationIntermediate★ 26,102⑂ 2,884AI score 8/10Last updated: Sep 10, 2026
What it does
- Accepts a
.mdfile, an.htmlfile, 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.mdpreferences file stores default author, comment toggles, fans-only comments, Chrome profile paths, and multi-account definitions. - A
check-permissions.tspre-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
- "Publish
weekly-note.mdto my WeChat account" → reads frontmatter, applies thedefaulttheme, saves the draft via API and reports themedia_id. - Post a short image roundup with up to 9 pictures:
wechat-browser.ts --markdown article.md --images ./images/. - Local IP not allowlisted:
wechat-api.ts post.md --theme grace --remote --remote-host server.example.comroutes 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)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the 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.
- Open a terminal and install Bun:
brew install oven-sh/bun/bun(ornpm install -g bun);npx -y bunalso works as a fallback runner. - Clone the repository:
git clone https://github.com/JimLiu/baoyu-skills.git - Copy the skill into your Claude skills folder:
mkdir -p ~/.claude/skills && cp -r baoyu-skills/skills/baoyu-post-to-wechat ~/.claude/skills/ - 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). - 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/.envusing the skill's guided setup. For browser mode, just scan the QR code on first run. - Create
~/.baoyu-skills/baoyu-post-to-wechat/EXTEND.mdwith defaults such asdefault_author,default_theme, andneed_open_commentso the skill stops asking every time. - In Claude Code, say something like "post this markdown to my WeChat Official Account" and the skill triggers automatically.
View source on GitHub ↗License: MIT