notify-wecom

GitHub

用于向企业微信群机器人发送单次通知消息。读取配置获取Webhook,支持根据接收者范围决定是否请求人工确认,自动处理代理设置并报告发送结果,适用于临时性告警或状态同步。

notify-wecom/SKILL.md daymade/claude-code-skills

Trigger Scenarios

用户输入 /notify-wecom 命令 要求发送临时企业微信通知 需要快速通知群机器人且无需模板

Install

npx skills add daymade/claude-code-skills --skill notify-wecom -g -y
More Options

Non-standard path

npx skills add https://github.com/daymade/claude-code-skills/tree/main/notify-wecom -g -y

Use without installing

npx skills use daymade/claude-code-skills@notify-wecom

指定 Agent (Claude Code)

npx skills add daymade/claude-code-skills --skill notify-wecom -a claude-code -g -y

安装 repo 全部 skill

npx skills add daymade/claude-code-skills --all -g -y

预览 repo 内 skill

npx skills add daymade/claude-code-skills --list

SKILL.md

Frontmatter
{
    "name": "notify-wecom",
    "description": "Send a single one-off message to a WeCom (Enterprise WeChat) group bot. Use this skill whenever the user says \"\/notify-wecom\", \"send a quick WeCom message\", \"企微通知一下\", \"临时发一条企业微信\", or any one-shot notification that does not need a reusable template or setup workflow.",
    "argument-hint": "[message]"
}

/notify-wecom

Send a single message to a WeCom group bot.

Human confirmation boundary

Read the explicit recipient_scope and recipient_label from the shared config. self is the user's own delivery channel and may send without authorization. others requires the active human-confirmation gate with the exact label and message. Missing/invalid scope is a configuration error: stop and classify the target; do not guess. A local alert/outbox item still needs identity/content validation before either route.

Usage

/notify-wecom Claude Code 备份完成 ✅

The skill reads the webhook URL from the shared config file:

~/.config/setup-notifications-via-wecom/config.json

If the config is missing, it prints the one-line setup command and stops.

Prerequisite

This skill is a lightweight companion to setup-notifications-via-wecom. Either:

  • Install setup-notifications-via-wecom first (recommended — it provides the webhook setup steps and its bundled sender), or
  • Create the config file manually as shown below.

What It Does

  1. Reads ~/.config/setup-notifications-via-wecom/config.json for webhook_url, recipient_scope, and recipient_label.
  2. Unsets all local proxy env vars (Tencent endpoints must be reached directly).
  3. If scope is self, sends without an authorization prompt. If scope is others, presents the exact label and message for human confirmation.
  4. Sends via the WeCom webhook using the sender from setup-notifications-via-wecom (or an equivalent inline curl call).
  5. Reports success or the exact WeCom error; authorization alone is not delivery proof.

Examples

/notify-wecom 服务上线成功 🚀
/notify-wecom 告警:build 失败,请检查
/notify-wecom 今日同步完成,0 缺失 0 滞后

Multi-line Messages

For multi-line messages, wrap in triple quotes or use a file:

/notify-wecom "第一行
第二行
第三行"

Failure Modes

  • Config missing: Run the setup step from setup-notifications-via-wecom, or create the config file manually.
  • Recipient or sender identity missing/invalid: Use setup-notifications-via-wecom's set_recipient.py command; never infer self versus others from the webhook URL, and never trust a script merely because its basename is send_wecom.py.
  • Webhook key invalid: WeCom returns an errcode; the skill prints it.
  • Proxy still interfering: If you have proxy vars set outside the standard names, unset them first.

Limitations

  • Plain text only. No markdown cards, images, or @mentions.
  • Message length limit is 4096 bytes (UTF-8).
  • No templating — use setup-notifications-via-wecom for structured backup/alert/status messages.
  • A prepared pending item is not a delivery receipt; only the sender response proves delivery.

Version History

  • 98c21cf Current 2026-08-28 22:51

    新增 Human confirmation boundary 机制,增加 recipient_scope 和 recipient_label 校验;增强失败模式中的身份验证逻辑,防止错误推断接收者范围。

  • e00a2ec 2026-08-20 11:28

Same Skill Collection

capture-screen/SKILL.md
cloudflare-troubleshooting/SKILL.md
codex-image-gallery/SKILL.md
daymade-claude-code/claude-skills-troubleshooting/SKILL.md
daymade-claude-code/claude-usage-analyst/SKILL.md
daymade-claude-code/continue-claude-work/SKILL.md
daymade-claude-code/lark-cli-router/SKILL.md
daymade-codex/codex-image-gallery/SKILL.md
daymade-codex/design-style-picker/SKILL.md
daymade-docs/doc-to-markdown/SKILL.md
daymade-docs/excel-automation/SKILL.md
daymade-docs/mermaid-tools/SKILL.md
daymade-docs/ppt-creator/SKILL.md
daymade-financial/ashare-news-fetcher/SKILL.md
daymade-financial/devils-advocate/SKILL.md
daymade-financial/gangtise-copilot/SKILL.md
daymade-financial/pharma-daily-report/SKILL.md
daymade-macos/capture-screen/SKILL.md
daymade-skill/skill-reviewer/SKILL.md
daymade-skill/skills-search/SKILL.md
design-style-picker/SKILL.md
douban-skill/SKILL.md
download-gemini-images/SKILL.md
excel-automation/SKILL.md
fact-checker/SKILL.md
gemini-history-analyzer/SKILL.md
github-ops/SKILL.md
github-sensitive-data-cleanup/SKILL.md
i18n-expert/SKILL.md
llm-icon-finder/SKILL.md
macos-cleaner/SKILL.md
openclaw/SKILL.md
product-analysis/SKILL.md
prompt-optimizer/SKILL.md
promptfoo-evaluation/SKILL.md
repomix-unmixer/SKILL.md
scrapling-skill/SKILL.md
setup-notifications-via-wecom/SKILL.md
slides-creator/SKILL.md
tibo-reset-codex/SKILL.md
ui-designer/SKILL.md
video-comparer/SKILL.md
wps-doc-scraper/SKILL.md
youtube-downloader/SKILL.md
auto-repo-setup/SKILL.md
benchmark-due-diligence/SKILL.md
bilibili-source/SKILL.md
cli-demo-generator/SKILL.md
competitors-analysis/SKILL.md

Metadata

Files
0
Version
98c21cf
Hash
beacf942
Indexed
2026-08-20 11:28

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-29 01:29
浙ICP备14020137号-1 $Map of visitor$