Skip to content
Back to search

wemp-operator

SkillWorks with Claude CodeGitHub

"微信公众号自动化运营。触发词:采集热点、公众号日报、周报、检查评论、回复评论、生成文章。依赖 wemp skill。"

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/ianshaw027--wemp-operator/badge.svg)](/listings/ianshaw027--wemp-operator)

HTML

<a href="/listings/ianshaw027--wemp-operator"><img src="/api/listings/ianshaw027--wemp-operator/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

方式一:ClawHub 安装(推荐)

openclaw skill install IanShaw027/wemp-operator

方式二:手动安装

git clone https://github.com/IanShaw027/wemp-operator.git ~/.openclaw/skills/wemp-operator

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

SKILL.md · Manifest · 38 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. ---
  2. name: wemp-operator
  3. description: "微信公众号自动化运营。触发词:采集热点、公众号日报、周报、检查评论、回复评论、生成文章。依赖 wemp skill。"
  4. ---
  5. # wemp-operator
  6. 公众号自动化运营:内容采集、数据分析、互动管理。
  7. ## 环境检查
  8. ```bash
  9. node scripts/setup.mjs # 检查依赖
  10. node scripts/setup.mjs --help # 配置指南
  11. ```
  12. ## 内容采集
  13. ```bash
  14. node scripts/content/smart-collect.mjs \
  15. --query "需求" --keywords "关键词" --sources "数据源" [--deep]
  16. ```
  17. 数据源:hackernews, github, v2ex, 36kr, weibo, zhihu, producthunt, wallstreetcn 等
  18. ## 数据分析
  19. ```bash
  20. node scripts/analytics/daily-report.mjs [--date YYYY-MM-DD]
  21. node scripts/analytics/weekly-report.mjs
  22. ```
  23. ## 互动管理
  24. ```bash
  25. node scripts/interact/check-comments.mjs [--list]
  26. node scripts/interact/reply.mjs --comment-id <id> [--content "回复"]
  27. ```
README.md · README · 454 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # wemp-operator
  2. <p align="center">
  3. <a href="https://github.com/IanShaw027/wemp-operator/releases"><img src="https://img.shields.io/github/v/release/IanShaw027/wemp-operator?style=for-the-badge&color=blue" alt="GitHub Release"></a>
  4. <img src="https://img.shields.io/badge/APIs-70-green?style=for-the-badge" alt="70 APIs">
  5. <img src="https://img.shields.io/badge/数据源-20+-purple?style=for-the-badge" alt="20+ Data Sources">
  6. <img src="https://img.shields.io/badge/node.js-18+-yellow?style=for-the-badge&logo=node.js&logoColor=white" alt="Node.js 18+">
  7. <a href="https://github.com/IanShaw027/wemp-operator/blob/main/LICENSE"><img src="https://img.shields.io/github/license/IanShaw027/wemp-operator?style=for-the-badge&color=green" alt="License"></a>
  8. </p>
  9. <p align="center">
  10. <a href="https://github.com/IanShaw027/wemp-operator/stargazers"><img src="https://img.shields.io/github/stars/IanShaw027/wemp-operator?style=flat-square&logo=github" alt="GitHub stars"></a>
  11. <a href="https://github.com/IanShaw027/wemp-operator/network/members"><img src="https://img.shields.io/github/forks/IanShaw027/wemp-operator?style=flat-square&logo=github" alt="GitHub forks"></a>
  12. <a href="https://github.com/IanShaw027/wemp-operator/issues"><img src="https://img.shields.io/github/issues/IanShaw027/wemp-operator?style=flat-square" alt="GitHub issues"></a>
  13. </p>
  14. <p align="center">
  15. 微信公众号自动化运营 OpenClaw Skill - 内容采集、数据分析、互动管理
  16. </p>
  17. ## ✨ 功能特性
  18. - 📝 **内容采集** - 从 20+ 数据源智能采集热点,支持关键词过滤和深度抓取
  19. - 📊 **数据分析** - 自动生成日报/周报,包含用户增长、阅读数据、AI 洞察
  20. - 💬 **互动管理** - 评论检查、智能回复建议、批量精选
  21. - 🔌 **70 个 API** - 完整的微信公众号 API 集成,无需额外依赖
  22. ## 🚀 工作流程
  23. ```
  24. ┌─────────────────────────────────────────────────────────────────┐
  25. │ 内容采集工作流 │
  26. ├─────────────────────────────────────────────────────────────────┤
  27. │ 用户需求 → AI 扩展关键词 → 选择数据源 → 采集热点 → 筛选输出 │
  28. └─────────────────────────────────────────────────────────────────┘
  29. │
  30. ▼
  31. ┌─────────────────────────────────────────────────────────────────┐
  32. │ 数据分析工作流 │
  33. ├─────────────────────────────────────────────────────────────────┤
  34. │ 获取统计 → 计算指标 → 生成洞察 → 输出报告 → 推送通知 │
  35. └─────────────────────────────────────────────────────────────────┘
  36. │
  37. ▼
  38. ┌─────────────────────────────────────────────────────────────────┐
  39. │ 互动管理工作流 │
  40. ├─────────────────────────────────────────────────────────────────┤
  41. │ 检查评论 → AI 生成回复 → 用户确认 → 执行回复/精选 │
  42. └─────────────────────────────────────────────────────────────────┘
  43. ```
  44. ## 📦 安装
  45. ### 方式一:ClawHub 安装(推荐)
  46. ```bash
  47. openclaw skill install IanShaw027/wemp-operator
  48. ```
  49. ### 方式二:手动安装
  50. ```bash
  51. git clone https://github.com/IanShaw027/wemp-operator.git ~/.openclaw/skills/wemp-operator
  52. ```
  53. ## ⚙️ 配置
  54. 在 `~/.openclaw/openclaw.json` 中配置公众号:
  55. ```json
  56. {
  57. "channels": {
  58. "wemp": {
  59. "enabled": true,
  60. "appId": "你的公众号 AppID",
  61. "appSecret": "你的公众号 AppSecret"
  62. }
  63. }
  64. }
  65. ```
  66. > 获取 AppID/AppSecret:登录 [微信公众平台](https://mp.weixin.qq.com) → 开发 → 基本配置
  67. ## 📖 使用
  68. ### 自然语言交互(推荐)
  69. 安装 skill 后,直接用自然语言与 OpenClaw 对话即可。Skill 会根据触发词自动激活。
  70. **内容采集:**
  71. ```
  72. 帮我采集今天的 AI 热点
  73. 从 Hacker News 和 V2EX 采集科技新闻
  74. 采集大模型相关的热点,关键词:GPT、Claude、LLM
  75. ```
  76. **数据分析:**
  77. ```
  78. 生成公众号日报
  79. 看看昨天的公众号数据
  80. 生成本周的周报
  81. ```
  82. **互动管理:**
  83. ```
  84. 检查公众号新评论
  85. 有没有需要回复的评论
  86. 帮我精选这条评论
  87. ```
  88. ### 工作原理
  89. ```
  90. ┌─────────────────────────────────────────────────────────────────┐
  91. │ 1. 用户请求 │
  92. │ "帮我采集今天的 AI 热点" │
  93. └─────────────────────────────────────────────────────────────────┘
  94. │
  95. ▼
  96. ┌─────────────────────────────────────────────────────────────────┐
  97. │ 2. Skill 自动激活 │
  98. │ 触发词匹配:采集热点、公众号日报、检查评论... │
  99. │ OpenClaw 读取 SKILL.md 获取操作指南 │
  100. └─────────────────────────────────────────────────────────────────┘
  101. │
  102. ▼
  103. ┌─────────────────────────────────────────────────────────────────┐
  104. │ 3. AI 执行任务 │
  105. │ • 调用 scripts/ 下的脚本 │
  106. │ • 使用 70 个微信 API │
  107. │ • 整合 20+ 数据源 │
  108. └─────────────────────────────────────────────────────────────────┘
  109. │
  110. ▼
  111. ┌─────────────────────────────────────────────────────────────────┐
  112. │ 4. 返回结果 │
  113. │ 格式化输出、AI 洞察、操作建议 │
  114. └─────────────────────────────────────────────────────────────────┘
  115. ```
  116. ### 触发词
  117. | 功能 | 触发词 |
  118. |------|--------|
  119. | **内容采集** | 采集热点、采集新闻、收集素材 |
  120. | **数据分析** | 公众号日报、公众号周报、数据报告 |
  121. | **互动管理** | 检查评论、回复评论、精选评论 |
  122. | **文章管理** | 生成文章、发布文章、草稿管理 |
  123. ### 高级用法:命令行
  124. 如需直接调用脚本(调试或自动化场景):
  125. <details>
  126. <summary><b>内容采集</b></summary>
  127. ```bash
  128. node scripts/content/smart-collect.mjs \
  129. --query "AI热点" \
  130. --keywords "AI,LLM,大模型,GPT" \
  131. --sources "hackernews,v2ex,36kr" \
  132. --deep
  133. ```
  134. </details>
  135. <details>
  136. <summary><b>数据分析</b></summary>
  137. ```bash
  138. # 生成日报
  139. node scripts/analytics/daily-report.mjs
  140. # 生成周报
  141. node scripts/analytics/weekly-report.mjs
  142. # 指定日期
  143. node scripts/analytics/daily-report.mjs --date 2026-02-01
  144. ```
  145. </details>
  146. <details>
  147. <summary><b>互动管理</b></summary>
  148. ```bash
  149. # 检查新评论
  150. node scripts/interact/check-comments.mjs
  151. # 回复评论
  152. node scripts/interact/reply.mjs --comment-id <id> --content "感谢支持!"
  153. # 精选评论
  154. node scripts/interact/manage.mjs --elect --comment-id <id>
  155. ```
  156. </details>
  157. ## 🔌 API 模块 (70 个)
  158. <details>
  159. <summary><b>统计 API (8)</b></summary>
  160. | API | 功能 |
  161. |-----|------|
  162. | `getUserSummary` | 用户增长概况 |
  163. | `getUserCumulate` | 用户累计数据 |
  164. | `getArticleSummary` | 文章阅读统计 |
  165. | `getArticleTotal` | 文章总量统计 |
  166. | `getUserRead` | 用户阅读统计 |
  167. | `getUserShare` | 用户分享统计 |
  168. | `getUpstreamMsg` | 消息统计 |
  169. | `getUpstreamMsgHour` | 消息分时统计 |
  170. </details>
  171. <details>
  172. <summary><b>草稿 API (6)</b></summary>
  173. | API | 功能 |
  174. |-----|------|
  175. | `addDraft` | 创建草稿 |
  176. | `updateDraft` | 更新草稿 |
  177. | `getDraft` | 获取草稿 |
  178. | `listDrafts` | 草稿列表 |
  179. | `deleteDraft` | 删除草稿 |
  180. | `getDraftCount` | 草稿数量 |
  181. </details>
  182. <details>
  183. <summary><b>发布 API (5)</b></summary>
  184. | API | 功能 |
  185. |-----|------|
  186. | `publishDraft` | 发布草稿 |
  187. | `getPublishStatus` | 发布状态 |
  188. | `listPublished` | 已发布列表 |
  189. | `getPublishedArticle` | 文章详情 |
  190. | `deletePublished` | 删除已发布 |
  191. </details>
  192. <details>
  193. <summary><b>评论 API (8)</b></summary>
  194. | API | 功能 |
  195. |-----|------|
  196. | `listComments` | 评论列表 |
  197. | `replyComment` | 回复评论 |
  198. | `deleteCommentReply` | 删除回复 |
  199. | `electComment` | 精选评论 |
  200. | `unelectComment` | 取消精选 |
  201. | `deleteComment` | 删除评论 |
  202. | `openComment` | 开启评论 |
  203. | `closeComment` | 关闭评论 |
  204. </details>
  205. <details>
  206. <summary><b>用户 API (7)</b></summary>
  207. | API | 功能 |
  208. |-----|------|
  209. | `getUserInfo` | 用户信息 |
  210. | `batchGetUserInfo` | 批量用户信息 |
  211. | `getFollowers` | 关注者列表 |
  212. | `setUserRemark` | 设置备注 |
  213. | `getBlacklist` | 黑名单列表 |
  214. | `batchBlacklistUsers` | 加入黑名单 |
  215. | `batchUnblacklistUsers` | 移出黑名单 |
  216. </details>
  217. <details>
  218. <summary><b>标签 API (8)</b></summary>
  219. | API | 功能 |
  220. |-----|------|
  221. | `createTag` | 创建标签 |
  222. | `getTags` | 标签列表 |
  223. | `updateTag` | 更新标签 |
  224. | `deleteTag` | 删除标签 |
  225. | `batchTagUsers` | 批量打标签 |
  226. | `batchUntagUsers` | 批量取消标签 |
  227. | `getUserTags` | 用户标签 |
  228. | `getTagUsers` | 标签下用户 |
  229. </details>
  230. <details>
  231. <summary><b>模板消息 API (5)</b></summary>
  232. | API | 功能 |
  233. |-----|------|
  234. | `getTemplates` | 模板列表 |
  235. | `addTemplate` | 添加模板 |
  236. | `deleteTemplate` | 删除模板 |
  237. | `sendTemplateMessage` | 发送模板消息 |
  238. | `getIndustry` | 行业信息 |
  239. </details>
  240. <details>
  241. <summary><b>素材 API (6)</b></summary>
  242. | API | 功能 |
  243. |-----|------|
  244. | `uploadTempMedia` | 上传临时素材 |
  245. | `uploadPermanentMedia` | 上传永久素材 |
  246. | `uploadArticleImage` | 上传文章图片 |
  247. | `getMaterialCount` | 素材数量 |
  248. | `getMaterialList` | 素材列表 |
  249. | `deleteMaterial` | 删除素材 |
  250. </details>
  251. <details>
  252. <summary><b>客服消息 API (7)</b></summary>
  253. | API | 功能 |
  254. |-----|------|
  255. | `sendTextMessage` | 发送文本 |
  256. | `sendImageMessage` | 发送图片 |
  257. | `sendVoiceMessage` | 发送语音 |
  258. | `sendVideoMessage` | 发送视频 |
  259. | `sendNewsMessage` | 发送图文 |
  260. | `sendMpNewsMessage` | 发送公众号文章 |
  261. | `sendTypingStatus` | 输入状态 |
  262. </details>
  263. <details>
  264. <summary><b>菜单 API (4)</b></summary>
  265. | API | 功能 |
  266. |-----|------|
  267. | `createMenu` | 创建菜单 |
  268. | `getMenu` | 获取菜单 |
  269. | `deleteMenu` | 删除菜单 |
  270. | `getCurrentMenuInfo` | 当前菜单信息 |
  271. </details>
  272. <details>
  273. <summary><b>二维码 API (2)</b></summary>
  274. | API | 功能 |
  275. |-----|------|
  276. | `createQRCode` | 创建二维码 |
  277. | `getQRCodeImageUrl` | 获取二维码图片 |
  278. </details>
  279. <details>
  280. <summary><b>群发 API (5)</b></summary>
  281. | API | 功能 |
  282. |-----|------|
  283. | `massSendByTag` | 按标签群发 |
  284. | `massSendByOpenIds` | 按ID群发 |
  285. | `previewMassMessage` | 群发预览 |
  286. | `getMassMessageStatus` | 群发状态 |
  287. | `deleteMassMessage` | 删除群发 |
  288. </details>
  289. ## 📡 数据源 (20+)
  290. | 类别 | 数据源 |
  291. |------|--------|
  292. | **科技** | hackernews, github, v2ex, sspai, juejin, ithome, producthunt |
  293. | **中文热点** | weibo, zhihu, baidu, douyin, bilibili, toutiao, tencent, thepaper, hupu |
  294. | **财经** | 36kr, wallstreetcn, cls |
  295. **快捷分类:**
  296. - `tech` - 所有科技类
  297. - `china` - 所有中文热点
  298. - `finance` - 所有财经类
  299. - `all` - 全部数据源
  300. ## 📁 项目结构
  301. ```
  302. wemp-operator/
  303. ├── SKILL.md # AI 指令文件
  304. ├── scripts/
  305. │ ├── setup.mjs # 环境检查
  306. │ ├── lib/utils.mjs # 70 个微信 API
  307. │ ├── content/ # 内容采集
  308. │ ├── analytics/ # 数据分析
  309. │ └── interact/ # 互动管理
  310. └── templates/ # 报告模板
  311. ```
  312. ## 📊 日报示例
  313. ```
  314. 📊 **公众号日报** (2026-02-01)
  315. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  316. **👥 用户数据**
  317. • 新增关注: +23
  318. • 取消关注: -5
  319. • 净增长: +18 (↑12%)
  320. • 累计粉丝: 1,234
  321. **📖 阅读数据**
  322. • 总阅读: 2,456 次 (↑15%)
  323. • 总分享: 89 次
  324. **🔥 热门文章**
  325. 1. 《Claude 4 深度解析》
  326. 2. 《AI 编程工具对比》
  327. 3. 《GPT-5 传闘分析》
  328. **💬 互动数据**
  329. • 新消息: 12 条
  330. • 新评论: 8 条
  331. **💡 AI 洞察**
  332. 今日净增 18 位粉丝,保持良好增长势头。
  333. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  334. ```
  335. ## 🤝 贡献
  336. 欢迎提交 Issue 和 Pull Request!
  337. ```bash
  338. # Fork 仓库后
  339. git clone https://github.com/YOUR_USERNAME/wemp-operator.git
  340. cd wemp-operator
  341. git checkout -b feat/your-feature
  342. # 修改代码...
  343. git commit -m "feat: your feature"
  344. git push origin feat/your-feature
  345. # 创建 Pull Request
  346. ```
  347. ## 📜 许可证
  348. [MIT License](LICENSE)
  349. ## ⭐ Star History
  350. [![Star History Chart](https://api.star-history.com/svg?repos=IanShaw027/wemp-operator&type=Date)](https://star-history.com/#IanShaw027/wemp-operator&Date)
  351. ---
  352. <p align="center">
  353. Made with ❤️ by <a href="https://github.com/IanShaw027">IanShaw027</a>
  354. </p>

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.