/agi-super-team:wechat-toolkitfrom agi-super-team
Searches, downloads, rewrites, and publishes WeChat public account articles. Useful for content creation workflows involving WeChat official accounts.
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; scripts run unread.
集成四大功能模块:搜索 → 下载 → 洗稿 → 发布,覆盖公众号内容创作全流程。
| 模块 | 功能 | 触发词示例 |
|---|---|---|
| 🔍 搜索 | 按关键词搜索公众号文章 | "搜XX的公众号文章" |
| 📰 下载 | 下载文章内容/图片/视频 | "下载这篇公众号文章" |
| ✍️ 洗稿 | AI去痕迹+原创改写 | "帮我洗稿/改写这篇文章" |
| 📱 发布 | 发布Markdown到草稿箱 | "发布到公众号" |
通过搜狗微信搜索获取公众号文章列表,支持抓取正文。
npm install -g cheerio
# 基础搜索
node {baseDir}/scripts/search/search_wechat.js "关键词"
# 指定数量
node {baseDir}/scripts/search/search_wechat.js "关键词" -n 15
# 保存到文件
node {baseDir}/scripts/search/search_wechat.js "关键词" -n 20 -o result.json
# 解析真实链接
node {baseDir}/scripts/search/search_wechat.js "关键词" -n 5 -r
# 抓取文章正文(自动启用 -r)
node {baseDir}/scripts/search/search_wechat.js "关键词" -n 5 -c
query:搜索关键词(必填)-n, --num:返回数量(默认 10,最大 50)-o, --output:输出 JSON 文件路径-r, --resolve-url:解析微信文章真实链接-c, --fetch-content:抓取文章正文内容(自动启用 -r)content:正文内容(使用 -c 时)word_count:字数统计(使用 -c 时)输入公众号文章链接,自动下载内容(Markdown+HTML)、配图和视频。
cd {baseDir}/scripts/downloader && npm install
# 查看当前配置
node {baseDir}/scripts/downloader/download.js --show-config
# 设置默认下载路径(仅需一次)
node {baseDir}/scripts/downloader/download.js --set-output ~/Downloads/wechat-articles
"isDefault": true → 尚未配置,需询问用户"isDefault": false → 已配置,告知用户当前路径# 使用默认路径
node {baseDir}/scripts/downloader/download.js "<文章URL>"
# 临时指定路径
node {baseDir}/scripts/downloader/download.js "<文章URL>" --output <临时目录>
# 跳过图片/视频
node {baseDir}/scripts/downloader/download.js "<文章URL>" --no-image
node {baseDir}/scripts/downloader/download.js "<文章URL>" --no-video
<下载目录>/<文章标题>/
├── content/article.html # 完整 HTML
├── metadata.json # 标题、作者、时间等
├── images/ # 所有配图
└── videos/ # 所有视频/音频
npm install(首次)将文章改写为自然、原创的风格,去除 AI 写作痕迹,提升原创度。
为每篇文章生成 3-5 个备选标题,涵盖:
将原文开头转换为以下风格之一:
改写完成后,逐项检查:
| # | 检查项 | 处理方式 |
|---|---|---|
| 1 | 意义膨胀句 | 替换为具体事实 |
| 2 | 虚假权威引用 | 写明来源或删除 |
| 3 | 伪深度动词 | 改为具体动作 |
| 4 | 广告语气 | 客观描述 |
| 5 | 模板段落(挑战→机遇→展望) | 删除模板,保留结论 |
| 6 | AI 高频词密集出现 | 替换为日常用语 |
| 7 | 负向并列滥用(不仅…而且…) | 直接表达 |
| 8 | 三段式强拆 | 保留重点,删填充项 |
| 9 | 同义词机械轮换 | 同一概念固定用词 |
| 10 | 破折号滥用 | 改为句号或逗号 |
| 11 | 加粗强调滥用 | 去掉不必要强调 |
| 12 | 列表模板(X:…) | 合并为自然段 |
| 13 | 概念堆砌标题 | 改为口语化标题 |
| 14 | Emoji 泛滥 | 除非指定风格,默认删除 |
| 15 | 聊天语残留 | 删除 |
| 16 | 知识截止声明 | 删除 |
| 17 | 过度讨好语气 | 客观回应 |
| 18 | 填充短语 | 删除 |
| 19 | 过度模糊(可能会、或许) | 改为条件判断 |
| 20 | 空洞结尾 | 改为实际结论 |
| 21 | 假区间表达(从…到…) | 列举具体事实 |
改写成功的标志:
一键发布 Markdown 到微信公众号草稿箱,基于 wenyan-cli。
npm install -g @wenyan-md/cli
确保环境变量已设置(或在 TOOLS.md 中配置):
export WECHAT_APP_ID=your_wechat_app_id
export WECHAT_APP_SECRET=your_wechat_app_secret
重要: IP 必须在微信公众号后台白名单中!
文件顶部必须包含完整 frontmatter:
---
title: 文章标题(必填!)
cover: https://example.com/cover.jpg # 封面图(必填!)
---
# 正文...
⚠️ title 和 cover 缺一不可,否则报错。
⚠️ 图片路径必须使用绝对路径,避免 wenyan 路径解析问题。包括 cover 和正文中的所有图片引用:
cover: /Users/minruiqing/photos/cover.jpg # ✅ 绝对路径
cover: ./assets/cover.jpg # ❌ 相对路径可能出错
 # ✅ 绝对路径
 # ❌ 相对路径可能出错
发布前,主动询问用户是否需要生成配图:
📸 文章准备就绪!需要我帮你生成配图吗?
- 封面图(cover,建议 1080×864)
- 正文插图(根据段落主题生成)
- 不需要,直接发布
如果用户需要配图:
cover 字段prompt 建议:
# 方式 1: 使用 publish.js
node {baseDir}/scripts/publisher/publish.js /path/to/article.md
# 方式 2: 直接用 wenyan-cli
wenyan publish -f article.md -t lapis -h solarized-light
# 方式 3: stdin(推荐,解决路径问题)
# macOS/Linux:
cat "/path/to/article.md" | WECHAT_APP_ID=xxx WECHAT_APP_SECRET=xxx wenyan publish -t lapis -h solarized-light
# 方式 4: 含视频文章(必须用这个)
node {baseDir}/scripts/publisher/publish_with_video.js /path/to/article.md
内置主题:default、lapis(推荐)、phycat
代码高亮:atom-one-dark、dracula、github、monokai、solarized-light(推荐)、xcode
wenyan publish -f article.md -t lapis -h solarized-light
wenyan theme -l # 查看所有主题
微信视频必须用 iframe + data-mpvid 格式,publish_with_video.js 已内置此逻辑。
Markdown 中引用:
 # 自动上传并嵌入
| 问题 | 解决方法 |
|---|---|
| IP 不在白名单 | curl ifconfig.me → 添加到公众号后台 |
| wenyan 未安装 | npm install -g @wenyan-md/cli |
| 环境变量未设置 | export WECHAT_APP_ID=xxx |
| 缺少 frontmatter | 添加 title + cover |
| 40001 token 失效 | 用 publish_with_video.js(已内置 token 管理) |
1. 搜索文章:node {baseDir}/scripts/search/search_wechat.js "AI教程" -n 5 -c
2. 选择目标文章,执行洗稿改写
3. 保存为 Markdown(含 frontmatter)
4. 发布:node {baseDir}/scripts/publisher/publish.js article.md
1. 下载文章:node {baseDir}/scripts/downloader/download.js "https://mp.weixin.qq.com/s/xxx"
2. 读取下载的 HTML/Markdown,执行洗稿改写
3. 保存为 Markdown(含 frontmatter)
4. 发布:node {baseDir}/scripts/publisher/publish.js article.md
{baseDir}/scripts/downloader/config.jsonREADME.md (opens in a new tab)_meta.json (opens in a new tab)example.md (opens in a new tab)references/themes.md (opens in a new tab)references/troubleshooting.md (opens in a new tab)scripts/downloader/download.js (opens in a new tab)scripts/downloader/package-lock.json (opens in a new tab)scripts/downloader/package.json (opens in a new tab)scripts/publisher/publish.js (opens in a new tab)scripts/publisher/publish_with_video.js (opens in a new tab)scripts/search/search_wechat.js (opens in a new tab)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