Skip to content

WeChat MP Multi-Publisher

Verified

Publish one or multiple Markdown articles to WeChat Official Account (公众号) draft box in a single API call. Supports multi-article combined drafts (main artic...

294 downloads
$ Add to .claude/skills/

About This Skill

# wechat-mp-publisher

Publish Markdown articles to WeChat Official Account draft box.

Key features

  • Multi-article push — main article + up to 7 sub-articles in one draft (unique vs single-article tools)
  • Smart cover images — keyword-matched Unsplash + 12-image fallback pool, each article gets a different cover
  • Custom styling — gold quote highlights, `&&` section dividers, accent-colored headings
  • Inline images — local PNG/JPG auto-uploaded to WeChat CDN
  • Flexible credentials — env vars or `~/.config/wechat-mp/credentials.json`

Quick start

```bash # Install dependency npm install @wenyan-md/core

# Set credentials export WECHAT_APP_ID=your_appid export WECHAT_APP_SECRET=your_appsecret

# Push to draft box node scripts/publish.mjs main-article.md [sub-article.md ...] ```

See `references/setup.md` for full credential setup, IP whitelist, and cron automation.

Markdown conventions

Section divider (renders as gradient rule): ``` paragraph text

&&

next paragraph ```

Section header (renders as accented H2): ``` && My Section Title ```

  • Gold quotes — automatically highlighted when text starts with:
  • `真正的...` / `不是...而是...` / `底层逻辑是...` / `关键不是...`

CLI reference

``` node scripts/publish.mjs <main.md> [sub1.md] [sub2.md] ... --dry-run Render to /tmp/wechat-preview/ without uploading --publish Also trigger freepublish after draft creation --media-id=xxx Publish an existing draft by media_id ```

Author field

Set `WECHAT_AUTHOR` env var to customize the author name shown in WeChat.

Use Cases

  • Publish multiple markdown articles to WeChat Official Account draft box in one call
  • Batch publish content with multi-image support and cover image selection
  • Automate WeChat content publishing from markdown-based content pipelines
  • Schedule article publications by automating the draft creation process
  • Manage multi-article WeChat publications with consistent formatting

Pros & Cons

Pros

  • +Batch publishing saves significant time for multi-article workflows
  • +Markdown input enables writing in any editor before publishing
  • +Multi-image support with cover selection for professional presentations

Cons

  • -Publishes to draft box only — manual review still needed before going live
  • -WeChat API changes may break the publishing integration

FAQ

What does WeChat MP Multi-Publisher do?
Publish one or multiple Markdown articles to WeChat Official Account (公众号) draft box in a single API call. Supports multi-article combined drafts (main artic...
What platforms support WeChat MP Multi-Publisher?
WeChat MP Multi-Publisher is available on Claude Code, OpenClaw.
What are the use cases for WeChat MP Multi-Publisher?
Publish multiple markdown articles to WeChat Official Account draft box in one call. Batch publish content with multi-image support and cover image selection. Automate WeChat content publishing from markdown-based content pipelines.

100+ free AI tools

Writing, PDF, image, and developer tools — all in your browser.

Next Step

Use the skill detail page to evaluate fit and install steps. For a direct browser workflow, move into a focused tool route instead of staying in broader support surfaces.