How to tell which Claude Code tab is waiting for you
Running several Claude Code sessions in terminal tabs? Here is how to notice when one stops to ask for permission: with a hook, with the built-in agent view, or with a small Mac panel.
When you run Claude Code in several terminal tabs, one of them often stops to ask for permission and waits there quietly. You only find out when you happen to click that tab, and by then it may have been waiting for twenty minutes.
Option 1: a notification hook
Claude Code runs hooks at certain moments. The Notification hook runs when Claude needs your permission or has been waiting for your input. Add this to ~/.claude/settings.json to get a macOS notification:
{
"hooks": {
"Notification": [
{
"hooks": [
{
"type": "command",
"command": "osascript -e 'display notification \"Claude Code needs you\" with title \"Claude Code\"'"
}
]
}
]
}
}
This tells you that some tab needs you. It does not tell you which one, notifications pile up when several tabs wait at once, and once a notification is gone nothing reminds you.
Option 2: agent view, built into Claude Code
Claude Code has its own list for this. Run claude agents to open agent view, which groups sessions under needs input, working and done. It covers background sessions: the ones you start from agent view or send there with /bg. Sessions you keep open in ordinary terminal tabs do not appear in it, and it is a research preview, so details may change.
Option 3: see every tab at once
Alien Desk keeps a small panel on the side of your screen with one row per Claude Code tab. A tab asking for permission moves to the top, a dot appears on the menu bar icon, and finished tabs keep a green dot until you look. Click a row and the right Terminal, iTerm2 or Ghostty tab comes to the front.
- It sets up the hooks for you and keeps a backup of your settings.
- It only reads Claude Code's files, and types into your terminal only when you ask it to.
- This part is free.