Approve Claude Code requests from the notch with Notchjar
Install Notchjar's Claude Code and Codex hooks, see exactly what changes in settings.json and config.toml, answer requests from the notch, and undo it.
Updated 5 min read
On this page
This page shows how to set up Notchjar so you can answer Claude Code permission requests from the notch and get "finished" alerts from Codex. It also shows exactly what Notchjar writes to your agent config files, so you can check the change before you allow it.
What the coding-agent feature does
Notchjar connects to Claude Code and Codex through their hook settings. Once the hooks are installed:

- Claude Code: permission requests appear as a card under the notch with Allow and Deny. A "working" chip shows while a session runs, and a short peek appears when Claude Code finishes.
- Codex: a short peek appears when Codex finishes. Codex gets no approval cards.
The hooks only talk to this Mac, through a local socket at ~/Library/Application Support/Notchjar/notchjar.sock (permissions 0600, same-user check). The socket exists only while hooks are installed. Notchjar never reads transcripts or prompt text.
The feature covers approve/deny and status only. It has no session list, no transcript view and no terminal.
Install Notchjar's Claude Code hooks
- Open Notchjar Settings. Use the menu bar icon ▸ Settings…, the gear in the panel, or ⌘, (Command-Comma) while the panel has keyboard focus.
- Click Jars and scroll to Coding Agents.
- In the Claude Code row ("Approvals, activity and finished alerts"), click Install Hooks….
- Read the Install Claude Code Hooks sheet. It shows the exact line diff Notchjar will apply to
~/.claude/settings.json. - Click Install (or press Return). To back out without changing anything, click Cancel (or press Esc).
- Start a new Claude Code session. The hooks apply to new sessions.


Before writing, Notchjar saves a backup of the file to ~/Library/Application Support/Notchjar/Agent Hooks/Backups/.
What Notchjar adds to settings.json
Notchjar adds one hook group for each of these Claude Code events:
UserPromptSubmitPermissionRequest(matcher*, timeout 130 s)PostToolUse(matcher*)NotificationStopSessionEnd
Every group runs the same helper inside the app bundle:
'<Notchjar.app>/Contents/Helpers/notchjar-hook' claude<Notchjar.app> is wherever Notchjar is installed, normally /Applications/Notchjar.app. The sheet shows the real path and the exact lines, so treat the sheet as the source of truth.
Notchjar uses the PermissionRequest hook, not PreToolUse. The card stands in for the prompt Claude Code would otherwise show in the terminal. Your own allow and deny rules keep working.
Install Notchjar's Codex finished alerts
- In Settings ▸ Jars ▸ Coding Agents, find the Codex row ("Finished alerts").
- Click Install Hooks….
- Review the diff of
~/.codex/config.tomlin the Install Codex Hooks sheet. - Click Install.
- Start a new Codex session.
Notchjar adds one top-level line:
notify = ["<…/notchjar-hook>", "codex"]The first value is the full path to the helper inside Notchjar.app, as shown in the sheet.
If your config.toml already has a notify line, Notchjar won't replace it, and the row shows "Codex already runs another notify program". To use Notchjar's alerts, remove or change your existing notify line yourself, then click Install Hooks… again.
What the approval card shows
When Claude Code asks for permission, a card appears under the notch with:
- A title in the form "
<Agent>wants to use<tool>in<project>", for example "Claude Code wants to use Bash in my-project". - A preview of up to 3 lines and 400 characters, with secrets masked.
- Deny and Allow.
- ✕ (Answer in the Terminal), which hands the request back to the normal terminal prompt.
- "+N" when more requests are queued behind this one.

Over full-screen apps, only approval cards show. The working chip and peeks stay hidden.
Show while agents are working (on by default, available once hooks are installed) controls the working chip. Turn it off if you only want approval cards and finished peeks.
If Sledbot is installed, the section also shows Manage Sessions in Sledbot….
When requests fall back to the terminal
Claude Code uses its normal terminal prompt instead of the card when:
- Notchjar isn't running.
- Notchjar's license is locked, for example after the trial ends ("Your Notchjar trial has ended.").
- 2 minutes pass without an answer on the card.
- You click ✕ (Answer in the Terminal).
Update hooks after moving Notchjar
The hook entries contain the full path to Notchjar.app. If you move the app (for example from Downloads into Applications), the entries point at the old location.
The agent row then shows "Notchjar moved since the hooks were installed" and an Update… button.
- Click Update… in the affected row.
- Review the diff, which swaps the old path for the new one.
- Confirm the change, then start new agent sessions.
Uninstall hooks or restore a backup
Uninstall from Settings
- Go to Settings ▸ Jars ▸ Coding Agents.
- Click Uninstall… in the Claude Code or Codex row.
- Review the Uninstall Claude Code Hooks (or Uninstall Codex Hooks) diff.
- Click Uninstall.
Uninstalling removes only Notchjar's entries. Hooks and settings you added yourself stay in the file. This is usually the better way to remove the feature, because restoring a backup would also undo any edits you made to the file after installing.
Uninstall the hooks before you delete Notchjar. Otherwise the entries stay in your config files, pointing at a helper that no longer exists, and you'd have to remove them by hand.
Restore a backup
- In the agent row's sheet, click Show Backups to see the backups in
~/Library/Application Support/Notchjar/Agent Hooks/Backups/. - Find the copy from before the change you want to undo.
- Replace
~/.claude/settings.jsonor~/.codex/config.tomlwith that copy. - Start new agent sessions.
Backups are saved with permissions 0600. Notchjar also records what it installed in Agent Hooks/installed.json. Both exist only after you have installed hooks at least once.
Errors and what they mean
| Message | What it means | What to do |
|---|---|---|
| "The file changed since the preview. Review the new changes." | The config file was edited after the sheet opened. | Click Review Again, check the new diff, then confirm. |
| "This copy of Notchjar is missing its hook helper. Reinstall Notchjar." | The helper at Contents/Helpers/notchjar-hook isn't inside the app. | Download Notchjar again from macsuite.app, replace the app in Applications, then install the hooks again. |
| "settings.json isn't valid JSON. Fix it first; Notchjar won't rewrite it." | ~/.claude/settings.json has a syntax error. | Fix the JSON in your editor, then try again. |
| "settings.json has an unexpected layout. Notchjar won't rewrite it." | The JSON is valid, but not structured the way Notchjar expects, so it won't guess. | Correct the file's structure, then try again. |
| "Codex already runs another notify program. Notchjar won't replace it." | config.toml already has a notify line. | Remove or change your own notify line, then install again. |
| "The file isn't UTF-8 text." | The config file isn't saved as UTF-8. | Save it as UTF-8 in your editor, then try again. |
"<path> can't be read safely" (row caption) | Notchjar can't safely read that config file. | Fix the file so it's valid, then reopen Settings. |
| "Notchjar moved since the hooks were installed" (row caption) | The app path in the hooks is out of date. | Click Update… (see above). |
If the card never appears even though the hooks are installed, check three things. You started a new session after installing, Notchjar is running, and Notchjar is licensed or still in its trial. Requests that your own allow or deny rules already cover are settled by those rules.
Related
- Quick palette, Shortcuts, URL scheme and the notchjar CLI (progress for your own scripts and builds)
- Privacy: what Notchjar stores and sends
- Live activities, ears and peeks
- Troubleshooting Notchjar