skills$openclaw/wecom
qidu7.4k

by qidu

wecom – OpenClaw Skill

wecom is an OpenClaw Skills integration for coding workflows. Send messages to WeCom (企业微信) via webhooks using MCP protocol. Works with Claude Code, Claude Desktop, and other MCP clients.

7.4k stars2.5k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

namewecom
descriptionSend messages to WeCom (企业微信) via webhooks using MCP protocol. Works with Claude Code, Claude Desktop, and other MCP clients. OpenClaw Skills integration.
ownerqidu
repositoryqidu/wecom
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @qidu/wecom
last updatedFeb 7, 2026

Maintainer

qidu

qidu

Maintains wecom in the OpenClaw Skills directory.

View GitHub profile
File Explorer
9 files
.
src
index.ts
4.3 KB
_meta.json
260 B
package-lock.json
51.7 KB
package.json
590 B
README.md
2.3 KB
skill.json
589 B
SKILL.md
2.0 KB
tsconfig.json
507 B
SKILL.md

name: wecom description: "Send messages to WeCom (企业微信) via webhooks using MCP protocol. Works with Claude Code, Claude Desktop, and other MCP clients."

WeCom Skill

Send text and markdown messages to WeCom (企业微信) via incoming webhooks.

Setup

# Navigate to skill directory
cd skills/wecom

# Install dependencies
npm install

# Build TypeScript
npm run build

# Set webhook URL
export WECOM_WEBHOOK_URL="https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=YOUR_KEY"

Usage with Claude Code

Add to your ~/.config/claude_code/mcp.json:

{
  "mcpServers": {
    "wecom": {
      "command": "node",
      "args": ["/path/to/clawdbot/skills/wecom/dist/index.js"],
      "env": {
        "WECOM_WEBHOOK_URL": "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=YOUR_KEY"
      }
    }
  }
}

Then restart Claude Code. You'll have two new tools:

Tools

send_wecom_message

Send a text message to WeCom.

# Simple message
await send_wecom_message({ content: "Hello from Clawdbot!" });

# With mentions
await send_wecom_message({
  content: "Meeting starting now",
  mentioned_list: ["zhangsan", "lisi"]
});

send_wecom_markdown

Send a markdown message (WeCom flavor).

await send_wecom_markdown({
  content: `# Daily Report
  
**Completed:**
- Task A
- Task B

**Pending:**
- Task C

<@zhangsan>`
});

WeCom Markdown Tags

WeCom supports:

FeatureSyntax
Bold**text** or <strong>text</strong>
Italic*text* or <i>text</i>
Strikethrough~~text~~ or <s>text</s>
Mention<@userid>
Link<a href="url">text</a>
Image<img src="url" />
Font size<font size="5">text</font>
Color<font color="#FF0000">text</font>

Environment Variables

VariableRequiredDefaultDescription
WECOM_WEBHOOK_URLYes-WeCom webhook URL
WECOM_TIMEOUT_MSNo10000Request timeout (ms)
README.md

WeCom MCP Server for Clawdbot

Send messages to WeCom (企业微信) via incoming webhooks.

Installation

# Set your webhook URL
export WECOM_WEBHOOK_URL="https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=YOUR_KEY"

# Install globally
npm install -g wecom-bot-mcp-server

# Or run directly with npx
npx wecom-bot-mcp-server

Available Tools

send_wecom_message

Send a text message to WeCom channel.

{
  "type": "function",
  "function": {
    "name": "send_wecom_message",
    "description": "Send a text message to WeCom via webhook",
    "parameters": {
      "type": "object",
      "properties": {
        "content": {
          "type": "string",
          "description": "Message content to send"
        },
        "mentioned_list": {
          "type": "array",
          "description": "List of userids to mention",
          "items": {"type": "string"}
        }
      },
      "required": ["content"]
    }
  }
}

send_wecom_markdown

Send a markdown message to WeCom channel.

{
  "type": "function",
  "function": {
    "name": "send_wecom_markdown",
    "description": "Send a markdown message to WeCom via webhook",
    "parameters": {
      "type": "object",
      "properties": {
        "content": {
          "type": "string",
          "description": "Markdown content to send"
        }
      },
      "required": ["content"]
    }
  }
}

Environment Variables

VariableRequiredDescription
WECOM_WEBHOOK_URLYesWeCom incoming webhook URL
WECOM_TIMEOUT_MSNoRequest timeout in ms (default: 10000)

WeCom Markdown Support

WeCom supports a subset of Markdown:

  • Bold: <strong>text</strong> or **text**
  • Italic: <i>text</i> or *text*
  • Strikethrough: <s>text</s>
  • Links: <a href="url">text</a>
  • Images: <img src="url" />
  • Headers: <font size="5">text</font>

Examples

import { sendWecomMessage } from 'wecom-bot-mcp-server';

// Send simple text
await sendWecomMessage({
  content: "Hello from Clawdbot!"
});

// Send with mentions
await sendWecomMessage({
  content: "Meeting starting now",
  mentioned_list: ["zhangsan", "lisi"]
});

// Send markdown
await sendWecomMarkdown({
  content: "# Daily Report\n\n**Completed:**\n- Task A\n- Task B\n\n**Pending:**\n- Task C"
});

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

FAQ

How do I install wecom?

Run openclaw add @qidu/wecom in your terminal. This installs wecom into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/qidu/wecom. Review commits and README documentation before installing.