← ClaudeAtlas

wechat-configurelisted

Set up the WeChat channel — scan QR code to login, check channel status. Use when the user asks to configure WeChat, login, or check channel status.
aamal8368/claude-plugin-wechat · ★ 1 · AI & Automation · score 67
Install: claude install-skill aamal8368/claude-plugin-wechat
# /wechat:configure — WeChat Channel Setup Manages WeChat iLink Bot login and credential storage. Credentials live in `~/.claude/channels/wechat/credentials.json`. Arguments passed: `$ARGUMENTS` --- ## Dispatch on arguments ### No args — status and guidance Read both state files and give the user a complete picture: 1. **Credentials** — check `~/.claude/channels/wechat/credentials.json` for `token` and `baseUrl`. Show set/not-set; if set, show token first 6 chars masked. 2. **Access** — read `~/.claude/channels/wechat/access.json` (missing file = defaults: `dmPolicy: "pairing"`, empty allowlist). Show: - DM policy and what it means - Allowed senders: count and list - Pending pairings: count with codes and sender IDs 3. **What next** — concrete next step based on state: - No credentials → *"Run `/wechat:configure login` to scan QR code and connect."* - Credentials set, nobody allowed → *"Send a message to the bot on WeChat. It replies with a code; approve with `/wechat:access pair <code>`."* - Credentials set, someone allowed → *"Ready. Message the bot on WeChat to reach the assistant."* ### `login` — QR code login This is a TWO-STEP process. The scripts are in the plugin install directory. Find the plugin root by looking for the `channels/wechat/login-qr.ts` file: ``` ~/.claude/plugins/cache/lc2panda-plugins/wechat/*/channels/wechat/login-qr.ts ``` Use `ls` to resolve the wildcard and get the actual path. **Step 1: Fetch and display QR