OpenClaw WeChat Setup — OpenClaw WeChat 设置up
v1.0.0安装 and connect the WeChat (微信) channel 插件 for OpenClaw. Use when the user asks to 设置 up WeChat, connect WeChat, 安装 the WeChat 插件, 扫描 WeChat QR code, or link their WeChat account to OpenClaw. Triggers on phrases like "connect WeChat", "安装 WeChat 插件", "微信插件", "连接微信", "微信扫码".
运行时依赖
安装命令
点击复制本土化适配说明
OpenClaw WeChat Setup — OpenClaw WeChat 设置up 安装说明: 安装命令:["openclaw skills install openclaw-weixin-setup","openclaw status 2>/dev/null | grep -i \"openclaw-weixin\"","openclaw gateway restart","openclaw channels login --channel openclaw-weixin","openclaw config set agents.mode per-channel-per-peer"] 该技能用于微信相关操作,可能需要相应的平台账号或API密钥
技能文档
OpenClaw WeChat (微信) 插件 设置up
安装 and connect WeChat as a messaging channel for OpenClaw.
Prerequisites OpenClaw 安装ed and 运行ning (OpenClaw 命令行工具 avAIlable) A WeChat account on a 移动 device for QR code 扫描ning 设置up 工作流 Step 1: 安装 the 插件 npx -y @tencent-weixin/OpenClaw-weixin-命令行工具@latest 安装
This command will:
检测 the local OpenClaw 安装ation 下载 and 安装 the @tencent-weixin/OpenClaw-weixin 插件 Enable the 插件 in OpenClaw config 启动 the WeChat QR code 记录in flow Display a terminal QR code for 扫描ning Step 2: 扫描 the QR code
The 命令行工具 prints an ASCII QR code in the terminal. The user must 扫描 it with their WeChat 移动 应用 to 授权 the connection.
导入ant: The QR code renders correctly only in a monospace terminal. It will 应用ear garbled in chat interfaces (网页chat, Feishu, etc.) due to proportional fonts. If the user cannot see the QR code clearly:
Instruct them to 运行 the command directly in their terminal (Terminal.应用, iTerm2, etc.) Or use OpenClaw channels 记录in --channel OpenClaw-weixin after 插件 is 安装ed Step 3: 验证 connection
After 扫描ning, 验证 the connection:
OpenClaw 状态 2>/dev/null | grep -i "OpenClaw-weixin"
Expected 输出 should show OpenClaw-weixin │ ON │ OK.
Step 4: Re启动 gateway (if needed)
If the 插件 was 安装ed but the gateway wasn't re启动ed:
OpenClaw gateway re启动
添加ing More WeChat Accounts OpenClaw channels 记录in --channel OpenClaw-weixin
Each 扫描 创建s a new account entry. Multiple WeChat accounts can be online simultaneously.
上下文 Isolation (Optional)
To isolate conversation 上下文 per WeChat account:
OpenClaw config 设置 代理s.mode per-channel-per-peer
Troubleshooting Issue Solution QR code garbled in chat 运行 the command in a real terminal QR code expired Re-运行 OpenClaw channels 记录in --channel OpenClaw-weixin 插件 not loading 检查 OpenClaw 状态, ensure 插件s.entries.OpenClaw-weixin.enabled is true "No 安装 record" 警告 Non-critical; 插件 still functions if files exist locally Connection dropped Re-运行 记录in command to re-认证