Install
openclaw skills install wechat-ccClawHub Security found sensitive or high-impact capabilities. Review the scan results before using.
OB Gateway — WeChat ⇄ OB L0 ⇄ Agents。路由前缀分发,多 Agent 支持
openclaw skills install wechat-cc微信 Channel 插件 for Claude Code。扫码即连,从微信直接操控 Claude Code。
基于 weixin-bot-plugin (iLink Bot API) + @modelcontextprotocol/sdk (MCP Channel) + oceanbus (L0 P2P)。
/plugin marketplace add ryanbihai/claude-plugins && /plugin install wechat-cc@oceanbus-plugins
如果已安装过 oceanbus-plugins 市场,只需:
/plugin install wechat-cc@oceanbus-plugins
安装完成后重启 Claude Code,输入 /login 或直接说"登录微信"。
如果已安装 weixin-claude-code@dcatfly-plugins,两个插件会竞争同一个微信账号的消息。启动时 wechat-cc 会检测并警告。建议禁用其一:
/plugin disable weixin-claude-code@dcatfly-plugins
/plugin marketplace add ryanbihai/claude-plugins
/plugin install wechat-cc@oceanbus-plugins
/plugin install wechat-cc@oceanbus-plugins
微信用户 (ilink_user_id)
↕ iLink
┌─ WeChat Bot ──────────────────────────┐
│ OB OpenID: wxBot_xxxx │
│ 绑定: {ilink_user_id → CC_OpenID} │
│ (扫码确认时自动完成) │
└──────────┬────────────────────────────┘
↕ OceanBus L0 P2P
┌─ CC Agent ────────────────────────────┐
│ OB OpenID: cc_qMaPC... │
│ MCP Channel: OB消息 → CC会话 │
│ reply 工具: CC回复 → OB → Bot → 微信 │
└───────────────────────────────────────┘
微信 "重构 user-service"
→ iLink
→ Bot: ob.send(CC_OpenID, msg)
→ OB L0 delivers
→ CC MCP notification 注入会话
→ CC 处理
→ CC 调用 reply 工具
→ ob.send(Bot_OpenID, reply)
→ OB L0 delivers
→ Bot: iLink sendMessage()
→ 微信收到回复
weixin-bot-plugin — iLink API 通信(QR 登录、长轮询、消息收发)@modelcontextprotocol/sdk — MCP Channel 协议oceanbus — L0 P2P 身份和消息路由