/agi-super-team:wechat-pipelinefrom agi-super-team
Automates WeChat public account article pipeline: writing, cover image generation, and publishing. Uses three sub-skills with user checkpoints between stages for review and confirmation.
Ships in agi-super-team. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
三段式自动流水线:写作 → 封面 → 发布,每段设断点检查,用户拍板才继续。
用户说"写一篇公众号文章"
│
▼
┌──────────────────────────────────────┐
│ STAGE 1 — 内容创作 │
│ wechat-article-writer │
│ 搜索→撰写→标题→排版 │
│ │
│ 🔴 CHECKPOINT 1: 内容审查 │
│ → 展示文章 + 5个标题,等用户确认 │
└──────────────┬───────────────────────┘
│ 用户回复"继续"
▼
┌──────────────────────────────────────┐
│ STAGE 2 — 封面生成 │
│ code-to-image │
│ 设计HTML→渲染PNG │
│ │
│ 🔴 CHECKPOINT 2: 封面审查 │
│ → 展示封面图,等用户确认或要求重做 │
└──────────────┬───────────────────────┘
│ 用户回复"继续"
▼
┌──────────────────────────────────────┐
│ STAGE 3 — 发布推送 │
│ md2wechat │
│ 门禁审查→create_draft→草稿入库 │
│ │
│ 🔴 CHECKPOINT 3: 发布门禁 │
│ → 标题/作者/封面/摘要全展示 │
│ → 等用户回复"发" │
└──────────────────────────────────────┘
以下任一关键词触发此流水线:
公众号创作、写公众号文章、公众号发布公众号流水线、发公众号、公众号全流程写一篇公众号、帮我发公众号image_generate(AI 生图)替代 code-to-image(代码渲染),因为中文文字准确率、主题直连度、风格可复现性差距悬殊test-draft(测试命令不传标题/作者,会导致「AI生成测试文章」)wechat-article-writer4 步流程:搜索资料 → 撰写文章 → 生成标题 → 排版建议
使用 WebSearch 并行搜索:
output/ 目录生成 5 个爆款标题:
[图: 描述] 供后续生成必须展示给用户并等待确认:
📝 内容审查
📖 文章标题候选(选一个):
1. xxx
2. xxx
3. xxx
4. xxx
5. xxx
📊 文章概况:
- 字数:约 X,XXX 字
- 结构:[段落数] 段,[代码块数] 个代码块
📄 内容预览:
[展示文章前 3 段或关键段落]
---
请选择标题编号,或告诉我修改意见。
回复"继续"进入封面生成阶段。
用户未确认前,绝对不进入 Stage 2。
code-to-image从 15 套模板库中推荐 2-3 个跟文章主题匹配的风格:
-w 900 -H 383 --scale 2python3 ~/.openclaw/skills/code-to-image/render.py cover.html -w 900 -H 383 --scale 2 -o cover.png
必须发送封面图给用户,等待确认:
🖼️ 封面审查
[发送封面图片]
🎨 封面信息:
- 风格:[模板名]
- 尺寸:1800×766 (2x)
- 色调:[主色/强调色]
---
封面满意吗?
- 回复"继续"接受此封面
- 回复"重做 + 要求"重新生成(如"重做 更暗的色调")
用户未确认前,绝对不进入 Stage 3。
md2wechatmd2wechat config validate # 检查 WECHAT_APPID/SECRET
md2wechat inspect article.md # 检查标题/摘要/图片
根据用户选择的排版主题(如 Coffee Notes / Deep Ocean / Swiss Minimal),将 Markdown 转换为带内联 CSS 的 WeChat 兼容 HTML。
如果 md2wechat.cn API key 不可用:
md2wechat upload_image cover.png
# 获取 thumb_media_id
--digest 覆盖这是最后一道关卡。必须展示所有字段,等用户说"发"。
📋 发布审查
🏷️ 标题(XX/32字):
[完整标题文本]
✍️ 作者(XX/16字):
[作者名]
📝 摘要(XX/128字,折叠线≈60字):
[完整摘要文本]
🖼️ 封面:
[发送封面图]
🎨 排版风格:[主题名]
---
以上信息确认无误?回复"发"推送到草稿箱,或告知修改内容。
用户回复"发"/"推"/"OK"后:
md2wechat create_draft draft.json
draft.json 必须包含完整字段:
{
"articles": [{
"title": "完整标题",
"author": "完整作者",
"digest": "完整摘要",
"thumb_media_id": "封面media_id",
"content": "HTML正文",
"show_cover_pic": 1,
"need_open_comment": 0,
"only_fans_can_comment": 0
}]
}
⚠️ 禁止使用 test-draft — 它不传 title/author/digest,会导致标题显示「AI生成测试文章」。
✅ 发布完成
📋 草稿信息:
media_id: dpn_xxx
位置:微信公众号后台 → 内容管理 → 草稿箱
🧹 如有旧版草稿,请手动删除。
去后台扫码预览,满意后一键群发。
| 错误 | 根因 | 对策 |
|---|---|---|
| 标题显示「AI生成测试文章」 | 用了 test-draft 而非 create_draft | 改用 create_draft + 完整 JSON |
| 封面跟文章无关 | 用了 image_generate 通用生图 | 改用 code-to-image 代码渲染 |
| md2wechat.cn API key 失效 | wme_* key 过期 | 用 Python 内联 CSS 渲染 + create_draft 推送 |
| 火山引擎生图 key 过期 | ARK API key 过期 | 改用 code-to-image(永远免费) |
| create_draft 报「no articles」 | JSON 缺少 articles 数组包裹 | 用 {"articles":[{...}]} 格式 |
| 版本 | 日期 | 变更 |
|---|---|---|
| v1.0 | 2026-06-01 | 初始版本。基于真实发布过程沉淀:写作(wechat-article-writer) → 封面(code-to-image) → 发布(md2wechat+Publish Gate)。记录 5 个踩坑经验。 |
Copyright © Daniel Li. All rights reserved.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub aaaaqwq/agi-super-team --plugin agi-super-team869 skills in this plugin
/5minbtcBTC 5分钟K线实时方向预测 + 币安预测市场错价套利(paper)。v6.0 真OFI驱动: 方向由当前K线原生 in-candle OFI 净流一票决定(ofi_n=2*(tb/v)-1, REST klines[9] 聚合, 零WS依赖; WS ofi.json 做新鲜度反转保护与交叉校准), 概率=P(close>open|ofi) 经验校准表+Bayesian shrink, edge=EV=p−ask 错价检测, 方向二选一无中性。13因子自v5.9起收敛到3个有证据信号且不再决定bias。黑天鹅防护: ATR spike+FNG<25。launchd 常驻 realtime/watch/trader。⚠️ Binance 端点**人工**双向切换(引擎为单端点硬依赖,无自动故障切换;2026-09-11 曾因 data-api SSL 失败静默断档 6h)。/sales-enablementWhen the user wants to create sales collateral, pitch decks, one-pagers, objection handling docs, or demo scripts. Also use when the user mentions 'sales deck,' 'pitch deck,' 'one-pager,' 'leave-behind,' 'objection handling,' 'deal-specific ROI analysis,' 'demo script,' 'talk track,' 'sales playbook,' 'proposal template,' 'buyer persona card,' 'help my sales team,' 'sales materials,' or 'what should I give my sales reps.' Use this for any document or asset that helps a sales team close deals. For competitor comparison pages and battle cards, see competitor-alternatives. For marketing website copy, see copywriting. For cold outreach emails, see cold-email./accessibility-compliance-accessibility-auditYou are an accessibility expert specializing in WCAG compliance, inclusive design, and assistive technology compatibility. Conduct audits, identify barriers, and provide remediation guidance.Other plugins' skills for the same job