This hook uses the Stop and Notification events from Claude Code. It reacts when the agent finishes its work or when it needs your reply.
It fires a native system notification, using osascript on macOS or notify-send on Linux. That way you do not have to keep watching the terminal all the time.
When to use
- When you switch windows while the agent works.
- When you want to be alerted the moment your attention is needed.
How to use
After installing, notifications appear automatically on the finish and input-request events. Works on macOS and Linux.