Skip to content

Instantly share code, notes, and snippets.

@danielkellyio
Created January 15, 2026 17:35
Show Gist options
  • Select an option

  • Save danielkellyio/df74c5ef994e83c50de6fa0d670a720a to your computer and use it in GitHub Desktop.

Select an option

Save danielkellyio/df74c5ef994e83c50de6fa0d670a720a to your computer and use it in GitHub Desktop.
Claude Code Notification Hook
// .claude/settings.json
"hooks": {
"PermissionRequest": [
{
"hooks": [
{
"type": "command",
// customize the sound by pointing to the file of your choice
"command": "afplay /System/Library/Sounds/Glass.aiff"
// or for windows
// "command": powershell -c (New-Object Media.SoundPlayer 'C:\path\to\sound.wav').PlaySync()
}
]
}
],
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "afplay /System/Library/Sounds/Ping.aiff"
// or for windows
// "command": powershell -c (New-Object Media.SoundPlayer 'C:\path\to\sound.wav').PlaySync()
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment