
Wechat Channel
Bridges WeChat into OpenClaw using Wechaty with PadLocal protocol for two-way messaging. Handles private chats, group chats, @mentions, and image/file transfers. You'll need a paid PadLocal token (around ¥200/month) and some setup with environment variables and webhook configuration. The architecture runs a Node.js bridge service that talks to both WeChat and your OpenClaw gateway, with proper allowlists and mention detection to keep things secure. Works well for personal assistant workflows or automated notifications, though you're at the mercy of WeChat's rate limits and PadLocal's reliability. The documentation is thorough with clear examples for sending messages via API and handling incoming webhooks.
- skills.sh installs
- 506
- GitHub stars
- 74
- last updated
- Jul 14, 2026
Install
$ npx -y skills add aaaaqwq/claude-code-skills --skill wechat-channel --agent claude-codeInstalls into .claude/skills of the current project.
Files
微信 Channel 集成
- Author: Daniel Li
- Copyright © Daniel Li. All rights reserved.
将微信接入 OpenClaw,实现双向消息通道。
架构概述
┌─────────────┐ ┌──────────────────┐ ┌─────────────┐
│ 微信用户 │ ←→ │ Wechaty Bridge │ ←→ │ OpenClaw │
│ (私聊/群聊) │ │ (PadLocal协议) │ │ Gateway │
└─────────────┘ └──────────────────┘ └─────────────┘
↓
┌──────────────────┐
│ 消息格式转换 │
│ - 文本/图片/文件 │
│ - @提及检测 │
│ - 群聊/私聊路由 │
└──────────────────┘
核心组件
1. Wechaty Bridge (消息桥接服务)
独立运行的 Node.js 服务,负责:
- 微信登录(扫码)
- 消息收发
- 联系人/群组管理
- 与 OpenClaw Gateway 通信
2. OpenClaw Webhook 接收器
接收来自 Wechaty Bridge 的消息,转发给 AI Agent。
3. 消息发送 API
OpenClaw Agent 通过 HTTP API 发送消息到微信。
快速开始
前置条件
- Node.js >= 18
- PadLocal Token(付费服务,约 ¥200/月)
- OpenClaw Gateway 运行中
1. 安装依赖
cd /home/aa/clawd/skills/wechat-channel
npm init -y
npm install wechaty wechaty-puppet-padlocal axios dotenv
2. 配置环境变量
cp .env.example .env
# 编辑 .env 填入配置
3. 启动服务
Sponsors
Details
- Repository
- github.com/aaaaqwq/claude-code-skills
- First seen
- Jun 3, 2026