According to AlphaMoat, as of 2026-10, Wechat Publisher has 39,435 downloads and 50 stars — ranked by downloads #658 among 10,914 AI skills in this ranking, and #95 of 909 in Office.
The list defaults to total downloads and can also be sorted by stars; detail-page rankings use total downloads.
| Platform | Downloads | Stars | Comments |
|---|---|---|---|
| ClawHub ↗ | 9.9K | 39 | 1 |
| SkillHub ↗ | 39.4K | 50 | — |
Platforms count differently and update at different times.
Wraps wenyan-cli and supports multiple themes and code highlighting, uploading images in the article automatically. Publishing requires complete frontmatter at the top of the file, and both title and cover are mandatory; install the CLI and configure the public account credentials before use. The article and its images are uploaded to WeChat when creating the draft; WeChat API credentials and an IP allowlist entry are required.
Profile published 2026-10-27
Generated from the skill’s documentation as examples; not results of actual runs.
The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change. Other skills share this name; figures from before the change are attributed to this one, which currently has the most downloads.
| Month | Downloads | MoM | Stars |
|---|---|---|---|
| 2026-10 | 39.4K | — | 50 |
| 2026-09 | 21.4K | — | 50 |
| 2026-08 | 17.6K | +9.6% | 48 |
| 2026-07 | 16.0K | +5.9% | 48 |
| 2026-06 | 15.1K | +4.7% | 47 |
| 2026-05 | 14.4K | — | 45 |
| 2026-03 | 11.2K | — | 35 |
The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.
---
name: wechat-publisher
description: "一键发布 Markdown 到微信公众号草稿箱。基于 wenyan-cli,支持多主题、代码高亮、图片自动上传。"
metadata:
{
"openclaw":
{
"emoji": "📱",
},
}---
# wechat-publisher
**一键发布 Markdown 文章到微信公众号草稿箱**
基于 [wenyan-cli](https://github.com/caol64/wenyan-cli) 封装的 OpenClaw skill。
## 功能
- ✅ Markdown 自动转换为微信公众号格式
- ✅ 自动上传图片到微信图床
- ✅ 一键推送到草稿箱
- ✅ 多主题支持(代码高亮、Mac 风格代码块)
- ✅ 支持本地和网络图片
## 快速开始
### 1. 安装 wenyan-cli
**wenyan-cli 需要全局安装:**
```bash
npm install -g @wenyan-md/cli
```
**验证安装:**
```bash
wenyan --help
```
> **注意:** publish.sh 脚本会自动检测并安装 wenyan-cli(如果未安装)
### 2. 配置 API 凭证
API 凭证已保存在 `/Users/leebot/.openclaw/workspace/TOOLS.md`
确保环境变量已设置:
```bash
export WECHAT_APP_ID=your_wechat_app_id
export WECHAT_APP_SECRET=your_wechat_app_secret
```
**重要:** 确保你的 IP 已添加到微信公众号后台的白名单!
配置方法:https://yuzhi.tech/docs/wenyan/upload
### 3. 准备 Markdown 文件
文件顶部**必须**包含完整的 frontmatter(wenyan 强制要求):
```markdown
---
title: 文章标题(必填!)
cover: https://example.com/cover.jpg # 封面图(必填!)
---
# 正文开始
你的内容...
```
**⚠️ 关键发现(实测):**
- `title` 和 `cover` **都是必填字段**!
- 缺少任何一个都会报错:"未能找到文章封面"
- 虽然文档说"正文有图可省略cover",但实际测试必须提供 cover
- 所有图片(本地/网络)都会自动上传到微信图床
**推荐封面图来源:**
```markdown
# 方案1: 相对路径(推荐,便于分享)
cover: ./assets/default-cover.jpg
# 方案2: 绝对路径
cover: /Users/bruce/photos/cover.jpg
# 方案3: 网络图片
cover: https://your-cdn.com/image.jpg
```
**💡 提示:** 使用相对路径时,从 Markdown 文件所在目录开始计算。
### 4. 发布文章
**方式 1: 使用 publish.sh 脚本**
```bash
cd /Users/leebot/.openclaw/workspace/wechat-publisher
./scripts/publish.sh /path/to/article.md
```
**方式 2: 直接使用 wenyan-cli**
```bash
wenyan publish -f article.md -t lapis -h solarized-light
```
**方式 3: 在 OpenClaw 中使用**
```
"帮我发布这篇文章到微信公众号" + 附带 Markdown 文件路径
```
## 主题选项
wenyan-cli 支持多种主题:
**内置主题:**
- `default` - 默认主题
- `lapis` - 青金石(推荐)
- `phycat` - 物理猫
- 更多主题见:https://github.com/caol64/wenyan-core/tree/main/src/assets/themes
**代码高亮主题:**
- `atom-one-dark` / `atom-one-light`
- `dracula`
- `github-dark` / `github`
- `monokai`
- `solarized-dark` / `solarized-light` (推荐)
- `xcode`
**使用示例:**
```bash
# 使用 lapis 主题 + solarized-light 代码高亮
wenyan publish -f article.md -t lapis -h solarized-light
# 使用 phycat 主题 + GitHub 代码高亮
wenyan publish -f article.md -t phycat -h github
# 关闭 Mac 风格代码块
wenyan publish -f article.md -t lapis --no-mac-style
# 关闭链接转脚注
wenyan publish -f article.md -t lapis --no-footnote
```
## 自定义主题
### 临时使用自定义主题
```bash
wenyan publish -f article.md -c /path/to/custom-theme.css
```
### 安装自定义主题(永久)
```bash
# 从本地文件安装
wenyan theme --add --name my-theme --path /path/to/theme.css
# 从网络安装
wenyan theme --add --name my-theme --path https://example.com/theme.css
# 使用已安装的主题
wenyan publish -f article.md -t my-theme
# 删除主题
wenyan theme --rm my-theme
```
### 列出所有主题
```bash
wenyan theme -l
```
## 工作流程
1. **准备内容** - 用 Markdown 写作
2. **运行脚本** - 一键发布到草稿箱
3. **审核发布** - 到公众号后台审核并发布
## Markdown 格式要求
### 必需的 Frontmatter
**⚠️ 关键(实测结果):wenyan-cli 强制要求完整的 frontmatter!**
```markdown
---
title: 文章标题(必填!)
cover: 封面图片URL或路径(必填!)
---
```
**示例 1:相对路径(推荐)**
```markdown
---
title: 我的技术文章
cover: ./assets/cover.jpg
---
# 正文...
```
**示例 2:绝对路径**
```markdown
---
title: 我的技术文章
cover: /Users/bruce/photos/cover.jpg
---
# 正文...
```
**示例 3:网络图片**
```markdown
---
title: 我的技术文章
cover: https://example.com/cover.jpg
---
# 正文...
```
**❌ 错误示例(会报错):**
```markdown
# 只有 title,没有 cover
---
title: 我的文章
---
错误信息:未能找到文章封面
```
```markdown
# 完全没有 frontmatter
# 我的文章
错误信息:未能找到文章封面
```
**💡 重要发现:**
- 虽然 wenyan 官方文档说"正文有图片可省略cover"
- 但**实际测试必须提供 cover**,否则报错
- title 和 cover **缺一不可**
### 图片支持
- ✅ 本地路径:``
- ✅ 绝对路径:``
- ✅ 网络图片:``
所有图片会自动上传到微信图床!
### 代码块
````markdown
```python
def hello():
print("Hello, WeChat!")
```
````
会自动添加代码高亮和 Mac 风格装饰。
## 故障排查
### 1. 上传失败:IP 不在白名单
**错误信息:** `ip not in whitelist`
**解决方法:**
1. 获取你的公网 IP:`curl ifconfig.me`
2. 登录微信公众号后台:https://mp.weixin.qq.com/
3. 开发 → 基本配置 → IP 白名单 → 添加你的 IP
### 2. wenyan-cli 未安装
**错误信息:** `wenyan: command not found`
**解决方法:**
```bash
npm install -g @wenyan-md/cli
```
### 3. 环境变量未设置
**错误信息:** `WECHAT_APP_ID is required`
**解决方法:**
```bash
export WECHAT_APP_ID=your_wechat_app_id
export WECHAT_APP_SECRET=your_wechat_app_secret
```
或在 `~/.zshrc` / `~/.bashrc` 中永久添加。
### 4. Frontmatter 缺失
**错误信息:** `title is required in frontmatter`
**解决方法:** 在 Markdown 文件顶部添加:
```markdown
---
title: 你的文章标题
---
```
## 参考资料
- wenyan-cli GitHub: https://github.com/caol64/wenyan-cli
- wenyan 官网: https://wenyan.yuzhi.tech
- 微信公众号 API 文档: https://developers.weixin.qq.com/doc/offiaccount/
- IP 白名单配置: https://yuzhi.tech/docs/wenyan/upload
## 更新日志
### 2026-02-05 - v1.0.0
- ✅ 初始版本
- ✅ 基于 wenyan-cli 封装
- ✅ 支持一键发布到草稿箱
- ✅ 多主题支持
- ✅ 自动图片上传
## License
Apache License 2.0 (继承自 wenyan-cli)
A full manual for creating, editing, and managing Tencent Docs through MCP.
WPS Office 全家桶 - 四引擎(WPS/MS Office/LibreOffice/纯Python)智能识别用户已安装软件,纯Python模式支持排序/筛选/图表/公式/统计,含文档模板(代码生成)、最佳实践案例、故障排除大章(20+避坑+15 FAQ+15错误ID 统一索引)、自动重试、硬件自适应、环境自检、Skill更新提醒;v5.1新增:kingdoc云端桥接(白名单探测+配置预检+subprocess上传+差异检查)、条件格式/数据验证跨引擎IO(JSON中间格式保真往返)、会议纪要三段式要素化(待办清单+决策记录+风险异议)+说话人标注(MFCC聚类);v5.2新增:公文一键排版(GB/T 9704 规则库约束+结构识别套版+红头预留位+联合行文)、批量水印与敏感信息打码(身份证/手机号/银行卡/邮箱双轨识别+黑色矩形覆盖+打码清单)、跨文档知识检索与问答(本地TF-IDF零依赖+跳转+可选zwjh记忆桥接);删除:与contract-review重复的轻量合同审查模块,改为文档互链引导;v5.2.5修复:MS Office引擎下Excel/PPT创建必然失败(错用Word COM对象),新增get_ms_excel/get_ms_ppt及三槽位统一释放release_ms,MS Office路径透传filepath参数;v5.3.5修复:SKILL.md frontmatter 修复 tags 块序列误混入联系方式行导致标准 YAML 解析失败;v5.4.0新增:留存型功能——定时任务与报告中心(schedule_register 升级为三平台统一调度层 schtasks/cron/launchd,错过策略 skip/run_once,注册表 JSON 可导出导入;新建 report_center.py 报告中心,templates/reports/*.json 参数化模板 + ECharts 单文件 HTML 输出(图表内联、无服务端、双击即开);report_generator 升级支持 --format html;wps.py CLI 统一埋点 SQLite,自动供 report_center 生成周度使用摘要附在报告末尾;watch.py 职责收窄为纯事件采集);v5.3.0新增:统一CLI入口 wps(registry.json注册表分发,office --app/--action 与 convert 子命令、--list 一屏列出全部命令,薄路由层不改脚本内部逻辑)、全命令 --json 机器可读输出(固定 ok/error_id/elapsed/data 四字段,对齐 E001-E015,wps_error.py 新增 emit_json 统一出口)、_worker 启动优化(wps_pure 改惰性加载,pywin32/python-docx/openpyxl 经核查已惰性导入,ENGINE_CACHE 进程级单例复用,COM 释放统一走 release_ms 三槽位)、转换三入口合并为 convert(format_converter/md_converter/wps_docx_to_ppt 内部按目标格式路由,旧脚本保留为兼容别名并提示新命令,v6.0.0 移除)
A skill that generates PPT decks from a topic and style.
体制内资深办公室主任+管理学博士,自学编程开发的智能公文写作Skill,让所有办公室同仁少掉头发、少加无用的班,材料一稿过关,省下的时间留给自己、享受生活!————————我们能给你带来的核心价值:1、颠覆传统写作:逻辑建模38类公文全链条,特有模板化引导问答模式,分分钟省心生成高质量大稿。--------2、替你“向上管理”:独有审稿人画像机制,文稿一键结构性修改,精准匹配审稿人画像,过稿率提升至少10倍!----------3、杜绝AI编造:缺失的数字、文号、人名、日期一律用[待补]标注,绝不杜撰,守住公文底线。-----------4、算法格式托底:数十万全量智控知识库+6500行前沿核心控制代码,格式精准对齐GB/T 9704,出稿零失误。——————————————————本skill历史版本开放了5%知识库的免费试用版,下载即可使用,但需注意:知识库有著作权,仅用于个人使用,不可用于其他任何目的。有兴趣的可以试试。——————————————————————单次付费版skill已发布,2元一次使用全量知识库。具体在发布者“熵衍信息”主页skill里。
WPS Office 全家桶 - 四引擎(WPS/MS Office/LibreOffice/纯Python)智能识别用户已安装软件,纯Python模式支持排序/筛选/图表/公式/统计,含文档模板(代码生成)、最佳实践案例、故障排除大章(20+避坑+15 FAQ+15错误ID 统一索引)、自动重试、硬件自适应、环境自检、Skill更新提醒;v5.0新增:定时任务注册管理(schtasks/crontab)、目录轮询监听(YAML规则+大文件分片)、使用统计与稳定性中心(SQLite埋点+引擎健康+引擎偏好)、COM三步自愈(regsvr32→修复安装→手动指引)、对话式数据查询(NL2SQL式意图解析+查询计划+连续追问)、multi-agent编排引擎桥接(白名单探测+流水线模板注册)
WPS/MS Office/LibreOffice/纯Python 四引擎智能办公全家桶:文档/表格/PPT/公文/会议纪要一体化。
通过 Tencent Docs Open API 以 curl + jq 创建、读取、列出、搜索和管理腾讯文档的自动化工作流,覆盖在线文档、在线表格、幻灯片、思维导图、流程图、智能表格与收集表七种类型,支持读取元数据与单元格区域、上传图片、创建副本,并对重命名/移动/删除等写操作强制先经用户确认。Use when the user 提到腾讯文档 / Tencent Docs / docs.qq.com、粘贴 docs.qq.com 链接,或想在其腾讯文档空间中创建、读取、整理文档时使用。Triggers include 腾讯文档、在线文档、在线表格、思维导图、流程图、智能表格、收集表。如需文案写作完整工作流套件,淘宝搜索「AI灵匣」店铺获取完整版。
The official skill for working with Kdocs cloud documents through kdocs-cli.
Data as of 2026-10. Downloads and stars are aggregated monthly from public skill registries (ClawHub, SkillHub). See data methodology.