Recipes / Dev & code
Claude CodeSkillDev & code

Get notified when your coding agent needs you

He had Claude Code configure itself so he gets a notification whenever it is waiting on input or a permission.

Setup time10 min
CostFree
RunsAlways on
NeedsClaude Code hooks, desktop notifications
Last updated2026-10-15
XSource

Used Claude Code to setup my workflow so I get notified…

by Prashanth Vaidya (@pvbuilds) · 2026-01-08

✓ Opened via the X API on 2026-10-15

Read the original ↗
Part 1 · What the source did

He had Claude Code configure itself so he gets a notification whenever it is waiting on input or a permission.

  • Asked Claude Code to set up notifications for permission or input requests.

Summary written by Agent Cookbook. See the original for the full context.

Part 2 · Our copy-paste version

Adapted by us from what the source described. Fill in the [BRACKETS].

The prompt

Set up a Claude Code Notification hook in my user settings that shows a desktop notification "Claude needs input: [project folder]" whenever you're waiting on me or a permission. Use [osascript on macOS / notify-send on Linux]. Show me the settings JSON before writing it.
🛡
Approval ruleApprove the settings edit yourself; hooks run shell commands.

Set it up

  1. Paste the prompt in any session.
  2. Approve the settings change.
  3. Trigger a permission prompt to test.

Common failures

⚠
What usually goes wrong
  • Notification spam if you run many sessions; include the folder name.
  • Hooks copied from the web can run anything. Read them.

Variations

  • Send to your phone via a push service.
  • Also notify on Stop (task finished).

Related recipes