
Wecom Notify
Sends notifications to WeCom (WeChat Work) when you need to pipe messages, images, or files from Claude's workspace into China's enterprise messaging ecosystem. Built for a specific workflow where completed tasks trigger notifications through a Guangzhou proxy server, with sensible defaults pointing to a user named LiXueHeng. The implementation is refreshingly dependency-free, using only Python stdlib to handle the 2048-byte text limit and temporary media uploads. This is clearly scratching a personal itch rather than a general-purpose integration, but if you're running automated workflows that need to surface results in WeCom, the script structure is straightforward enough to adapt.
- skills.sh installs
- 512
- GitHub stars
- 152
- last updated
- Aug 21, 2026
Install
$ npx -y skills add xueheng-li/openclaw-wechat --skill wecom-notify --agent claude-codeInstalls into .claude/skills of the current project.
Files
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_PROXYin config) — API calls route through Guangzhou VPS tinyproxy at10.147.17.105:8888via 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
Sponsors
Details
- Repository
- github.com/xueheng-li/openclaw-wechat
- Category
- Backend & APIs
- First seen
- Jun 3, 2026