📦 Huo15 Openclaw Wechat Service — Huo15 OpenClaw Wechat 服务

v1.0.0

OpenClaw 微信服务号渠道插件 v1.0.0——将公众号变为 AI 协作入口。基于“一粉一会话隔离”的动态 Agent 框架(参考 @huo15/wecom),内置 12 个 agent tool,覆盖 60+ 微信公众平台官方 API:消息(客服/模板/一次性订阅/长期订阅通知/群发)、内容(草稿+永久图文/草稿箱/发布能力)、用户(标签/黑名单/备注/二维码/个性化菜单)、素材(图片/语音/视频/缩略图)、账号(短链接/二维码/渠道二维码/扫码记录)、数据(用户分析/图文分析/消息分析/接口分析)、营销(卡券/会员卡/优惠券/货架/支付即会员)、客服(多客服/会话分配/聊天记录)、小程序(关联/跳转/获取码)、OAuth(网页授权/用户信息)、IP 白名单、access_token 中控等。支持多公众号、多 Agent 并行、热加载、零配置一键接入。

0· 0·0 当前·0 累计
zhaobod1 头像by @zhaobod1 (Job Zhao)
0
安全扫描
VirusTotal
无害
查看报告
OpenClaw
可疑
medium confidence
该包大体实现了所描述的微信公众号通道,但声明与实际所需存在出入(未声明的密钥/配置,以及包含大量无关依赖的 package-lock),安装前务必谨慎,核对密钥、锁文件来源及 Odoo/本地同步设置。
评估建议
This 插件 应用ears to implement the advertised WeChat public-account features, but there are a few red flags you should 检查 before 安装ing: 1) Secrets and config: the README and examples show it expects WeChat 凭证s (应用ID/应用Secret/令牌/EncodingAESKey) and optional Odoo 凭证s for knowledge 同步 — treat these as sensitive. Confirm you will provide them only to a trusted 环境 and that the 平台 will store them 安全ly. The 技能 metadata did not declare required env vars, so don't assume there are none. 2) Local and remot...
详细分析 ▾
用途与能力
Name, README, 技能.md and the TypeScript sources implement a WeChat 服务 (public account) channel, dynamic per-openid 代理s, 工具s for messages/materials/oauth/datacube/OCR/card APIs and knowledge 同步. The code files and docs are consistent with the described purpose.
指令范围
技能.md and README describe 安装ing via OpenClaw/npm and 运行ning /设置up; they document knowledge同步 that writes local markdown files and optionally 同步s to an Odoo instance (requires Odoo 凭证s). The described 运行time actions (网页hook handling, writing to ~/knowledge/... and optional Odoo HTTP calls) are within the 插件's purpose, but they do involve persistent local writes and transmitting message content to a 配置d Odoo URL — this should be considered when handling private user messages.
安装机制
未使用临时下载/安装 URL;package.json 显示为常规 npm 分发及 openclaw 安装元数据。提供的元数据中不存在“从任意 URL 提取”或其他高风险安装机制。
凭证需求
技能.md and README show the 插件 expects secrets/config (WECHAT_服务_应用_SECRET, WECHAT_服务_令牌, WECHAT_服务_AES_KEY, and optional ODOO_PASSWORD) and a localPath for knowledge writes, but the registry metadata declares no required 环境 variables or config paths. That mismatch is concerning — the 插件 needs secrets to call WeChat and (optionally) Odoo, but those were not declared in the 技能's top-level requirements. Users should not assume 'no required env vars' means no secrets are involved.
持久化与权限
The 技能 registers 网页hook HTTP 路由s and 代理 工具s (normal for channel 插件s) and writes local files for knowledge同步 (documented). always:false (no forced global enable). It can be invoked autonomously (disable-模型-invocation: false) which is standard for 技能s; combine that with the ability to 创建 per-user 代理s and write/同步 messages — this increases blast radius if mis配置d, but is not itself anomalous given the 插件's purpose.
src/outbound.ts:228
File read combined with network 发送 (possible exfiltration).
src/tools/material-tool.ts:79
File read combined with network 发送 (possible exfiltration).
安全有层次,运行前请审查代码。

运行时依赖

无特殊依赖

安装命令

点击复制
官方npx clawhub@latest install huo15-openclaw-wechat-service
镜像加速npx clawhub@latest install huo15-openclaw-wechat-service --registry https://cn.longxiaskill.com

技能文档

huo15-openclaw-wechat-service v1.0.0 OpenClaw 微信服务号(公众号)渠道插件。

这是什么 把微信公众号接入 OpenClaw Agent 体系,让公众号粉丝可直接与 LLM agent 聊天/接收通知/触发业务流程,覆盖消息收发、内容发布、网页授权、数据分析、智能识别、卡券六大维度。

安装 # 通过 OpenClaw 安装(推荐) /install @huo15/wechat-service # 或 npm npm install @huo15/wechat-service 随后在 OpenClaw 里 /setup wechat-service 跑向导。

核心特性 🚀 一粉一会话动态 Agent 仿照 @huo15/wecom 的动态 Agent 框架: channels: wechatService: dynamicAgents: enabled: true dmCreateAgent: true # 每个 openid 一个 agent adminUsers: [oABC123xyz] # 管理员旁路走 main agent 每个粉丝的 openid 自动派生独立 agent(命名 wechat-service-{accountId}-dm-{sanitized_openid}),实现真正的一对一会话隔离。

🛠️ 12 个 Agent Tool / 60+ API Tool 主要 action wechat_service_menu 自定义菜单(基础+个性化) wechat_service_message 客服消息+模板消息+公模板库+一次性订阅+长期订阅通知(25 个 actions) wechat_service_material 临时/永久素材 wechat_service_article 草稿箱+freepublish 流水线 wechat_service_user 用户/标签/黑名单 wechat_service_qrcode 带参二维码+short_key wechat_service_mass_send 按标签/openid/预览群发 wechat_service_jssdk wx.config 签名 wechat_service_oauth 网页授权 OAuth2.0 全流程 wechat_service_analytics datacube 17 项指标 wechat_service_intelligent OCR 7 类+图像处理 3 项 wechat_service_card 卡券精简(6 个 actions)

🧠 多账号矩阵+知识库双写 accounts. 隔离 webhook 路径、access_token、agent 路由 每条对话自动同步本地 markdown(Karpathy 风格)+ Odoo knowledge.article

配置示例 完整 schema 见 npm 包根目录 README.md「配置 Schema」段落。 最小可用配置: channels: wechatService: accounts: main: appId: wx1234567890abcdef appSecret: ${WECHAT_SERVICE_APP_SECRET} token: ${WECHAT_SERVICE_TOKEN} encodingAESKey: ${WECHAT_SERVICE_AES_KEY} encryptMode: safe

路线图(已收官) v0.1.0 初始版本 v0.2.0 ✅ Phase 0 动态 Agent 框架 v0.3.0 ✅ Phase 1 通知能力补全 v0.4.0 ✅ Phase 2 OAuth+数据统计 v1.0.0 ✅ Phase 3 智能开放+卡券(latest)

资源 npm:https://www.npmjs.com/package/@huo15/wechat-service 源码(cnb):https://cnb.cool/huo15/ai/huo15-openclaw-wechat-service 微信公众平台官方文档:https://developers.weixin.qq.com/doc/service/guide/ OpenClaw:https://docs.openclaw.ai/zh-CN

维护 青岛火一五信息科技有限公司(辉火云)· postmaster@huo15.com · QQ 群 1093992108 ISC © jobzhao

数据来源ClawHub ↗ · 中文优化:龙虾技能库