Feature Request: PermissionApproval hook

Resolved 💬 3 comments Opened Feb 1, 2026 by chrisae9 Closed Feb 1, 2026

Feature Request

Add a PermissionApproval hook that fires when the user approves a permission request, before the tool starts executing.

Use Case

I'm using hooks to update my tmux status bar to show Claude's state:

  • PermissionRequest → Yellow status (Claude needs input)
  • Stop → Green status (Claude is idle)

The problem: there's no way to clear the yellow status when I approve a permission. The current hooks are:

  1. PreToolUse → fires before permission check
  2. PermissionRequest → fires when permission needed
  3. PostToolUse → fires after tool completes

For long-running commands (e.g., sleep 5), the status stays yellow for the entire execution even though I've already approved and Claude no longer needs my attention.

Proposed Solution

Add a PermissionApproval hook that fires immediately when the user clicks "Allow" or approves a permission request, before the tool starts executing.

Example config:

{
  "hooks": {
    "PermissionRequest": [
      {
        "hooks": [{ "type": "command", "command": "tmux-status.sh yellow" }]
      }
    ],
    "PermissionApproval": [
      {
        "hooks": [{ "type": "command", "command": "tmux-status.sh clear" }]
      }
    ]
  }
}

This would allow status indicators to accurately reflect when Claude actually needs user attention vs when a tool is just running.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗