I have just added a hook to Claude Code to play a sound whenever it completes a task using this code in ~/.claude/settings.json:
"Stop": [{
"hooks": [{
"type": "command",
"command": "/usr/bin/afplay \"/Users/user/Downloads/freesound_community-fart-with-reverb-39675.mp3\" 2>/dev/null || true",
"async": true
}]
}]
The sound effect can be downloaded here: https://pixabay.com/sound-effects/people-fart-with-reverb-39675/ And I cannot stop laughing! :joy: :joy: :joy: :joy:


deleted by creator