npx claudepluginhub colings86/tts-plugin --plugin tts[--user|--project|--local]# Configure TTS Command
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.
## Instructions
When the user runs this command, follow these steps:
1. **Determine configuration level**:
- If `--user`, `--project`, or `--local` flag provided, use that level
- Otherwise, ask user using AskUserQuestion:
- Map to target file:
- User: `$HOME/.claude/plugins/tts/settings.json`
- Project: `${CLAUDE_PROJECT_ROOT:-.}/.clau.../configureInteractively configures Claude HUD via guided questions on layout, presets, language, and display elements, saving to config.json while preserving advanced overrides.
/configureInteractively toggle enabled/disabled state of existing hookify rules in .claude/hookify files, updating them and confirming changes.
/configureInteractively lists all Hookify rules, prompts to select one, then enables, disables, or deletes it while updating the rule file immediately.
/configureCreates or updates KARIMO configuration in .karimo/config.yaml via basic/advanced/auto modes or flags like --greptile, --reset, --preview.
/configureInteractively toggle enable/disable state of Hookify rules in global (~/.claude) and project (.claude/) directories via multi-select interface.
/configureSets up Rune plugin: installs Python environment, collects Vault endpoint/token/TLS details, generates config, registers MCP servers. Quick update mode for vault fields via --vault-token or --vault-endpoint.
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.