Skip to content

Bidirectional WeChat channel for OpenClaw, bridging private and group chats through Wechaty and PadLocal.

CCM score
35 of 100
skills.sh installs
522
GitHub stars
121
last updated
Jul 14, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers two-way message flow between WeChat users and the OpenClaw Gateway via a standalone Node.js Wechaty bridge
  • Handles private chats, group chats, @mention detection, and image and file transfer through an HTTP send API
  • Enforces an allowlist DM policy and optional @mention gating for group messages, configured through .env and openclaw.json
  • Designed for assistant setups that need WeChat as an AI interaction channel, with PadLocal token access required

Install

$ npx -y skills add aaaaqwq/agi-super-team --skill wechat-channel -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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. 启动服务

Details

Repository
github.com/aaaaqwq/agi-super-team
Categories
Email & Messaging, AI Agents & LLM Apps
First seen
Jun 3, 2026

More from aaaaqwq/agi-super-team

All 8

Similar to Wechat Channel

More Email & Messaging