Skip to content
Back to skills

131 Wecom

ASecurity

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

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 29, 2026
developmenttypescriptpythonbashnodegitapi

Works with

  • claude code
  • claude desktop
  • cli
  • api
  • mcp

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 12 files and shows the line behind each finding

Scanned November 29, 2026

npx -y skills add winlem2024/workbuddy-skills --skill 131-wecom --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 131 Wecom?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 131 Wecom
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/winlem2024-131-wecom/badge)](https://www.skillsdirectory.com/skills/winlem2024-131-wecom)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
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 (ENV: `WECOM_WEBHOOK_URL`).

`WeCom` is the enterprise version (using in office) of the famous all-in-on IM `WeChat` envied by Elon Musk.

## Setup

```bash
# 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`:

```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 three new tools:

# Tools

## `send_wecom_message`

Send a text message to WeCom.

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

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

## `send_wecom_markdown_v2`

Send a markdown_v2 message to WeCom. **Recommended** — supports tables, code blocks, nested blockquotes, H1-H3 headers, and all standard markdown.

```bash
await send_wecom_markdown_v2({
  content: `# Annual Report

## Revenue by Quarter
| Quarter | Revenue | Growth |
| :---- | -----: | ----: |
| Q1 | ¥1.2M | +15% |
| Q2 | ¥1.8M | +50% |
| Q3 | ¥2.1M | +17% |

## Notes
> Key insight: mobile revenue grew 80%
>
>> Detail: driven by short video ads
>
>> Another point: new user acquisition cost down 30%

## Code Example
\`\`\`python
def hello():
    print("Hello WeCom!")
\`\`\`

---

More info [here](https://work.weixin.qq.com/api/doc)`
});
```

# WeCom Markdown v2 Features

markdown_v2 supports everything the original markdown supports, **plus**:

| Feature | Syntax | Example |
|---------|--------|----------|
| Tables | `\| col \| col \|` with `\| :--- \| -----: \|` | Supported with alignment |
| Nested blockquotes | `>>>` or `>>` | Up to 3 levels |
| H1/H2/H3 | `#` `##` `###` | Three heading levels |
| Code blocks | `\`code\`` and `\`\`\`lang` | Inline and multi-line |
| Horizontal rule | `---` | Dividers |
| Links | `[text](url)` | Standard markdown |
| Images | `![alt](url)` | Direct URL |

# WeCom Markdown (v1) Tags

The original `send_wecom_markdown` supports these limited tags:

| Feature | Syntax |
|---------|--------|
| 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>` |

⚠️ **v1 does NOT support tables, code blocks, or H1-H3 headers.** Use `send_wecom_markdown_v2` when you need those.

# Environment Variables

| Variable | Required | Default | Description |
|----------|----------|---------|-------------|
| `WECOM_WEBHOOK_URL` | Yes | - | WeCom webhook URL |
| `WECOM_TIMEOUT_MS` | No | 10000 | Request timeout (ms) |

# How To

Get `WECOM_WEBHOOK_URL` following steps here, and envolve it as a bot into a group chat:

(Tip: You should get the `WECOM_WEBHOOK_URL` entirely as a URL, NOT just a KEY )

### STEP 1

![STEP 1](https://cdn.jsdelivr.net/gh/qidu/qidu.github.io@main/public/images/wecom/step1_wecom.png)

### STEP 2

![STEP 2](https://cdn.jsdelivr.net/gh/qidu/qidu.github.io@main/public/images/wecom/step2_wecom.png)

### STEP 3

![STEP 3](https://cdn.jsdelivr.net/gh/qidu/qidu.github.io@main/public/images/wecom/step3_wecom.png)

### STEP 4

![STEP 4](https://cdn.jsdelivr.net/gh/qidu/qidu.github.io@main/public/images/wecom/step4_wecom.png)

# Reference

[Message Receiving and Sending in a Group Chat](https://developer.work.weixin.qq.com/document/path/99110)

[Download WeCom Apps](https://work.weixin.qq.com/#indexDownload)

Files in this skill

  • .clawhub/origin.json247 B
  • README.md2.3 KB
  • SKILL.md4.1 KB
  • _meta.json124 B
  • dist/index.d.ts302 B
  • dist/index.js6.6 KB
  • package-lock.json51.7 KB
  • package.json590 B
  • skill-card.md2.2 KB
  • skill.json589 B
  • src/index.ts5.7 KB
  • tsconfig.json507 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.