Skip to content

Instantly share code, notes, and snippets.

@agamm
Created December 20, 2025 19:10
Show Gist options
  • Select an option

  • Save agamm/cf79d68d2fe1f2f61bce2042001849bd to your computer and use it in GitHub Desktop.

Select an option

Save agamm/cf79d68d2fe1f2f61bce2042001849bd to your computer and use it in GitHub Desktop.
Claude code waiting for user input notification
{
"hooks": {
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "osascript -e 'display notification \"Waiting...\" with title \"Claude Code\"'",
"timeout": 35
}
]
}
],
"Notification": [
{
"matcher": "idle_prompt",
"hooks": [
{
"type": "command",
"command": "osascript -e 'display notification \"Waiting...\" with title \"Claude Code\"'",
"timeout": 35
}
]
},
{
"matcher": "permission_prompt",
"hooks": [
{
"type": "command",
"command": "osascript -e 'display notification \"Waiting...\" with title \"Claude Code\"'",
"timeout": 35
}
]
}
],
"SessionEnd": [
{
"hooks": [
{
"type": "command",
"command": "osascript -e 'display notification \"Waiting...\" with title \"Claude Code\"'",
"timeout": 5
}
]
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment