Skip to content

Instantly share code, notes, and snippets.

@Ynng
Created July 29, 2025 00:53
Show Gist options
  • Save Ynng/14abc8e093d6a5e5146fb3f7d4cfb33d to your computer and use it in GitHub Desktop.
Save Ynng/14abc8e093d6a5e5146fb3f7d4cfb33d to your computer and use it in GitHub Desktop.
Claude code config
{
"permissions": {
"allow": [
"Bash(grep:*)",
"Bash(mv:*)",
"Bash(find:*)"
],
"deny": []
},
"hooks": {
"Stop": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "afplay /System/Library/Sounds/Glass.aiff"
}
]
},
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "terminal-notifier -group 'PROJECT_NAME' -title 'Claude Code Stopped' -subtitle \"Event: $CLAUDE_EVENT_TYPE\" -message \"Last tool: ${CLAUDE_TOOL_NAME:-N/A} | Files: $(echo \"$CLAUDE_FILE_PATHS\" | wc -w | tr -d ' ')\" -sound Glass"
}
]
}
],
"Notification": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "afplay /System/Library/Sounds/Submarine.aiff"
}
]
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment