/say-hooks:stackvox-configurefrom say-hooks
Pick a stackvox voice for say-hooks, preview it and save it to your user config
Ships in say-hooks. Installing the plugin adds it to Claude Code.
Help the user choose a voice for the Stop and Notification hooks. The voice sets both the speaker and the language of the spoken phrase. If the user already named a voice, skip the matrix and preview that one. A preview only plays audio on this machine, so play it as soon as the user picks a voice.
Check stackvox is installed. If command -v stackvox fails, stop and point the user to the stackvox-install command.
Show the voice matrix (five languages, with English in American and British accents; up to 2 female and 2 male voices each, where Kokoro provides them):
af_heart (warm) · af_bella (expressive)am_michael (grounded) · am_adam (deeper)bf_emma (crisp) · bf_isabella (refined)bm_fable (narrator) · bm_george (classic)ff_siwis (only French voice available)if_saraim_nicolapf_dorapm_alex · pm_santahf_alpha · hf_betahm_omega · hm_psiDefault is af_heart. For the full voice list run stackvox voices.
Ask which voice they want to try. Accept any voice id.
Preview the choice with a real hook phrase in the voice's own language (helper derives language from voice prefix, honors configured speed):
bash "${CLAUDE_PLUGIN_ROOT}/scripts/preview-voice.sh" <chosen>
To preview at a different speed (e.g. 0.9 for slower, 1.1 for faster):
bash "${CLAUDE_PLUGIN_ROOT}/scripts/preview-voice.sh" <chosen> <speed>
If $CLAUDE_PLUGIN_ROOT is not set, use the absolute plugin path. Without an explicit speed, the preview uses the configured speed (or 1.0 if none is set). Ask whether they like it, want another voice or want a different speed.
When they're happy, write the config. This replaces the whole file, which holds only these two settings. Put the speed you last previewed into speed:: the one the user chose, or else the configured speed (1.0 if none is set), so a voice-only change keeps the existing speed:
mkdir -p "$HOME/.claude"
cat > "$HOME/.claude/say-hooks.local.md" <<EOF
---
voice: <chosen>
speed: <chosen_speed>
---
Voice for say-hooks. Language is derived from the voice prefix
(af/am → en-us, bf/bm → en-gb, ff → fr-fr, hf/hm → hi, if/im → it,
pf/pm → pt-br). Edit the \`voice\` or \`speed\` line above or re-run
/stackvox-configure. Speed is a multiplier (1.0 normal, 0.9 slower, 1.1 faster).
EOF
Tell the user the next hook will use the new voice.
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
4 commands in this plugin
npx claudepluginhub stackonehq/powerful-plugins --plugin say-hooks