← Back to Skills Marketplace
57
Downloads
0
Stars
0
Active Installs
5
Versions
Install in OpenClaw
/install wechat-cc
Description
OB Gateway — WeChat ⇄ OB L0 ⇄ Agents。路由前缀分发,多 Agent 支持
README (SKILL.md)
\r \r
wechat-cc\r
\r
微信 Channel 插件 for Claude Code。扫码即连,从微信直接操控 Claude Code。\r
\r
基于 weixin-bot-plugin (iLink Bot API) + @modelcontextprotocol/sdk (MCP Channel) + oceanbus (L0 P2P)。\r
\r
功能\r
\r
- 微信扫码登录,自动绑定 CC OpenID(无需手动输入 pair 命令)\r
- 微信消息实时推入 Claude Code 会话\r
- CC 通过 reply 工具回复微信消息\r
- 权限转发:CC 工具调用审批 → 微信 → 回复 yes/no 远程授权\r
- 基于 OceanBus L0 的 Store-and-Forward,CC 离线时消息不丢\r
- 长消息自动拆条防折叠\r
- ctrl+o 展开二维码提醒\r \r
A 消息(发给朋友)\r
\r
/plugin marketplace add ryanbihai/claude-plugins && /plugin install wechat-cc@oceanbus-plugins\r
```\r
\r
> 如果已安装过 oceanbus-plugins 市场,只需:`/plugin install wechat-cc@oceanbus-plugins`\r
\r
安装完成后**重启 Claude Code**,输入 `/login` 或直接说"登录微信"。\r
\r
## 冲突说明\r
\r
如果已安装 `weixin-claude-code@dcatfly-plugins`,两个插件会竞争同一个微信账号的消息。启动时 wechat-cc 会检测并警告。建议禁用其一:\r
\r
```\r
/plugin disable weixin-claude-code@dcatfly-plugins\r
```\r
\r
## 安装\r
\r
```\r
/plugin marketplace add ryanbihai/claude-plugins\r
/plugin install wechat-cc@oceanbus-plugins\r
/plugin install wechat-cc@oceanbus-plugins\r
```\r
\r
## 架构\r
\r
```\r
微信用户 (ilink_user_id)\r
↕ iLink\r
┌─ WeChat Bot ──────────────────────────┐\r
│ OB OpenID: wxBot_xxxx │\r
│ 绑定: {ilink_user_id → CC_OpenID} │\r
│ (扫码确认时自动完成) │\r
└──────────┬────────────────────────────┘\r
↕ OceanBus L0 P2P\r
┌─ CC Agent ────────────────────────────┐\r
│ OB OpenID: cc_qMaPC... │\r
│ MCP Channel: OB消息 → CC会话 │\r
│ reply 工具: CC回复 → OB → Bot → 微信 │\r
└───────────────────────────────────────┘\r
```\r
\r
## 消息流\r
\r
```\r
微信 "重构 user-service"\r
→ iLink\r
→ Bot: ob.send(CC_OpenID, msg)\r
→ OB L0 delivers\r
→ CC MCP notification 注入会话\r
→ CC 处理\r
→ CC 调用 reply 工具\r
→ ob.send(Bot_OpenID, reply)\r
→ OB L0 delivers\r
→ Bot: iLink sendMessage()\r
→ 微信收到回复\r
```\r
\r
## 依赖\r
\r
- `weixin-bot-plugin` — iLink API 通信(QR 登录、长轮询、消息收发)\r
- `@modelcontextprotocol/sdk` — MCP Channel 协议\r
- `oceanbus` — L0 P2P 身份和消息路由\r
Usage Guidance
Only install this if you intentionally want WeChat/OceanBus messages to control local Claude Code. Avoid standalone or `--auto-exec` mode on sensitive projects, remove the permission-skipping flag, pin and review dependencies, restrict allowed senders, and protect or delete the stored WeChat/OceanBus credential files when finished.
Capability Tags
Capability Assessment
Purpose & Capability
The WeChat/OceanBus routing purpose is coherent, but included standalone and agent modes go beyond routing by automatically executing incoming messages through Claude Code with `--dangerously-skip-permissions`.
Instruction Scope
Incoming chat/P2P text is passed directly as a Claude prompt in auto-exec paths, with no clear local review, sender allowlist, or containment before execution.
Install Mechanism
The README promotes cloning a GitHub repository, installing `@latest` dependencies, and immediately running a local script; package metadata also uses an unpinned `latest` dependency.
Credentials
The skill can operate in the current working directory and cause local Claude Code to act on that environment, while also storing WeChat/OceanBus state under the user’s home directory.
Persistence & Privilege
Long-running listeners and local session/identity files are expected for a chat gateway, but users should understand that the process keeps accepting messages until stopped.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install wechat-cc - After installation, invoke the skill by name or use
/wechat-cc - Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.3.2
v0.3.2: 简化 README — 一条命令开始,安装和 A 消息合一
v0.3.1
v0.3.1: standalone 个人微信操控 CC — 一条命令,全自动,零配置,A 消息可随意传播
v0.3.0
v0.3.0: standalone 模式 — 一条命令,全自动。不需管理员,不需 OpenID 交换,不需 pair 命令。A 消息可随意传播,朋友自服务完成全部操作
v0.2.4
v0.2.4: cc-agent 自动注册 OB 身份,完全解耦 ocean-chat。A 消息只需 clone wechat-cc + npm install oceanbus
v0.2.3
v0.2.3: OB 网关模式 — WeChat ⇄ OB L0 ⇄ Agents。Model C 路由(默认会话+单条覆盖),OpenID 自动命名,欢迎消息,多 Agent/多窗口支持,权限转发
Metadata
Frequently Asked Questions
What is WeChat CC?
OB Gateway — WeChat ⇄ OB L0 ⇄ Agents。路由前缀分发,多 Agent 支持. It is an AI Agent Skill for Claude Code / OpenClaw, with 57 downloads so far.
How do I install WeChat CC?
Run "/install wechat-cc" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is WeChat CC free?
Yes, WeChat CC is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does WeChat CC support?
WeChat CC is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created WeChat CC?
It is built and maintained by ryanbihai (@ryanbihai); the current version is v0.3.2.
More Skills