Awesome-openclaw-skills wecom
Send messages to WeCom (企业微信) via webhooks using MCP protocol. Works with Claude Code, Claude Desktop, and other MCP clients.
install
source · Clone the upstream repo
git clone https://github.com/sundial-org/awesome-openclaw-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/sundial-org/awesome-openclaw-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/wecom" ~/.claude/skills/sundial-org-awesome-openclaw-skills-wecom && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/sundial-org/awesome-openclaw-skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/wecom" ~/.openclaw/skills/sundial-org-awesome-openclaw-skills-wecom && rm -rf "$T"
manifest:
skills/wecom/SKILL.mdsource content
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:
| Feature | Syntax |
|---|---|
| Bold | or |
| Italic | or |
| Strikethrough | or |
| Mention | |
| Link | |
| Image | |
| Font size | |
| Color | |
Environment Variables
| Variable | Required | Default | Description |
|---|---|---|---|
| Yes | - | WeCom webhook URL |
| No | 10000 | Request timeout (ms) |