Feature request: Hook event for permission prompts

Resolved 💬 2 comments Opened Apr 8, 2026 by codingkarthik Closed Apr 8, 2026

Feature Request

Problem

There's no hook event that fires when Claude Code is waiting for user input on a permission prompt (e.g., tool use approval). This makes it impossible to play a notification sound or trigger other actions when Claude needs the user's attention for permission.

Current Behavior

The available hook events (Stop, PreToolUse, PostToolUse, Notification, UserPromptSubmit, SubagentStop, PreCompact, PostCompact) don't cover permission prompts. The Stop hook fires when Claude finishes its turn, but not specifically when a permission prompt is shown.

Desired Behavior

A new hook event (e.g., PermissionPrompt) that fires when Claude Code displays a permission prompt and is waiting for the user to approve or deny a tool use. This would allow users to configure notifications (sound, visual, etc.) so they know when Claude needs their input.

Use Case

When running long tasks, users may switch to other windows. A sound notification on permission prompts would let them know Claude is blocked and needs approval, improving the workflow for users who don't use --dangerously-skip-permissions.

Environment

  • Claude Code version: 2.1.96
  • OS: macOS (Darwin 24.6.0)

View original on GitHub ↗

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