andyleimc-source

Wx Cc Bridge — Development skill for Claude Code

Development community

WeChat ↔ Claude Code CLI bridge — talk to Claude from WeChat via the ClawBot (iLink) protocol, using your Max subscription.

How to install Wx Cc Bridge

This entry records only its repository, not the path inside it, so there is no exact command to give. Open andyleimc-source/wx-cc-bridge and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Wx Cc Bridge does

WeChat ↔ Claude Code CLI bridge — talk to Claude from WeChat via the ClawBot (iLink) protocol, using your Max subscription.

Alternatives in Development

README

wx-cc-bridge

WeChat ↔ Claude Code CLI bridge. Talk to Claude Code from your personal WeChat account through the official ClawBot / iLink protocol, using your Claude Max subscription (no API billing).

WeChat user → iLink long-poll (ilinkai.weixin.qq.com)
           → this bridge (Python / FastAPI-free, asyncio)
           → subprocess: claude -p "…" --resume 
           → reply back via sendmessage

Why

  • No API key required — runs the claude CLI against your Max subscription.
  • Per-chat isolation — each WeChat contact gets its own cwd and Claude session.
  • Slash commands — /new, /history, /resume, /cd, /pwd, /help.

Status

  • M1: iLink integration (login, long-poll, send) — working
  • M2: Claude CLI integration + slash commands — working
  • M3: Hardening (token auth, bash-tool denylist, reply chunking) — not yet

Requirements

  • macOS (launchd deployment uses Apple-specific bits; core Python works anywhere)
  • Python 3.11+
  • `uv`
  • claude CLI installed and logged in with a Max subscription — must not be configured to hit the Anthropic API
  • A WeChat account that can register as a ClawBot (this is Tencent-side; not every account can)

Install

git clone https://github.com//wx-cc-bridge.git
cd wx-cc-bridge
make sync                    # uv-based deps + editable install

Run (foreground, for first-time login)

make run

A QR code prints in the terminal. Scan it with the WeChat account you want to use as the bot (that account will act as the bridge endpoint). Login persists in `~/.wx-cc-bridge/token.json`.

Send any message from a second WeChat account to the bot account and you should see `[msg] …` in the log and a Claude reply back in WeChat.

Run as a background service (macOS launchd)

make install-service         # one-time
make status                  # PID / exit code
make logs                    # tail stdo