weixin-access
Installation
SKILL.md
WeChat Access Control
Manage who can send messages to your AI coding assistant via WeChat.
Instructions
Parse the command argument and perform the appropriate action:
pair <code>
Confirm a 6-digit pairing code. Call confirmPairing(code) from ./src/pairing.js.
- If valid: display the confirmed user ID and confirm they've been added to the allowlist.
- If invalid/expired: display an error.
allow <userId>
Manually add a user ID to the allowlist:
- Load access config with
loadAccessConfig() - Add the userId to
allowFromif not already present - Save with
saveAccessConfig() - Confirm the user was added