From windows
Configures Bark push, WeChat, and system notifications for Claude Code projects. Enables persistent alerts and proactive sending via PowerShell scripts after tasks.
npx claudepluginhub oreo992/claude-notification --plugin windowsThis skill uses the workspace's default tool permissions.
This plugin supports configuration and proactive notification sending.
Configures Bark push, WeChat, and system notifications for Claude Code via .claude/claude-notification.local.md. Provides bash scripts for proactive task alerts.
Sends push notifications via Gotify server for long-running task completions, errors, or events using bash scripts with curl, jq, title, priority, and markdown support.
Manages Claude Code audio notifications: installs project, snoozes/mutes, enables/disables hooks, switches themes, tests playback, troubleshoots silence or noise.
Share bugs, ideas, or general feedback.
This plugin supports configuration and proactive notification sending.
Location: .claude/claude-notification.local.md (project root)
| Option | Type | Default | Description |
|---|---|---|---|
bark_url | string | empty | Bark push URL, e.g., https://api.day.app/your-key |
wechat_token | string | empty | WeChat Token, get from https://xtuis.cn/ |
wechat_hook_enabled | boolean | true | Enable WeChat hook auto-trigger |
bark_hook_enabled | boolean | true | Enable Bark hook auto-trigger |
system_notification_enabled | boolean | true | Enable system notifications |
always_notify | boolean | false | Set to true to always notify, even when terminal is in foreground |
---
bark_url: ""
wechat_token: ""
wechat_hook_enabled: true
bark_hook_enabled: true
system_notification_enabled: true
always_notify: false
---
AI can call notification scripts at appropriate times.
Scripts are located in scripts/ directory of this skill:
scripts/notify.ps1 - System notification scriptscripts/bark.ps1 - Bark push script with full parametersscripts/wechat.ps1 - WeChat push scriptpowershell -NoProfile -ExecutionPolicy Bypass -File "${CLAUDE_PLUGIN_ROOT}/skills/notification-config/scripts/notify.ps1" -Title "Title" -Message "Content"
Use scripts/bark.ps1 for rich push notifications:
# View help
powershell -NoProfile -ExecutionPolicy Bypass -File "${CLAUDE_PLUGIN_ROOT}/skills/notification-config/scripts/bark.ps1" -Help
# Simple push
powershell -NoProfile -ExecutionPolicy Bypass -File "${CLAUDE_PLUGIN_ROOT}/skills/notification-config/scripts/bark.ps1" -Url "URL" -Message "Task completed"
# With title
powershell -NoProfile -ExecutionPolicy Bypass -File "${CLAUDE_PLUGIN_ROOT}/skills/notification-config/scripts/bark.ps1" -Url "URL" -Title "Claude" -Message "Code review done"
# Urgent (ring for 30s)
powershell -NoProfile -ExecutionPolicy Bypass -File "${CLAUDE_PLUGIN_ROOT}/skills/notification-config/scripts/bark.ps1" -Url "URL" -Message "Urgent!" -Call
# Grouped message
powershell -NoProfile -ExecutionPolicy Bypass -File "${CLAUDE_PLUGIN_ROOT}/skills/notification-config/scripts/bark.ps1" -Url "URL" -Message "Build done" -Group "build"
| Parameter | Description |
|---|---|
-Url | Bark server URL (required) |
-Message | Push content (required) |
-Title | Push title |
-Group | Message group name |
-Sound | Ringtone (alarm, bell, etc.) |
-Call | Ring for 30 seconds |
-Level | Level: active, timeSensitive, passive |
-Icon | Custom icon URL |
-Badge | Badge number |
-Copy | Content to copy on tap |
-AutoCopy | Auto copy on receive |
-Archive | Save to history |
-RedirectUrl | URL to open on tap |
Use scripts/wechat.ps1 for WeChat notifications:
# View help
powershell -NoProfile -ExecutionPolicy Bypass -File "${CLAUDE_PLUGIN_ROOT}/skills/notification-config/scripts/wechat.ps1" -Help
# Simple push
powershell -NoProfile -ExecutionPolicy Bypass -File "${CLAUDE_PLUGIN_ROOT}/skills/notification-config/scripts/wechat.ps1" -Token "TOKEN" -Text "Task completed"
# With description
powershell -NoProfile -ExecutionPolicy Bypass -File "${CLAUDE_PLUGIN_ROOT}/skills/notification-config/scripts/wechat.ps1" -Token "TOKEN" -Text "Claude Code" -Desp "Code review done"
# Detailed notification
powershell -NoProfile -ExecutionPolicy Bypass -File "${CLAUDE_PLUGIN_ROOT}/skills/notification-config/scripts/wechat.ps1" -Token "TOKEN" -Text "Build completed" -Desp "Project build successful, took 5 minutes"
| Parameter | Description |
|---|---|
-Token | Token (required), get from https://xtuis.cn/ |
-Text | Notification title (required) |
-Desp | Notification content/description (optional) |
Send notifications proactively in these scenarios:
-Call for urgentIMPORTANT: Always check existing configuration first
Check if configuration already exists:
.claude/claude-notification.local.mdbark_url:
Ask user for Bark URL (only if needed)
Create or update configuration file:
.claude/claude-notification.local.mdCheck if CLAUDE.md needs notification configuration:
.claude/CLAUDE.md existsAsk about adding to CLAUDE.md (only if not already configured):
.claude/CLAUDE.md with the following content.{{PLUGIN_PATH}} with the actual expanded value of ${CLAUDE_PLUGIN_ROOT} when writing to CLAUDE.md.## 通知功能配置
### Bark 推送配置
* Bark URL: `<user's bark url>`
### 主动通知场景
AI 应该在以下场景主动发送通知:
1. **长时间任务完成** - 构建、测试、部署等耗时任务完成时
2. **需要用户确认** - 重要决策或需要用户介入时(使用 `-Call` 参数持续响铃)
3. **重要里程碑** - 代码审查完成、PR 创建成功等
4. **错误警报** - 构建失败、测试未通过等异常情况
### 发送通知方法
使用 Bash 工具调用 bark.ps1 脚本:
\```powershell
# 基础通知
powershell -NoProfile -ExecutionPolicy Bypass -File "{{PLUGIN_PATH}}/skills/notification-config/scripts/bark.ps1" -Url "<user's bark url>" -Title "Claude Code" -Message "任务完成"
# 紧急通知(持续响铃30秒)
powershell -NoProfile -ExecutionPolicy Bypass -File "{{PLUGIN_PATH}}/skills/notification-config/scripts/bark.ps1" -Url "<user's bark url>" -Title "Claude Code" -Message "需要确认" -Call
# 分组通知
powershell -NoProfile -ExecutionPolicy Bypass -File "{{PLUGIN_PATH}}/skills/notification-config/scripts/bark.ps1" -Url "<user's bark url>" -Title "构建完成" -Message "项目构建成功" -Group "build"
\```
### 使用原则
* 在用户明确要求通知时发送
* 完成重要任务后主动发送(如代码审查、PR创建、长时间构建等)
* 紧急情况使用 `-Call` 参数
* 相关任务使用 `-Group` 参数分组
IMPORTANT: Always check existing configuration first
Check if configuration already exists:
.claude/claude-notification.local.mdwechat_token:
Guide user to get WeChat Token (only if needed)
Create or update configuration file:
.claude/claude-notification.local.mdCheck if CLAUDE.md needs notification configuration:
.claude/CLAUDE.md existsAsk about adding to CLAUDE.md (only if not already configured):
.claude/CLAUDE.md with the following content.{{PLUGIN_PATH}} with the actual expanded value of ${CLAUDE_PLUGIN_ROOT} when writing to CLAUDE.md.## 通知功能配置
### 微信推送配置
* WeChat Token: `<user's wechat token>`
### 主动通知场景
AI 应该在以下场景主动发送通知:
1. **长时间任务完成** - 构建、测试、部署等耗时任务完成时
2. **需要用户确认** - 重要决策或需要用户介入时
3. **重要里程碑** - 代码审查完成、PR 创建成功等
4. **错误警报** - 构建失败、测试未通过等异常情况
### 发送通知方法
使用 Bash 工具调用 wechat.ps1 脚本:
\```powershell
# 基础通知
powershell -NoProfile -ExecutionPolicy Bypass -File "{{PLUGIN_PATH}}/skills/notification-config/scripts/wechat.ps1" -Token "<user's wechat token>" -Text "任务完成"
# 带详细内容
powershell -NoProfile -ExecutionPolicy Bypass -File "{{PLUGIN_PATH}}/skills/notification-config/scripts/wechat.ps1" -Token "<user's wechat token>" -Text "Claude Code" -Desp "代码审查完成"
# 详细通知
powershell -NoProfile -ExecutionPolicy Bypass -File "{{PLUGIN_PATH}}/skills/notification-config/scripts/wechat.ps1" -Token "<user's wechat token>" -Text "构建完成" -Desp "项目构建成功,耗时 5 分钟"
\```
### 使用原则
* 在用户明确要求通知时发送
* 完成重要任务后主动发送(如代码审查、PR创建、长时间构建等)
* 使用 `-Text` 参数设置标题,`-Desp` 参数设置详细内容
When user requests notification or after completing important tasks:
bark_url and wechat_token from .claude/claude-notification.local.md