Install
openclaw skills install openclaw-weixin-setupInstall and connect the WeChat (微信) channel plugin for OpenClaw. Use when the user asks to set up WeChat, connect WeChat, install the WeChat plugin, scan WeChat QR code, or link their WeChat account to OpenClaw. Triggers on phrases like "connect WeChat", "install WeChat plugin", "微信插件", "连接微信", "微信扫码".
openclaw skills install openclaw-weixin-setupInstall and connect WeChat as a messaging channel for OpenClaw.
openclaw CLI available)npx -y @tencent-weixin/openclaw-weixin-cli@latest install
This command will:
@tencent-weixin/openclaw-weixin pluginThe CLI prints an ASCII QR code in the terminal. The user must scan it with their WeChat mobile app to authorize the connection.
Important: The QR code renders correctly only in a monospace terminal. It will appear garbled in chat interfaces (webchat, Feishu, etc.) due to proportional fonts. If the user cannot see the QR code clearly:
openclaw channels login --channel openclaw-weixin after plugin is installedAfter scanning, verify the connection:
openclaw status 2>/dev/null | grep -i "openclaw-weixin"
Expected output should show openclaw-weixin │ ON │ OK.
If the plugin was installed but the gateway wasn't restarted:
openclaw gateway restart
openclaw channels login --channel openclaw-weixin
Each scan creates a new account entry. Multiple WeChat accounts can be online simultaneously.
To isolate conversation context per WeChat account:
openclaw config set agents.mode per-channel-per-peer
| Issue | Solution |
|---|---|
| QR code garbled in chat | Run the command in a real terminal |
| QR code expired | Re-run openclaw channels login --channel openclaw-weixin |
| Plugin not loading | Check openclaw status, ensure plugins.entries.openclaw-weixin.enabled is true |
| "No install record" warning | Non-critical; plugin still functions if files exist locally |
| Connection dropped | Re-run login command to re-authenticate |