Claude Code notifications: know when it’s waiting for you

Guide · Updated · Checked against the Claude Code docs

Quick answer

To get notified when Claude Code is waiting for input on a Mac, add a Notification hook to ~/.claude/settings.json that runs osascript (a macOS banner) or afplay (a sound) on permission_prompt and idle_prompt; it works in any terminal. Claude Code also has a built-in desktop notification in Ghostty, Kitty and iTerm2, a terminal bell for other terminals, and push notifications to your phone through Remote Control on paid plans. Whipback, a Mac menu bar app, uses the same hooks to crack a whip across your screen once a session has waited on you for 60 seconds.

Claude Code can tell you it needs you in four ways: its built-in desktop notification or terminal bell, a Notification hook that runs any command you like, push notifications to your phone through Remote Control, and Whipback, a Mac menu bar app that cracks a whip across your screen. Here is how to set up each one.

When does Claude Code wait for you?

Claude Code waits for you in two everyday moments: when it has finished its turn and needs your next prompt, and when it needs your permission to use a tool. Both raise a Notification event. The permission one fires once the prompt has waited about six seconds without a keystroke; the idle one about 60 seconds after Claude finished, if you haven’t typed since.

Does Claude Code notify you on its own?

Yes, in some terminals. By default Claude Code sends a desktop notification only in Ghostty, Kitty and iTerm2. iTerm2 needs one setting: in Settings → Profiles → Terminal, check “Notification Center Alerts”, click “Filter Alerts” and enable “Send escape sequence-generated alerts”. In Apple’s Terminal and other terminals, ask for the terminal bell instead:

~/.claude/settings.json
{
  "preferredNotifChannel": "terminal_bell"
}

If you accepted Claude Code’s first-run terminal setup, it turned off the audible bell in your Apple Terminal profile. Turn it back on under Settings → Profiles → Advanced → “Audible bell”.

How do I get a macOS notification from a Claude Code hook?

Add a Notification hook to ~/.claude/settings.json. Claude Code runs the hook’s command every time it sends a notification, in any terminal, alongside the built-in alert. This one shows a macOS banner with osascript when Claude is waiting on a permission prompt or has finished its turn:

~/.claude/settings.json
{
  "hooks": {
    "Notification": [
      {
        "matcher": "permission_prompt|idle_prompt",
        "hooks": [
          {
            "type": "command",
            "command": "osascript -e 'display notification \"Claude Code is waiting for you\" with title \"Claude Code\"'"
          }
        ]
      }
    ]
  }
}

Can Claude Code notify my phone?

Yes, through Remote Control. It links a Claude Code session on your Mac to the Claude app on iOS or Android and to claude.ai/code, while Claude keeps running on your machine. It needs a Pro, Max, Team or Enterprise plan. API keys are not supported, and on Team and Enterprise an Owner has to switch it on first.

  1. Start a session with claude --remote-control, or run /remote-control in a session that is already open.
  2. Install the Claude app on your phone, sign in with the same account, and allow notifications.
  3. In Claude Code, run /config and turn on “Push when actions required” for permission prompts and questions, “Push when Claude decides” for pushes Claude chooses to send, such as a long task finishing, or both.

Claude Code skips the push while you are typing in or focused on that terminal, so it reaches you once you have walked away.

What does Whipback add?

Whipback makes the wait impossible to miss. It is a macOS menu bar app that listens to Claude Code’s hooks. When a session has waited on you for 60 seconds, a whip cracks across your screen with a banner naming the agent and the project. Ignore it and it cracks harder, twice at most, then leaves you alone.

  • It adds its hooks to ~/.claude/settings.json after showing you the change, and only ever removes its own entries.
  • It stays quiet while your microphone or camera is in use, while the screen is locked, during quiet hours and when snoozed. It never takes focus, and clicks go straight through.
  • It works the other way too. Point at an idle Claude Code window, slap your trackpad or press ⌃⌥W, and it types “Continue.”. If Claude is still working, nothing is typed: Whipback queues a short “work faster” message that Claude gets through its PostToolUse hook after its next tool call. If Claude is waiting for a permission decision, nothing is sent at all.
  • Claude Code in Terminal, iTerm2 and the Claude desktop app. macOS 14 or later. No account, no analytics.
  • The download is free, and using it needs a license key. The first 100 keys are free; after that a license costs $3 to $9, paid once.

Which one should you use?

They don’t exclude each other: hooks run alongside the built-in notification, so you can combine them.

MethodWhere it reaches youSetup
Built-in notificationDesktop, in Ghostty, Kitty or iTerm2None; one setting in iTerm2
Terminal bellThe terminal you are inOne line in settings.json
Notification hookAnything a command can do: a banner, a soundA few lines in settings.json
Remote Control pushYour phonePaid plan, the Claude app, /config
WhipbackA whip across your screen, and a way to nudge idle agents backInstall the app

Sources