Xpersona
O

OpenClaw Weixin Channel

CLAWHUB · Unverified

OpenClaw 微信 channel 插件,支持扫码登录授权。接收微信消息、回复图文/文字/文件,提供完整的微信通道集成。 Skill: OpenClaw Weixin Channel Owner: alichor Summary: OpenClaw 微信 channel 插件,支持扫码登录授权。接收微信消息、回复图文/文字/文件,提供完整的微信通道集成。 Tags: latest:2.0.1 Version history: v2.0.1 | 2026-03-26T04:49:11.302Z | user Initial release: Weixin channel plugin with QR login and message support Archive index: Archive v2.0.1: 45 files, 145143 bytes Files: CHANGELOG.md (130b), CHANGELOG.zh_CN.md (90b), index.ts (1273b), openclaw.plugin.json (190b

62
Rank
84
Safety
4.0k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 4K downloads reported by the source. Last updated 10/9/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17frgzvbpkmy8e37y88qtv3a983m2ys:openclaw-weixin
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-alichor-openclaw-weixin/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

21,574 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: openclaw-weixin
description: OpenClaw 微信 channel 插件,支持扫码登录授权。接收微信消息、回复图文/文字/文件,提供完整的微信通道集成。
metadata:
  {
    "openclaw": {
      "requires": { "bins": ["openclaw"] },
      "install": [
        {
          "id": "node",
          "kind": "node",
          "package": "@tencent-weixin/openclaw-weixin",
          "label": "Install Weixin Channel Plugin (npm)"
        }
      ]
    }
  }
---

# OpenClaw Weixin Channel

微信 channel 插件,支持扫码登录 + 消息收发。

## 安装

```bash
npm install -g @tencent-weixin/openclaw-weixin
```

## 配置

```bash
openclaw plugins install "@tencent-weixin/openclaw-weixin"
openclaw config set plugins.entries.openclaw-weixin.enabled true
```

## 扫码登录

```bash
openclaw channels login --channel openclaw-weixin
```

## 兼容性

| 插件版本 | OpenClaw 版本 |
|---------|--------------|
| 2.0.x   | >=2026.3.22  |
| 1.0.x   | >=2026.1.0  |

## 来源

腾讯微信团队出品 · MIT License

README.md

# WeChat

[简体中文](./README.zh_CN.md)

OpenClaw's WeChat channel plugin, supporting login authorization via QR code scanning.

## Compatibility

| Plugin Version | OpenClaw Version       | npm dist-tag | Status      |
|---------------|------------------------|--------------|-------------|
| 2.0.x         | >=2026.3.22            | `latest`     | Active      |
| 1.0.x         | >=2026.1.0 <2026.3.22  | `legacy`     | Maintenance |

> The plugin checks the host version at startup and will refuse to load if the
> running OpenClaw version is outside the supported range.

## Prerequisites

[OpenClaw](https://docs.openclaw.ai/install) must be installed (the `openclaw` CLI needs to be available).

Check your version: `openclaw --version`

## Quick Install

```bash
npx -y @tencent-weixin/openclaw-weixin-cli install
```

## Manual Installation

If the quick install doesn't work, follow these steps manually:

### 1. Install the plugin

```bash
openclaw plugins install "@tencent-weixin/openclaw-weixin"
```

### 2. Enable the plugin

```bash
openclaw config set plugins.entries.openclaw-weixin.enabled true
```

### 3. QR code login

```bash
openclaw channels login --channel openclaw-weixin
```

A QR code will appear in the terminal. Scan it with your phone and confirm the authorization. Once confirmed, the login credentials will be saved locally automatically — no further action is needed.

### 4. Restart the gateway

```bash
openclaw gateway restart
```

## Adding More WeChat Accounts

```bash
openclaw channels login --channel openclaw-weixin
```

Each QR code login creates a new account entry, supporting multiple WeChat accounts online simultaneously.

## Multi-Account Context Isolation

By default, all channels share the same AI conversation context. To isolate conversation context for each WeChat account:

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

This gives each "WeChat account + message sender" combination its own independent AI memory, preventing context cross-talk between accounts.

## Backend API Protocol

This plugin communicates with the backend gateway via HTTP JSON API. Developers integrating with their own backend need to implement the following interfaces.

All endpoints use `POST` with JSON request and response bodies. Common request headers:

| Header | Description |
|--------|-------------|
| `Content-Type` | `application/json` |
| `AuthorizationType` | Fixed value `ilink_bot_token` |
| `Authorization` | `Bearer <token>` (obtained after login) |
| `X-WECHAT-UIN` | Base64-encoded random uint32 |

### Endpoint List

| Endpoint | Path | Description |
|----------|------|-------------|
| getUpdates | `getupdates` | Long-poll for new messages |
| sendMessage | `sendmessage` | Send a message (text/image/video/file) |
| getUploadUrl | `getuploadurl` | Get CDN upload pre-signed URL |
| getConfig | `getconfig` | Get account config (typing ticket, etc.) |
| sendTyping | `sendtyping` | Send/cancel typing status indicator |

### get

_meta.json

{
  "ownerId": "kn7727exgbsr4gdpc0zd5q141183mhg1",
  "slug": "openclaw-weixin",
  "version": "2.0.1",
  "publishedAt": 1774500551302
}

CHANGELOG.md

# Changelog

[简体中文](CHANGELOG.zh_CN.md)

This project follows the [Keep a Changelog](https://keepachangelog.com/) format.

CHANGELOG.zh_CN.md

# 变更日志

本项目遵循 [Keep a Changelog](https://keepachangelog.com/) 格式。

Sponsored

Ads related to OpenClaw Weixin Channel and adjacent AI workflows.