# How to stop missing Claude Code permission prompts on a Mac

_Updated December 2, 2026 · https://tiremusu.app/guides/claude-code-permission-notifications_

Add a Notification hook to ~/.claude/settings.json and macOS will show a notification whenever Claude Code is waiting on you. It's free and takes five minutes. If you run several sessions and want to answer the prompt, not just hear about it, a notch app like Tiremusu shows the exact command and lets you allow it with one key.

## Option 1: a free macOS notification with a Claude Code hook

Add this to ~/.claude/settings.json. It applies to every session, so it covers all of them when you run several at once.

```json
{
  "hooks": {
    "Notification": [
      {
        "matcher": "permission_prompt",
        "hooks": [
          {
            "type": "command",
            "command": "osascript -e 'display notification \"Claude Code is waiting for approval\" with title \"Claude Code\"'"
          }
        ]
      }
    ],
    "Stop": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "osascript -e 'display notification \"Turn finished\" with title \"Claude Code\"'"
          }
        ]
      }
    ]
  }
}
```

- Notification with the matcher permission_prompt runs when a tool call is waiting for your approval. An empty matcher ("") also pings you when Claude is idle and waiting for input.
- Stop runs when Claude finishes a response.
- Run /hooks inside Claude Code to check that both are registered.
- Nothing shows up? Allow notifications for Script Editor in System Settings → Notifications. osascript notifications come from there, and macOS doesn't ask.

- [Claude Code hooks reference](https://code.claude.com/docs/en/hooks)

## Which session needs you?

With five sessions open, "Claude Code is waiting" isn't enough. The hook receives JSON on stdin that includes the session's working directory, so a small script can put the project name in the notification. Save this as ~/.claude/notify.sh (it needs jq: brew install jq) and set the hook's command to bash ~/.claude/notify.sh.

```bash
#!/bin/bash
project=$(jq -r '.cwd' | xargs basename)
osascript -e "display notification \"$project needs your approval\" with title \"Claude Code\""
```

## Option 2: Codex CLI

Codex runs a program you name each time a turn completes. Put notify at the top of ~/.codex/config.toml, above any [section] header, or it is silently ignored.

```toml
notify = ["bash", "-c", "osascript -e 'display notification \"Codex finished a task\" with title \"Codex\"'"]
```

## Option 3: see and answer every agent from the notch

A notification tells you that something is waiting. It doesn't show what it is, and you still have to find the right terminal. Tiremusu is a free Mac app that lists every Claude Code, Codex, Cursor and opencode session under the notch. When one asks for permission, a card drops down with the exact command.

- ⌃⌥1 allows and ⌃⌥2 denies, and your editor keeps focus.
- ⌘↩ jumps to the exact terminal or pane when you want the full context.
- When a turn ends, type the next instruction right in the notch.
- Setup shows exactly which hook lines it adds to each agent's config before writing anything, and backs the files up first. No account; sessions never leave your Mac.

- [Download Tiremusu](https://updates.tiremusu.app/Tiremusu.dmg)
- [Answer Claude Code without the terminal](https://tiremusu.app/guides/answer-claude-code-without-terminal)

## Which should you use?

| You… | Use |
| --- | --- |
| run one or two Claude Code sessions and just want a ping | Option 1, free and built in |
| use Codex CLI | Option 2 |
| run several agents at once and want to answer without switching windows | Tiremusu, free |

---

- Website: https://tiremusu.app
- Guide: https://tiremusu.app/guide
- Tiremusu AI: https://tiremusu.app/tiremusu-ai
- Pricing: https://tiremusu.app/pricing
- FAQ: https://tiremusu.app/faq
- Changelog: https://tiremusu.app/changelog
- Tiremusu vs Vibe Island: https://tiremusu.app/vs/vibe-island
- Claude Code notifications: https://tiremusu.app/guides/claude-code-permission-notifications
- Answer without the terminal: https://tiremusu.app/guides/answer-claude-code-without-terminal
- Privacy Policy: https://tiremusu.app/privacy
- Terms of Use: https://tiremusu.app/terms
- Support: https://tiremusu.app/support
- Contact: support@tiremusu.com
