← ClaudeAtlas

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.
goldiacogitative647/claude-plugin-weixin · ★ 0 · AI & Automation · score 65
Install: claude install-skill goldiacogitative647/claude-plugin-weixin
# /weixin:configure — WeChat Channel Setup Manages WeChat iLink Bot login and credential storage. Credentials live in `~/.claude/channels/weixin/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/weixin/credentials.json` for `token` and `baseUrl`. Show set/not-set; if set, show token first 6 chars masked. 2. **Access** — read `~/.claude/channels/weixin/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 `/weixin: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 `/weixin: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 `login-qr.ts` file: ``` ~/.claude/plugins/cache/m1heng-plugins/weixin/*/login-qr.ts ``` Use `ls` to resolve the wildcard and get the actual path. **Step 1: Fetch and display QR code** ```bash bun <plugin-root>