← 返回
未分类

OpenClaw WeChat Setup

Install and connect the WeChat (微信) channel plugin for OpenClaw. Use when the user asks to set up WeChat, connect WeChat, install the WeChat plugin, scan WeC...
为 OpenClaw 安装并连接微信渠道插件。当用户要求设置微信、连接微信、安装微信插件或扫描微信二维码时使用。
kylinr kylinr 来源
未分类 clawhub v1.0.0 1 版本 99875.6 Key: 无需
★ 1
Stars
📥 783
下载
💾 2
安装
1
版本
#latest

概述

OpenClaw WeChat (微信) Plugin Setup

Install and connect WeChat as a messaging channel for OpenClaw.

Prerequisites

  • OpenClaw installed and running (openclaw CLI available)
  • A WeChat account on a mobile device for QR code scanning

Setup Workflow

Step 1: Install the plugin

npx -y @tencent-weixin/openclaw-weixin-cli@latest install

This command will:

  1. Detect the local OpenClaw installation
  2. Download and install the @tencent-weixin/openclaw-weixin plugin
  3. Enable the plugin in OpenClaw config
  4. Start the WeChat QR code login flow
  5. Display a terminal QR code for scanning

Step 2: Scan the QR code

The 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:

  • Instruct them to run the command directly in their terminal (Terminal.app, iTerm2, etc.)
  • Or use openclaw channels login --channel openclaw-weixin after plugin is installed

Step 3: Verify connection

After scanning, verify the connection:

openclaw status 2>/dev/null | grep -i "openclaw-weixin"

Expected output should show openclaw-weixin │ ON │ OK.

Step 4: Restart gateway (if needed)

If the plugin was installed but the gateway wasn't restarted:

openclaw gateway restart

Adding More WeChat Accounts

openclaw channels login --channel openclaw-weixin

Each scan creates a new account entry. Multiple WeChat accounts can be online simultaneously.

Context Isolation (Optional)

To isolate conversation context per WeChat account:

openclaw config set agents.mode per-channel-per-peer

Troubleshooting

IssueSolution
-----------------
QR code garbled in chatRun the command in a real terminal
QR code expiredRe-run openclaw channels login --channel openclaw-weixin
Plugin not loadingCheck openclaw status, ensure plugins.entries.openclaw-weixin.enabled is true
"No install record" warningNon-critical; plugin still functions if files exist locally
Connection droppedRe-run login command to re-authenticate

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-03 03:40 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,402 📥 323,463
ai-agent

Find Skills

guipi888
场景驱动+关键词双模式技能发现工具。当用户用自然语言描述场景/需求(如"我想做一个海报""帮我分析股票"),或明确说"安装技能/find skills/找个skill"时,自动从官方内置、本地已安装、SkillHub、虾评、GitHub、C
★ 1,480 📥 542,673
business-ops

Feishu Audio Message

kylinr
将TTS音频作为可播放的音频消息(非文件附件)发送到飞书聊天。用于用户要求发送语音消息、TTS音频、语音公告等场景。
★ 1 📥 1,191