Loading...
Loading...
Bind / unbind / reconnect the user's WeChat — QR scan flow + lifecycle
npx skill4agent add starchild-ai-agent/official-skills wechat-bindingsend_to_wechatwechatconfig/context/references/messaging-channels.mdskills/tg-bot-binding/SKILL.mdqrcode → user scans → qrcode_status(qrcode=...) → connect(bot_token=...)wechat(action="qrcode")qrcodefile_pathfile_pathsend_to_telegramfile_pathwechat(action="qrcode_status", qrcode=<id from step 1>)bot_tokenwechat(action="connect", bot_token=<from step 4>)ilink_bot_idilink_user_id| action | required | purpose |
|---|---|---|
| — | Current WeChat connection state. Use before reconnect, to verify binding. |
| — | Generate QR code image (saved to workspace). Returns |
| | Poll whether user has scanned + confirmed. Returns |
| | Complete a NEW WeChat connection (after first-ever QR scan). Optional: |
| — | Terminate current WeChat session (unlink). |
| | Re-establish a previously-bound WeChat (token from a fresh QR scan). |
connectreconnectstatusconnected: falseconnectconnected: falsereconnect| User channel | How to show the QR |
|---|---|
| Web | Include |
| Telegram | |
| (You can't — they're trying to bind WeChat in the first place. Tell them to open the web app.) |
qrcode_statusqrcodeqrcodeqrcodebot_tokenqrcode_statusconnectreconnectdisconnect