Claude Code plugin for Windows — fires toast notifications and audio on permission requests and task completion.
| Hook | When | Behavior |
|---|---|---|
PreToolUse |
Tool called | Starts 3s delayed notification |
PostToolUse |
Tool completes (auto-approved) | Cancels pending notification |
Stop |
Task completed | Toast: "Task completed." |
notify-permission.ps1 fires on every PreToolUse:
- Writes a marker file to
%TEMP%\claude-perm-<tool>.pending - Starts a background process that waits 3 seconds, then checks if the marker still exists
notify-post.ps1fires onPostToolUse— removes the marker immediately
If the tool is auto-approved, PostToolUse removes the marker before the 3s window expires → no notification. If the tool needs user permission, the user sees the prompt while the 3s passes → toast fires.
Note: The terminal Claude Code CLI exposes a native permission prompt event, making direct detection straightforward. The VS Code chat extension does not — so this plugin uses the
PreToolUse/PostToolUsemarker-file approach as a workaround to detect when a permission prompt is actually shown.
- Windows (uses WPF + Windows toast APIs)
- BurntToast PowerShell module
- Windows notifications enabled, Do Not Disturb off
Install-Module BurntToast -Scope CurrentUserNote: Toasts won't appear if notifications are blocked or Do Not Disturb is active. Enable via Settings → System → Notifications — turn on notifications for PowerShell, and disable Do Not Disturb (Focus assist).
Open PowerShell as current user and run:
Install-Module BurntToast -Scope CurrentUser- Settings → System → Notifications — turn on for PowerShell
- Disable Do Not Disturb / Focus Assist
notify is not in the official Claude Code marketplace. First add the marketplace, then install.
Step 1 — Add marketplace:
claude plugin marketplace add enescaakir/notifyStep 2 — Install plugin:
claude plugin install notifyIf you have multiple marketplaces configured and name conflicts, use
notify@enescaakir-pluginsto target this marketplace specifically.
Option B — Manual:
- Clone or download this repo
- Copy the folder to your plugins directory (e.g.
%APPDATA%\Claude\plugins\notify\) - Run:
claude plugin install --path "%APPDATA%\Claude\plugins\notify"Run any Claude Code command that requires permission. You should hear a sound and see a Windows toast within 3 seconds of the permission prompt appearing.
Edit hooks/hooks.json to change -Title, -Message, or -Sound for each event. Sound must be a path to a .wav file.
MIT - i'm freeeeEEeee
