This repository contains hooks for Claude that provide TTS notifications across platforms.
Reads the last summary from the transcript and announces completion.
Speaks notification messages out loud using cross-platform TTS.
- jq
- One of the following TTS commands:
say(macOS)mac say(OrbStack Linux containers)espeak(Linux)spd-say(Linux with speech-dispatcher)
The script automatically detects which TTS command is available.
chmod +x claude-needs-you-tts.sh
chmod +x notification.shIn claude CLI, do /hooks and add a Stop hook:
~/full/path/to/claude-needs-you-tts.shOr add this to settings.json in ~/.claude/settings.json
{
"hooks": {
"Stop": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "~/dev/tools/hooks/claude-needs-you-tts.sh"
}
]
}
]
}
}In claude CLI, do /hooks and add a Notification hook:
~/full/path/to/notification.shOr add this to settings.json in ~/.claude/settings.json
{
"hooks": {
"Notification": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "~/dev/tools/hooks/notification.sh"
}
]
}
]
}
}Add this hook to the Stop hook to log all commands to a file. (Shows you what arguments are being passed to the script)
jq '.' >> ~/.claude/bash-command-log.txt