x402spark-jpg

WeChat MP Multi-Publisher

內容創作v1.0.0
作者:x402spark-jpg更新於 2026-05-11wechat-multi-publisher@clawhub_x402spark-jpg/wechat-multi-publisher
自媒體營運#WeChat

據 AlphaMoat 統計,截至 2026-09,WeChat MP Multi-Publisher 累計下載 2,112 次、獲 3 個星標,在全部 5,078 個 AI 技能中排名第 4,353 位,在「內容創作」分類(362 個)中排名第 293 位。

累計安裝
144
累計下載
2112
星標
3
全站排名
#4,353
全站前 86% · 「內容創作」前 81%
平台累計安裝累計下載星標評論
ClawHub ↗5016793-
SkillHub ↗14421123—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

該工具可把主文與附加文章合併為草稿,並提供僅渲染預覽的 dry-run 模式和可選的立即釋出模式。Markdown 引用的本地圖片可能會上傳到微信 CDN;處理前應確認內容與圖片可信,並先預覽草稿。只有明確要公開發布時才啟用釋出選項,釋出前需檢查渲染結果。 需要 Node、@wenyan-md/core 和微信憑據,上傳前審查圖片路徑。

資料釋出於 2026-10-29

可以用來做什麼

  • 把已稽核的 Markdown 文章推送到微信公眾號草稿箱
  • 把相關主文和附加文章組合為同一草稿
  • 預覽文章樣式、封面和內嵌圖片後再決定是否釋出

什麼時候用

  • 微信公眾號憑據已安全配置且目標賬號明確時
  • 文章和本地圖片來源可信並可上傳時
  • 需要先檢查草稿,且只有在明確要求時才觸發公開發布時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

為這篇已稽核的 Markdown 文章準備微信公眾號草稿預覽,檢查封面與圖片引用;不要呼叫釋出命令或公開發布。

月度資料趨勢

累計下載2112
831151922072026-03 · 累計下載 9262026-05 · 累計下載 12682026-06 · 累計下載 13962026-07 · 累計下載 16202026-08 · 累計下載 17952026-09 · 累計下載 211226-0326-09
星標3
2342026-03 · 星標 32026-05 · 星標 32026-06 · 星標 32026-07 · 星標 32026-08 · 星標 32026-09 · 星標 326-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-092112—3
2026-081795+10.8%3
2026-071620+16.0%3
2026-061396+10.1%3
2026-051268—3
2026-03926—3

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

2.2 KB · ClawHub v1.0.0
---
name: wechat-mp-publisher
description: "Publish one or multiple Markdown articles to WeChat Official Account (公众号) draft box in a single API call. Supports multi-article combined drafts (main article + sub-articles), smart cover image selection with Unsplash auto-match + 12-image fallback rotation, custom styling (gold quote highlights, && section dividers, accent headings), inline image auto-upload to WeChat CDN, digest auto-extraction, and optional immediate publish. Activate when user wants to push Markdown files to WeChat MP, publish to 公众号草稿箱, schedule WeChat articles, or automate public account content delivery."
---

# wechat-mp-publisher

Publish Markdown articles to WeChat Official Account draft box.

## Key features
展開全部(共 65 行)

- **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.

「內容創作」分類下的熱門技能

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。