Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By Aster110v1.0.0
Drive Claude Code or Codex from WeChat: messages start a session in your project and replies return to the chat. Needs Node.js 22 or newer; the Codex backend runs with approvals and sandbox bypassed, so use it only on a machine you accept full-access execution.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
wechat, chat-bridge, remote-control, qr-login, messaging, im-bridge
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Chat with your coding agent from WeChat. Scan a QR code, and your WeChat becomes a terminal for
Claude Code (cc2wechat) or Codex (cx2wechat).
npm install -g @aster110/cc2wechat@latest
Requires Node.js >= 22, plus whichever agent you want to drive:
Claude Code or
Codex CLI (npm i -g @openai/codex, then codex login).
cc2wechat login --name myname
A browser page opens with a QR code. Scan it with WeChat, confirm on your phone. Done.
# Run this in the project directory you want Claude Code to work in
cd ~/my-project
cc2wechat start myname
Now send a message to the linked WeChat account — Claude Code will process it and reply.
cc2wechat stop myname
Same daemon, different backend. Use the cx2wechat alias (identical CLI, just defaults to the
codex backend):
cx2wechat login --name mybox
cd ~/my-project && cx2wechat start mybox
Or keep using cc2wechat and pick the backend explicitly:
CC2WECHAT_BACKEND=codex cc2wechat start mybox
Notes:
codex exec --json with
--dangerously-bypass-approvals-and-sandbox, so run it where you accept full-access execution
(a disposable VM or a machine you own).~/.cc2wechat/codex-threads-<port>.json. /new and /exit drop the mapping so the next
message starts a fresh codex thread.AGENTS.md for context. On a remote box, tell it where it is — otherwise "check my
machine" gets answered about the wrong machine. A $CODEX_HOME/AGENTS.md covering host
identity, that replies land in WeChat (so keep them short), and that permissions are already
granted goes a long way.CC2WECHAT_CODEX_EFFORT=medium, which overrides model_reasoning_effort without touching your
config.toml.Each account gets its own port, fully isolated:
cc2wechat login --name work # port 18081
cc2wechat login --name personal # port 18082 (auto-assigned)
cc2wechat start # start all
cc2wechat stop # stop all
cc2wechat status # show all
Users can send these commands in WeChat:
| Command | Effect |
|---|---|
/new | Close current session, open a new one |
/exit or quit | Close current session |
/help | Show help |
With the codex backend, /new and /exit drop the stored thread mapping, so the next message
opens a fresh codex thread.
cc2wechat login [--name X] Scan QR to login
cc2wechat start [name] Start daemon (one or all)
cc2wechat stop [name] Stop daemon (one or all)
cc2wechat restart [name] Restart daemon
cc2wechat status Show all accounts & daemons
cc2wechat rename old new Rename an account
cc2wechat --text "hello" Reply to current WeChat context
cc2wechat --image /tmp/s.png Send image
cc2wechat --file /tmp/f.pdf Send file
cc2wechat web [name] Open ttyd Web Terminal in browser
cc2wechat help Show help
cc2wechat --version Show version
cx2wechat (alias: codex2wechat) takes the exact same commands — it only changes the default
backend to codex.
Optional config file at ~/.claude/channels/wechat-channel/config.json:
{
"delivery": "auto",
"backend": "claude-code",
"port": 18081
}
Handy when one daemon should differ from the global config (e.g. a codex box alongside your Claude Code daemons):
| Variable | Effect |
|---|---|
CC2WECHAT_BACKEND | claude-code (default), codex (persistent app-server), codex-exec (one-shot spawn escape hatch), or claude-app (drive Claude desktop app sessions — see docs/claude-app/) |
CC2WECHAT_DELIVERY | Same values as delivery below |
CC2WECHAT_ENGINE | v5 / v6 — force an engine; the ultimate rollback switch |
CC2WECHAT_CODEX_EFFORT | Overrides codex model_reasoning_effort for this channel only |
CC2WECHAT_PORT | Which account/port this daemon serves |
CODEX_HOME | Point codex at a separate auth/config dir (multi-account isolation) |
CC2WECHAT_TURN_TIMEOUT_MS / CC2WECHAT_SESSION_TTL_MS / CC2WECHAT_MAX_CONCURRENT / CC2WECHAT_QUEUE_CAP | v6 tunables: per-turn timeout (disabled by default; 0 disables it), idle session TTL (12h), global concurrency (2), per-conversation queue cap (5) |
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: name: Plugin name cannot contain spaces. Use kebab-case (e.g., "my-plugin")
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
Plugins from other owners that cover similar ground