Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By ZephyrDengv2.0.0MITIn 1 marketplace
现代化通知系统 - TypeScript 5.3+ 开发,支持 Webhook(飞书/Slack/Discord) + macOS 原生通知,预构建分发无需编译,提供强大 CLI 工具集
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
webhook, notification, automation, integration, hooks, session-end
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
现代化的 Claude Code 通知系统,使用 TypeScript 重写,支持 Webhook 和 macOS 原生通知。
webhook test - 测试通知配置webhook config - 配置管理(显示/初始化/验证)webhook logs - 查看通知日志技术栈升级:
新增功能:
# 通过插件市场安装(推荐)
/plugin marketplace add /path/to/cc-plugins
/plugin install webhook-notifier
# 或手动克隆(预构建版本,无需编译)
git clone https://github.com/your-repo/webhook-notifier.git
cd webhook-notifier
# 插件已预构建,可直接使用!
# 创建用户级配置(推荐,跨项目共享)
node dist/index.js config --init
# 或
node dist/index.js config --init --scope user
# 创建项目级配置(仅当前项目)
node dist/index.js config --init --scope project
配置文件位置:
~/.claude/plugins/webhook-notifier/.webhookrc.yaml<项目目录>/.webhookrc.yaml⚠️ 注意: 如果使用项目级配置,请将 .webhookrc.yaml 添加到 .gitignore。
# .webhookrc.yaml
logging:
level: info
directory: ./logs
format: json
rotation: daily
events:
notification:
enabled: true
extract_context: true
context_length: 200
session_end:
enabled: true
notifiers:
webhook:
enabled: true
url: https://your-webhook-endpoint.com/notify
timeout: 10
retry:
max_attempts: 3
backoff: exponential
macos:
enabled: true
title: Claude Code
sound: default
actions:
- label: Open Project
action: open_project
# 测试所有通知器
node dist/index.js test
# 测试特定通知器
node dist/index.js test --notifier webhook
node dist/index.js test --notifier macos
webhook test测试通知配置,发送测试通知到所有启用的通知器。
# 测试所有通知器
webhook test
# 测试特定通知器
webhook test --notifier webhook
webhook test --notifier macos
webhook test --notifier all
webhook config管理配置文件。
# 显示当前配置
webhook config --show
# 初始化用户级配置(推荐)
webhook config --init
webhook config --init --scope user
# 初始化项目级配置
webhook config --init --scope project
# 验证配置有效性
webhook config --validate
webhook logs查看通知日志。
# 查看最近 20 条日志
webhook logs
# 查看最近 50 条日志
webhook logs --lines 50
# 过滤特定级别
webhook logs --level error
# 实时跟踪(开发中)
webhook logs --follow
配置文件搜索优先级:
WEBHOOK_CONFIG_PATH(如果设置)~/.claude/plugins/webhook-notifier/.webhookrc.yaml(推荐)<项目目录>/.webhookrc.yaml~/.webhookrc.yaml(向后兼容)推荐做法:
--init 默认行为)--init --scope project).gitignore# 日志配置
logging:
level: info # debug | info | warn | error
directory: ./logs # 日志目录,支持 ~ 展开
format: json # json | text
rotation: daily # daily | none
# 事件配置
events:
notification:
enabled: true # 是否启用 Notification 事件
extract_context: true # 是否提取对话上下文
context_length: 200 # 上下文最大字符数
session_end:
enabled: true # 是否启用 Session End 事件
# 通知器配置
notifiers:
# Webhook 通知器
webhook:
enabled: true
url: https://your-endpoint.com/notify
timeout: 10 # 超时时间(秒)
headers: # 自定义请求头
Authorization: Bearer ${TOKEN}
X-Custom-Header: value
retry:
max_attempts: 3 # 最大重试次数
backoff: exponential # exponential | linear | none
# macOS 通知器
macos:
enabled: true
title: Claude Code # 通知标题
subtitle: Session Update # 通知副标题(可选)
sound: default # 通知声音:default | none | Ping | ...
actions: # 通知操作按钮
- label: Open Project
action: open_project
- label: View Logs
action: view_logs
templates: # 消息模板
notification: "Claude is waiting for input"
session_end: "Session ended: {{reason}}"
配置文件支持 ${VAR} 格式的环境变量:
notifiers:
webhook:
url: ${WEBHOOK_URL}
headers:
Authorization: Bearer ${API_TOKEN}
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Generated from the plugin's indexed repository (zephyrdeng/cc-plugins) — no native marketplace selected
npx claudepluginhub p/zephyrdeng-webhook-notifier-plugins-webhook-notifierPlugins from other owners that cover similar ground