Skip to content

Instantly share code, notes, and snippets.

@andreagrandi
Created July 12, 2025 14:14
Show Gist options
  • Select an option

  • Save andreagrandi/7e578684af2a55fa0aa64ab48a43f5bc to your computer and use it in GitHub Desktop.

Select an option

Save andreagrandi/7e578684af2a55fa0aa64ab48a43f5bc to your computer and use it in GitHub Desktop.
Claude Code notifications hooks
...
"hooks": {
"Notification": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "terminal-notifier -title \"🔔 Claude Code\" -message \"Claude needs your input\""
}
]
}
],
"Stop": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "terminal-notifier -title \"✅ Claude Code\" -message \"The task has been completed\""
}
]
}
]
}
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment