Claude Skill
HenryXiaoYang/wechat-openclaw-channel
WeChat-OpenClaw-Channel is an open-source TypeScript project that extracts the channel component from OpenClaw, supporting QClaw and WorkBuddy login for WeChat bot functionality.
Overview
Repository
Install this Skill
git clone https://github.com/HenryXiaoYang/wechat-openclaw-channel.gitRegistry
Summary
WeChat-OpenClaw-Channel is a TypeScript-based open-source project that extracts the channel component from OpenClaw, enabling WeChat bot functionality with support for both QClaw and WorkBuddy login methods.
现已同时支持QClaw和WorkBuddy方式登录!微信包装了开源项目OpenClaw,所以我们把他的Channel抽出来给OpenClaw用了😄
Key features
- Supports both QClaw and WorkBuddy login methods
- Extracted channel component for OpenClaw
- Built with TypeScript for reliability
- Designed for WeChat bot integration
- Open-source and community-driven
Use cases
- Building WeChat bots with OpenClaw
- Automating WeChat message handling
- Integrating WorkBuddy login for enterprise bots
- Developing custom WeChat automation tools
- Experimenting with QClaw-based bot channels
README excerpt
# wechat-openclaw-channel <p align="center"> <a href="https://linux.do" alt="LINUX DO"><img src="https://shorturl.at/ggSqS" /></a> </p> --- OpenClaw 微信通路插件 — 支持 QClaw 和 WorkBuddy 双模式。 ## 安装 ```bash openclaw plugins install @henryxiaoyang/wechat-openclaw-channel ``` ## 快速开始 ### 1. 登录 ```bash openclaw wechat login ``` 交互式选择登录模式: - **QClaw** - **WorkBuddy** ### 2. 启动 Gateway ```bash openclaw gateway restart ``` ### 3. 设备绑定(首次使用) ```bash openclaw wechat bind ``` 在微信中打开返回的链接完成绑定,绑定后即可通过微信对话。 ## 登录模式 ### QClaw 模式 通过微信平台 OAuth 获取 token,连接 WebSocket 网关。 ### WorkBuddy 模式 通过 CodeBuddy OAuth 获取 token,连接 WebSocket 网关。 ## CLI 命令 | 命令 | 说明 | | ------------------------ | ------------------------------------- | | `openclaw wechat login` | 交互式登录(选择 QClaw 或 WorkBuddy) | | `openclaw wechat logout` | 清除登录态 | | `openclaw wechat bind` | 获取设备绑定链接 | ## 配置 凭证统一存储在 `~/.openclaw/openclaw.json` 的 `channels.wechat-openclaw-channel` 下: ```json { "channels": { "wechat-openclaw-channel": { "loginMode": "workbuddy", "environment": "production", "qclaw": { "jwtToken": "...", "channelToken": "...", "apiKey": "...", "guid": "...", "userId": "...", "wsUrl": "...", "userInfo": {} }, "workbuddy": { "accessToken": "...", "refreshToken": "...", "userId": "...", "hostId": "...", "baseUrl": "https://copilot.tencent.com", "userInfo": {} } } } } ``` | 字段 | 说明 | | ------------- | ------------------------------------ | | `loginMode` | 当前登录模式:`qclaw` 或 `workbuddy` | | `environment` | 环境:`produc