modelscope.cn

wecom

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

Installation

$ npx skills add https://modelscope.cn

Also in this package

Other skills from modelscope.cn · top by installs.

npx skills add https://modelscope.cn

Browse all from modelscope.cn

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Declared agents claude-code

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,038 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

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

sendwecommessage

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"]
});

sendwecommarkdown

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:

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>

Environment Variables

Variable Required Default Description
WECOMWEBHOOKURL Yes - WeCom webhook URL
WECOMTIMEOUTMS No 10000 Request timeout (ms)