Loading...
Loading...
Help users quickly configure and use the WeChat channel feature. Use this skill when users want to 'configure WeChat', 'connect to WeChat', 'set up WeChat bot', 'weixin setup', or 'wechat channel'.
npx skill4agent add qwenlm/qwen-code-examples weixin-channel-setupqwen channel configure-weixin~/.qwen/channels/weixin/account.json~/.qwen/settings.jsonchannels{
"channels": {
"my-weixin": {
"type": "weixin",
"senderPolicy": "allowlist",
"allowedUsers": ["YOUR_WEIXIN_USER_ID"],
"sessionScope": "user",
"cwd": "/path/to/your/project",
"instructions": "You are a concise programming assistant, replying via WeChat. Keep answers brief.",
"model": "qwen3.5-plus"
}
}
}cat ~/.qwen/channels/weixin/account.json | grep userIduserIdallowedUsersqwen channel start my-weixin| Option | Required | Description | Example |
|---|---|---|---|
| ✅ | Channel type, fixed as | |
| ❌ | Access policy: | |
| Recommended | List of allowed WeChat user IDs | |
| ❌ | Session scope: | |
| Recommended | AI working directory | |
| ❌ | System instructions to control the AI's behavior style | "Keep answers brief" |
| ❌ | Model to use | |
# View currently configured channels
qwen channel --help
# Start WeChat channel
qwen channel start my-weixin
# Check WeChat account status
qwen channel configure-weixin status
# Clear WeChat credentials (use when re-logging in)
qwen channel configure-weixin clear
# Stop the channel (Ctrl+C or kill process)
kill <PID># Re-run the configuration command
qwen channel configure-weixinps aux | grep "channel start"allowedUserssettings.json# View detailed logs
DEBUG=1 qwen channel start my-weixin# Clear old credentials
qwen channel configure-weixin clear
# Re-scan QR code to log in
qwen channel configure-weixinallowedUsers{
"channels": {
"my-weixin": {
"type": "weixin",
"senderPolicy": "allowlist",
"allowedUsers": ["user1@im.wechat", "user2@im.wechat", "user3@im.wechat"]
}
}
}{
"channels": {
"my-weixin": {
"type": "weixin",
"senderPolicy": "open"
}
}
}instructions{
"instructions": "You are a professional code review assistant. Answers should be concise and professional, prioritizing solutions followed by explanations."
}600account.jsonconfigure-weixin cleardocs/users/features/channels/overview.mddocs/users/features/channels/telegram.mdqwen --help