Claude Skill
hillghost86/OpenClawWeChat
OpenClawWeChat is a WeChat plugin that connects OpenClaw with the ClawChat Mini Program, enabling real-time conversational communication and task execution via WeChat.
Overview
Repository
Install this Skill
git clone https://github.com/hillghost86/OpenClawWeChat.git openclawwechatRegistry
Summary
OpenClawWeChat is a personal WeChat plugin that integrates OpenClaw with WeChat Mini Programs, enabling seamless conversational communication via the ClawChat Mini Program. Users can interact with OpenClaw anytime, anywhere, and get instant responses.
个人微信接入OpenClaw的插件,实现通过微信小程序与OpenClaw之间的会话通讯。直接通过微信小程序ClawChat与OpenClaw进行对话,让OpenClaw执行你指定的任务。并且可以随时随地获取OpenClaw的回复。
Key features
- WeChat Mini Program integration for OpenClaw
- Real-time conversational communication via ClawChat
- Anytime, anywhere access to OpenClaw responses
- Plugin-based architecture for easy deployment
Use cases
- Personal AI assistant accessible via WeChat
- Task delegation through conversational interface
- On-the-go querying and response retrieval
README excerpt
# OpenClawWeChat [](https://www.npmjs.com/package/openclawwechat) [](https://www.npmjs.com/package/openclawwechat) [](LICENSE) [](https://openclaw.ai) ## 概述 `OpenClawWeChat` 是一个 OpenClaw channel 插件,用于将 OpenClaw 与 ClawChat 微信小程序连接起来,实现通过微信小程序与 OpenClaw 进行个人对话和群聊交互。 当前版本已完成新版 OpenClaw 插件系统对齐,支持以下能力: - 文本消息收发 - 图片 / 文档 / 语音消息发送 - 群消息链路 - 多账户独立轮询 ## 兼容要求 - **OpenClaw 宿主版本**:`>=2026.3.24` - **运行前提**:OpenClaw Gateway 已安装并运行 ### 获取 ClawChat API Key 1. 打开微信小程序 **ClawChat** 2. 进入"我的"页面 → **Bot 管理** 3. 复制目标 Bot 的 API Key(格式:`bot_id:secret`) ## 安装 ### npm 安装(推荐) ```bash # npm 安装(推荐) openclaw plugins install openclawwechat ``` ### github 安装 ```bash # 本地安装(开发 / 调试) cd ~/.openclaw/extensions git clone https://github.com/hillghost86/OpenClawWeChat.git openclawwechat ``` ## 配置 安装完成后,需要配置 ClawChat API Key 才能使用。API Key 从微信小程序 ClawChat → 我的 → Bot 管理中获取,格式为 `bot_id:secret`。 ### 方式 1:OpenClaw 配置向导(推荐) ```bash openclaw configure --section channels ``` 在通道列表中选择 **OpenClawWeChat(微信小程序 ClawChat)**,按提示依次填写: 1. **ClawChat API Key** — 格式 `bot_id:secret`,从微信小程序 ClawChat 获取 2. **默认轮询间隔** — 单位毫秒,默认 5000,通常无需修改 3. **调试日志** — 是否开启详细日志,默认关闭 4. **default.sessionKey** — 可留空,默认 `agent:main:main` 完成后选择 **Finished** 即可,向导会自动写入所有配置。 > 当前向导仅支持 `default` 账户的初始化。多账户管理请使用方式 2。 ### 方式 2:CLI 配置工具 (推荐) 适用于多账户管理、旧配置迁移、或向导不可用的场景: **macOS / Linux**: ```bash cd ~/.openclaw/extensions/openclawwechat npm run config-init ``` **Windows(CMD)**: ```cmd cd %USERPROFI