Guides

Claude Code permission prompts on Mac: get alerted fast and approve from the notch

When Claude Code needs permission to run a command or edit a file, it stops and waits. If you have switched to a browser or another window, it can wait a long time before you notice. This page is about that one moment: how to hear about the prompt quickly, and how to answer it without hunting for the right terminal tab.

It is published by NotchClippy, and the Claude Code details were checked against Anthropic's documentation on 2 December 2026. Hook events and defaults change between releases, so confirm the live docs before you rely on a field. If you want the wider picture, including the "finished" alert, the terminal bell, Codex and Cursor, start with Claude Code notifications on macOS.

Why the built-in permission alert feels late

Claude Code's desktop notification and its permission_prompt hook type are meant for when you have looked away. According to the hooks reference, in a terminal session permission_prompt fires once the prompt has waited about six seconds. The timer starts when the prompt appears, and each keystroke defers it. If you are typing in that terminal you will not hear anything, which is intended.

In Claude Desktop, the VS Code extension and other hosts that answer permission requests through the Agent SDK, the timing differs: about six seconds after Claude asks, whether or not you are typing, and not at all if you or a hook answered sooner.

Six seconds is fine for a coffee break. It is annoying if the agent is blocked and you want the ping at once.

A faster signal: the PermissionRequest hook

The same reference documents a separate event, PermissionRequest. It runs when Claude Code is about to ask you for permission to use a tool, so it is the right place to hang an immediate alert. The reference says to use this event "when you need a signal the moment Claude asks for permission to use a tool."

Two details from the docs matter:

  • It matches on tool name, like PreToolUse, so Bash alerts only for shell commands and Edit|Write only for file changes.
  • It receives tool_name and tool_input on stdin, so your alert can say what Claude wants to do.

Here is a hook that shows a macOS banner. Add PermissionRequest next to any existing keys inside the hooks object in ~/.claude/settings.json; do not replace the whole object.

{
  "hooks": {
    "PermissionRequest": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "~/.claude/hooks/permission-alert.sh"
          }
        ]
      }
    ]
  }
}

And the script, saved as ~/.claude/hooks/permission-alert.sh and made executable with chmod +x. It needs jq (brew install jq):

#!/bin/bash
# PermissionRequest hook: show a banner, never answer the prompt.
input=$(cat)
tool=$(jq -r '.tool_name // "a tool"' <<<"$input")
detail=$(jq -r '.tool_input.command // .tool_input.file_path // .tool_input.url // ""' <<<"$input" | head -c 120)

osascript \
  -e 'on run argv' \
  -e 'display notification (item 1 of argv) with title (item 2 of argv)' \
  -e 'end run' \
  -- "$detail" "Claude Code wants to use $tool"

exit 0

Passing the text as arguments, rather than pasting it into the AppleScript string, means a command with quotes in it cannot break the notification. The script prints nothing to stdout, which matters: a PermissionRequest hook that returns a decision object answers the prompt for you. A banner-only hook leaves the choice with you.

Two practical notes:

  • osascript banners are delivered through Script Editor. If Script Editor is not allowed to notify, the command fails silently. Run osascript -e 'display notification "test"' once, then turn on Allow Notifications for Script Editor in System Settings → Notifications.
  • PermissionRequest does not run for a sandboxed command's network request. For that one, keep a Notification hook with the permission_prompt matcher as well.

Type /hooks at the Claude Code prompt to confirm the hook is registered.

What the hook can do beyond alerting

The hook mechanism is not only for banners. According to the reference, a PermissionRequest hook can return behavior: "allow" or "deny", optionally with a message that tells Claude why, and an allow can carry updatedPermissions such as an allow rule or a permission-mode change. That is the mechanism any tool uses to let you answer from somewhere other than the terminal.

It is also why you should be careful with hand-written approval hooks. Anthropic's hooks guide says to keep the matcher as narrow as possible, because an empty or .* matcher on an auto-approving hook would approve every tool permission prompt, including file writes and shell commands. Deny rules still win: a hook cannot approve something a deny rule refuses.

Fewer prompts in the first place

Before building anything, check whether you are being asked more than you need to be. The permission modes page lists what each mode runs without asking:

ModeRuns without asking
default (manual)File reads inside your working directories
acceptEditsReads, file edits and common filesystem commands such as mkdir, mv, cp
planReads, plus classifier-approved commands when auto mode is available
autoEverything, with background safety checks
bypassPermissionsEverything; the docs recommend isolated containers and VMs only

Press Shift+Tab in the CLI to cycle modes. Per the same page, with Claude Code v2.1.283 or later, auto mode is the starting mode for interactive terminal and VS Code sessions; on earlier versions it applies only on certain plans. Allow rules, which you can manage with /permissions, can pre-approve specific commands such as your test runner.

None of these remove the need to look at a prompt. Some actions are never auto-approved in any mode, including tools matched by an ask rule and the AskUserQuestion tool, which needs your input by design.

Answering from the notch with NotchClippy

A banner tells you Claude is waiting. You still have to find the terminal, read the prompt and press a key. NotchClippy is a Mac app that puts the answer in the notch.

From v1.2.0 you can connect Claude Code, Codex and Cursor in Settings → Agents, or from the Agents tab in the notch. Here is what the site and the v1.2.0 changelog say about this flow:

  • While an agent works, its mark and running time sit in the notch, on every display.
  • When it asks for permission, a slip comes out of the notch with Deny and Allow. NotchClippy never decides for you.
  • NotchClippy adds its entries to Claude Code's own hooks file, keeps a backup, and leaves the rest of your hooks alone, so a banner hook like the one above can stay.
  • An optional sound, off until you turn it on, can play when an agent needs you or finishes.
  • When a turn ends, you can type your next prompt in the notch and send it to the agent's Terminal or iTerm2 tab, or jump to that tab.
  • Prompts and steps stay in memory on your Mac. They are not stored or sent anywhere.

What we do not claim: this page makes no promise about how long a request stays answerable from the notch, how it interacts with Claude Code's own on-screen prompt, or any buttons or shortcuts beyond Deny and Allow. A notch app is also not required for any of the hook setup above; the banner works with just Claude Code and osascript.

If you are comparing apps that sit in the notch, see Mac notch apps in 2026 and the NotchNook alternatives page. They cover a different range of features, and several apps in this niche advertise agent approvals.

Which setup should you choose?

If you wantUse
A sound or banner when a prompt has waited a momentA Notification hook with permission_prompt
A banner the instant Claude asksA PermissionRequest hook that prints nothing
Fewer prompts overallPermission modes, acceptEdits or auto, and allow rules
To see the request and answer Allow or Deny from the menu bar, including on an external displayNotchClippy, with a 7-day free trial

NotchClippy needs macOS 15 or later on Apple Silicon or Intel. The trial has every feature, with no account or card. A licence is a one-time $9 launch price (regular $12) for 2 Macs, with updates included and a 14-day refund window. Download NotchClippy to try approving from the notch.


Sources checked 2 December 2026: Claude Code hooks reference (PermissionRequest, Notification), hooks guide, permission modes, NotchClippy, and the v1.2.0 changelog.

Questions

Why does my Claude Code permission notification arrive late?

In a terminal, the permission_prompt notification type only fires after the prompt has waited about six seconds, and each keystroke defers it. If you want a signal the moment Claude asks, add a PermissionRequest hook instead, which runs when Claude Code is about to ask you for permission.

What is the difference between permission_prompt and a PermissionRequest hook?

permission_prompt is a Notification type: it fires after the prompt has waited about six seconds. PermissionRequest is its own hook event that runs as the request appears, and it can also return an allow or deny decision. PermissionRequest does not run for a sandboxed command’s network request, so keep a permission_prompt hook if you use the sandbox.

Can I approve Claude Code permission prompts from the Mac notch?

Yes, with NotchClippy v1.2.0 connected to Claude Code: when the agent asks for permission, a slip comes out of the notch with Deny and Allow, and NotchClippy never decides for you.

Is it safe to auto-approve Claude Code permission prompts with a hook?

Only with a narrow matcher. Anthropic’s guide warns that an empty or .* matcher on a PermissionRequest hook that returns allow would approve every tool prompt, including file writes and shell commands. A hook that only shows a notification and prints no decision leaves the choice with you.

Does NotchClippy replace my Claude Code hooks?

No. NotchClippy adds its own entries to Claude Code’s hooks file, keeps a backup, and leaves the rest of your hooks alone. A notification hook you wrote yourself should stay in place.

Do I need a Mac with a hardware notch?

No. The hook setup works in any terminal on any Mac, and NotchClippy draws a virtual notch on displays that do not have a hardware one, including external monitors.