← Back to catalog
HookNotifications↓ 70

Desktop Notification on Stop

Notifies your desktop when Claude Code finishes responding, once per response.

Installation
npx claude-code-templates@latest --hook monitoring/desktop-notification-on-stop --yes

This hook uses Claude Code’s Stop event, which fires when the agent finishes a response. That means you get a single alert per response instead of one per tool call.

It sends a native notification saying the response is ready, using osascript on macOS or notify-send on Linux. Great for when you switch windows while the agent works.

When to use

  • When you want to be alerted only at the end, without the PostToolUse noise.
  • When you do other work in parallel and want to know when to come back.

How to use

After installing, the notification appears on its own at the end of each response. Works on macOS and Linux.