/tts:configure [--user|--project|--local]from tts
Interactive configuration wizard for TTS settings
Ships in tts. Installing the plugin adds it to Claude Code.
Interactive configuration wizard that helps users customize TTS settings at different hierarchy levels. Shows current merged values and allows modification of voice, speed, language, and advanced settings.
When the user runs this command, follow these steps:
Determine configuration level:
--user, --project, or --local flag provided, use that levelWhere should these settings be saved?
- User-level (global, all projects) [Recommended]
- Project-level (this project only, committed to git)
- Local-level (this machine only, not committed)
$HOME/.claude/plugins/tts/settings.json${CLAUDE_PROJECT_ROOT:-.}/.claude/plugins/tts/settings.json${CLAUDE_PROJECT_ROOT:-.}/.claude/plugins/tts/settings.local.jsonLoad current merged configuration:
source ${CLAUDE_PLUGIN_ROOT}/scripts/tts-common.sh
Current TTS Configuration (merged from all levels):
Global enabled: <TTS_ENABLED>
PreTool enabled: <TTS_PRETOOL_ENABLED>
Voice: <TTS_VOICE>
Language: <TTS_LANG>
Speed: <TTS_SPEED>
[... other settings ...]
Offer configuration sections using AskUserQuestion:
For Quick Setup: Use AskUserQuestion to configure:
For Advanced Setup: Also configure:
Update settings file using jq:
mkdir -p <parent_directory>
cp ${CLAUDE_PLUGIN_ROOT}/settings.default.json <target_file>
# Example for voice
jq '.voice.name = "af_sarah"' <target_file> > <target_file>.tmp && mv <target_file>.tmp <target_file>
# Example for enabled
jq '.enabled.global = true' <target_file> > <target_file>.tmp && mv <target_file>.tmp <target_file>
# Example for speed
jq '.voice.speed = 1.5' <target_file> > <target_file>.tmp && mv <target_file>.tmp <target_file>
.enabled.global.enabled.pretool.voice.name.voice.language.voice.speed.models.model.models.voices.processing.useTtsSection.processing.maxLength.paths.stateDir.paths.logDirReport success:
✅ Configuration updated successfully at <level> level
Changes made:
- Voice: af_bella → af_sarah
- Speed: 1.3 → 1.5
[... list only changed settings ...]
Settings file: <file_path>
Next steps:
- Restart Claude Code for changes to take effect
- Test TTS: /tts-plugin:test
Reference:
- List voices: kokoro-tts --help-voices
- List languages: kokoro-tts --help-languages
User: /tts-plugin:configure
Claude: Where should these settings be saved?
[User-level (global, all projects) - Recommended]
[Project-level (this project only, committed to git)]
[Local-level (this machine only, not committed)]
User selects: User-level
Claude: Current TTS Configuration (merged):
Global enabled: true
PreTool enabled: true
Voice: af_bella
Language: en-gb
Speed: 1.3
What would you like to configure?
[Quick Setup] [Advanced Setup] [View Current Settings]
User selects: Quick Setup
Claude: Configure Voice (current: af_bella):
[af_bella] [af_sarah] [af_sky] [bf_emma] [bf_isabella] [Other]
User selects: af_sarah
Claude: Configure Speed (current: 1.3):
[Slower (1.0)] [Current (1.3)] [Faster (1.5)] [Custom]
User selects: Faster (1.5)
Claude: ✅ Configuration updated successfully at user level
Changes made:
- Voice: af_bella → af_sarah
- Speed: 1.3 → 1.5
Settings file: ~/.claude/plugins/tts/settings.json
Next steps:
- Restart Claude Code for changes to take effect
- Test TTS: /tts-plugin:test
/tts-plugin:configure --project
Skips the "Where should settings be saved?" question and goes directly to project-level.
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub colings86/tts-plugin --plugin tts5 commands in this plugin
Other plugins' commands for the same job