Help us improve
Share bugs, ideas, or general feedback.
From weixin
Set up the WeChat channel — scan QR code to log in and review access policy. Use when the user asks to configure WeChat, set up the bot, scan a QR code, or check channel status.
npx claudepluginhub weicyruc/claude-weixin-channel --plugin weixinHow this skill is triggered — by the user, by Claude, or both
Slash command
/weixin:configureThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Guides the user through WeChat QR code login and saves credentials to
Configures WeChat iLink bot channel: checks credentials/access status, generates QR code for login, polls scan confirmation, stores tokens.
Configures WeChat channel in Claude Code: runs QR login via terminal or link, checks credentials status, clears credentials, sets custom API base URL.
Sets up WeChat channel connection via QR code login. Checks existing credentials, supports re-login, logout, and full reset.
Share bugs, ideas, or general feedback.
Guides the user through WeChat QR code login and saves credentials to
~/.claude/channels/weixin/account.json.
Arguments passed: $ARGUMENTS
Check existing config — read ~/.claude/channels/weixin/account.json.
bot_token: report "Already logged in (account: <account_id>). Run /weixin:configure relogin to re-authenticate."Start QR login — call mcp__weixin__weixin_qr_login tool.
Returns { qrcode, qrcode_img_content, instructions }.
Display QR code — call mcp__mcp-qr-terminal__display_qr_from_text
with the qrcode_img_content URL. Tell the user:
"扫描上方二维码,然后在微信手机端确认授权。"
Poll login status — call mcp__weixin__weixin_poll_login with the
qrcode value. Repeat every few seconds:
wait → "等待扫码中..."scaned → "已扫码!请在手机微信上点击确认。"confirmed → credentials auto-saved. Proceed to step 5.expired → "二维码已过期,请重新运行 /weixin:configure。"Done — on success, tell the user:
~/.claude/channels/weixin/account.json--channels 标志以激活频道/weixin:access 管理谁可以给你发消息relogin — force re-authenticationSkip the "already logged in" check and start the QR login flow directly.
status — show current stateRead ~/.claude/channels/weixin/account.json and access.json, display:
~/.claude/channels/weixin/ may not exist on first run. Handle ENOENT gracefully.bot_token.account.json once at boot. After login, prompt the user to restart Claude Code.