I built a small hook for Cursor that sends a push notification when the agent stops.
GitHub - beautyfree/cursor-ntfy-on-stop-hook: Cursor ntfy on Stop Hook · GitHub
The actual use case
When I run longer or multi-step tasks in Cursor, I don’t sit and wait.
I literally step away from my computer — kitchen, chores, quick break, whatever.
The problem is simple:
I don’t know exactly when the agent finishes.
So I either:
- come back too early
- or come back much later and lose momentum
What this hook does
It listens to the standard stop event and sends a push notification via ntfy.
When the agent finishes:
→ I get a notification on my phone or watch
→ I return exactly when it’s ready
No server required. Minimal setup. Works on top of the existing hook system.
Install
npx cursor-hook install beautyfree/cursor-ntfy-on-stop-hook
It’s a tiny utility, but it makes running longer agent tasks much more practical — especially if you don’t want to stay glued to your screen.
Would love feedback or suggestions.