Automation
Skill
/wecom-notify
Send messages to WeCom (企业微信) via the WeCom API. Use when the user asks to "send wecom message", "notify via wecom", "发企业微信", "给我发企业微信消息", "wecom通知", "发文件到企业微信", "发图片到企业微信", or when a task completes and the user wants notification on WeCom.
Install
$ npx -y skills add xueheng-li/openclaw-wechat --skill wecom-notify --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/wecom-notify
Context preview
The summary Claude sees to decide when to auto-load this skill.
Send messages to WeCom (企业微信) via the WeCom API. Use when the user asks to "send wecom message", "notify via wecom", "发企业微信", "给我发企业微信消息", "wecom通知", "发文件到企业微信", "发图片到企业微信", or when a task completes and the user wants notification on WeCom.
SKILL.md
wecom-notify.SKILL.mdname: wecom-notify
description: Send messages to WeCom (企业微信) via the WeCom API. Use when the user asks to "send wecom message", "notify via wecom", "发企业微信", "给我发企业微信消息", "wecom通知", "发文件到企业微信", "发图片到企业微信", or when a task completes and the user wants notification on WeCom.
WeCom Notify
Send text, image, or file messages to WeCom (企业微信) using `scripts/send_wecom.py`.
Usage
# Text message
python3 scripts/send_wecom.py "消息内容"
python3 scripts/send_wecom.py "消息内容" --to LiXueHeng
# Image message
python3 scripts/send_wecom.py --image /path/to/photo.png
python3 scripts/send_wecom.py --image /path/to/chart.jpg --to @all
# File message
python3 scripts/send_wecom.py --file /path/to/report.pdf
python3 scripts/send_wecom.py --file /path/to/data.xlsx --to LiXueHeng
Default recipient: `LiXueHeng`. Config is read from `~/.openclaw/openclaw.json` (env.vars section).
Notes
- Requires proxy (`WECOM_PROXY` in config) — API calls route through Guangzhou VPS tinyproxy at `10.147.17.105:8888` via ZeroTier
- WeCom text messages have a 2048-byte limit (~680 Chinese characters). For longer messages, split into multiple sends
- Image upload supports: jpg, png, gif (max 2MB for image type)
- File upload supports: any format (max 20MB)
- Uploaded media is temporary (3 days validity on WeCom servers)
- The script uses only Python stdlib (`urllib.request`, `json`, `mimetypes`, `uuid`) — no pip dependencies
Read more
name: wecom-notify description: Send messages to WeCom (企业微信) via the WeCom API. Use when the user asks to "send wecom message", "notify via wecom", "发企业微信", "给我发企业微信消息", "wecom通知", "发文件到企业微信", "发图片到企业微信", or when a task completes and the user wants notification on WeCom.
WeCom Notify
Send text, image, or file messages to WeCom (企业微信) using `scripts/send_wecom.py`.
Usage
# Text message python3 scripts/send_wecom.py "消息内容" python3 scripts/send_wecom.py "消息内容" --to LiXueHeng # Image message python3 scripts/send_wecom.py --image /path/to/photo.png python3 scripts/send_wecom.py --image /path/to/chart.jpg --to @all # File message python3 scripts/send_wecom.py --file /path/to/report.pdf python3 scripts/send_wecom.py --file /path/to/data.xlsx --to LiXueHeng
Default recipient: `LiXueHeng`. Config is read from `~/.openclaw/openclaw.json` (env.vars section).
Notes
- Requires proxy (`WECOM_PROXY` in config) — API calls route through Guangzhou VPS tinyproxy at `10.147.17.105:8888` via ZeroTier
- WeCom text messages have a 2048-byte limit (~680 Chinese characters). For longer messages, split into multiple sends
- Image upload supports: jpg, png, gif (max 2MB for image type)
- File upload supports: any format (max 20MB)
- Uploaded media is temporary (3 days validity on WeCom servers)
- The script uses only Python stdlib (`urllib.request`, `json`, `mimetypes`, `uuid`) — no pip dependencies
Stats
153
Stars
21
Forks
Quiet
Maintenance
JavaScript
Language
MIT
License
7mo ago
Last commit
8mo ago
Created
1d ago
Added

