WeCom Connect for Openclaw

A streamlined skill for connecting and authorizing Enterprise WeChat (WeCom) bots within the OpenClaw environment.

easelearnai
v1.0.0
Mar 21, 2026
0
1.2k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install wecom-connect

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install wecom-connect using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is WeCom Connect?

The WeCom Connect skill provides a direct bridge between OpenClaw and Enterprise WeChat. Instead of complex manual token management, it leverages a dynamic authentication link that users can simply open within their WeCom app to grant permissions. This skill is a core part of the Openclaw Skills ecosystem, designed to simplify the setup of chat-based automation and robotic integrations. It eliminates the need for manual file transfers or image generation by utilizing a link-based authorization flow directly within the mobile WeCom client.

WeCom Connect Use Cases

  • Connecting a new Enterprise WeChat account to an AI agent.
  • Binding or creating a new WeCom robot for automated workflows.
  • Integrating Openclaw Skills with corporate communication channels.
  • Fast-tracking the authentication process via mobile app authorization and scancode binding.

How WeCom Connect Works

  1. The skill calls a generation endpoint to retrieve a unique scode and an auth_url.
  2. The user receives the auth_url and must paste it into any Enterprise WeChat chat window on their mobile device.
  3. After the user clicks the link and completes the authorization in the app, they notify the agent that the configuration is complete.
  4. The skill polls the query result endpoint using the scode to retrieve the botId and secret.
  5. Upon successful retrieval, the skill automatically updates the local OpenClaw configuration file.
  6. The skill restarts the OpenClaw gateway to apply the new settings.

WeCom Connect Setup

To use this skill within the Openclaw Skills framework, follow these steps:

  1. Trigger the connection process by asking the agent to connect Enterprise WeChat.
  2. The agent will execute the following command to generate the authorization link:
curl -s "https://work.weixin.qq.com/ai/qc/generate?source=wecom-cli&plat=3"
  1. Copy the provided link into your Enterprise WeChat app and authorize.
  2. Once authorized, tell the agent you are done to trigger the configuration update.

WeCom Connect Data Schema & Taxonomy

The skill interacts primarily with the local configuration file to enable the channel. Data is organized as follows:

Configuration Key Description
channels.wecom.botId The unique identifier for the authorized WeCom robot.
channels.wecom.secret The secure credential used to authenticate the robot.
channels.wecom.enabled Boolean flag set to true to activate the channel.

All configurations are written to ~/.openclaw/openclaw.json.

WeCom Connect Advanced Features

  • Smart polling mechanism with 3-second intervals and a 3-minute timeout window.
  • Automated gateway lifecycle management via openclaw gateway restart commands.
  • Native integration with Openclaw Skills for multi-agent communication flows.
  • High-security credential handling that avoids the use of external CDNs or temporary image storage.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*