Coding

Huo15 Openclaw Wechat Service

Try it

OpenClaw 微信服务号(公众号)渠道插件 v2.3.5 hotfix —— **修 errcode 45002 content size out of limit**:truncateForWechatText 改字节截断(微信限 2048 字节不是字符,中文 1 字 = 3 字节),默认 1900 字节留...

What it does

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

The skill document

huo15-openclaw-wechat-service v2.1.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:
  wechat-service:
    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_jssdkwx.config 签名
wechat_service_oauth网页授权 OAuth2.0 全流程
wechat_service_analyticsdatacube 17 项指标
wechat_service_intelligentOCR 7 类 + 图像处理 3 项
wechat_service_card卡券精简(6 个 actions)

🧠 多账号矩阵 + 知识库双写

  • accounts. 隔离 webhook 路径、access_token、agent 路由
  • 每条对话自动同步本地 markdown(Karpathy 风格)+ Odoo knowledge.article

配置示例

完整 schema 见 npm 包根目录 README.md 里的「配置 Schema」段落。

最小可用配置:

channels:
  wechat-service:
    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)

资源

维护

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

ISC © jobzhao

Related skills

Stores durable facts in a categorized, plain-markdown vault on disk, alongside your agent's built-in memory.

by Iván555 installs18 stars

Generate and edit Draw.io, Mermaid, and Excalidraw diagrams from natural language using a structured JSON spec.

by nssa.io1.0k installs47 stars

Join a video meeting as an AI bot with voice, avatar, and screenshare across four operating modes.

by johnpatternai21 installs8 stars

Read and write Excel workbooks, worksheets, ranges, tables, and charts in OneDrive through Microsoft Graph with managed OAuth.

by byungkyu800 installs42 stars

Fetch raw ad creative, app, ranking, and revenue data from AdMapix as structured JSON.

by fly0pants4.3k installs296 stars

More from zhaobod1

Browse all skills

Generate enterprise Word and native PDF documents across 39 format presets, with 7 contract subtypes.

by zhaobod149 installs

Bootstrap a fresh OpenClaw workspace with a guided 4-step setup that writes five identity and preference files.

by zhaobod130 installs

Adds Claude Code-style agent experience to OpenClaw without modifying the host.

by zhaobod144 installs

麻省理工学院48小时学习法技能(青岛火一五信息科技有限公司)。完整还原 Ihtesham Ali 原始三问框架 + 反馈循环 + 完整 48h 三阶段时间线,叠加网上最佳实践(synthesis / contradictions / gaps / Feynman teach-back / weakness ana...

by zhaobod133 installs2 stars

通过火山方舟Ark API调用Seedance 2.0生成第一人称带货短视频,v2 新增剧本驱动的配音(edge-tts/火山TTS)、背景音乐自动混音、字幕烧录,内置 8 套人设模板(传统女、时尚主播、老中医、厨房主妇、美妆博主、健身教练、户外探店、数码博主)。触发词:生成视频、带货视频、产品视频、拍视频、剧本...

by zhaobod126 installs1 stars

规范 + 时尚的思维导图生成。输入 Markdown 大纲 / JSON / OPML / XMind,输出 XMind 2021+ (.xmind)、OPML、FreeMind (.mm)、Markdown、PNG、PDF、SVG;内置 13 种风格(modern / classic / dark / xiao...

by zhaobod136 installs