Upgrade Kokoro TTS engine dependencies and model. TRIGGERS - upgrade kokoro, update tts, kokoro update, update mlx-audio.
From kokoro-ttsnpx claudepluginhub terrylica/cc-skills --plugin kokoro-ttsThis skill is limited to using the following tools:
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Optimizes cloud costs on AWS, Azure, GCP via rightsizing, tagging strategies, reserved instances, spot usage, and spending analysis. Use for expense reduction and governance.
Upgrade MLX-Audio dependencies, re-download the model, and update bundled scripts.
Self-Evolving Skill: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.
PLUGIN_DIR="${CLAUDE_PLUGIN_ROOT:-$HOME/.claude/plugins/marketplaces/cc-skills/plugins/kokoro-tts}"
bash "$PLUGIN_DIR/scripts/kokoro-install.sh" --health
cat ~/.local/share/kokoro/version.json
PLUGIN_DIR="${CLAUDE_PLUGIN_ROOT:-$HOME/.claude/plugins/marketplaces/cc-skills/plugins/kokoro-tts}"
bash "$PLUGIN_DIR/scripts/kokoro-install.sh" --upgrade
This upgrades:
mlx-audio, soundfile, numpymlx-community/Kokoro-82M-bf16kokoro_common.py and tts_generate.py re-copied from pluginversion.json: rewritten with new versionsPLUGIN_DIR="${CLAUDE_PLUGIN_ROOT:-$HOME/.claude/plugins/marketplaces/cc-skills/plugins/kokoro-tts}"
bash "$PLUGIN_DIR/scripts/kokoro-install.sh" --health
cat ~/.local/share/kokoro/version.json
# Test synthesis
~/.local/share/kokoro/.venv/bin/python ~/.local/share/kokoro/tts_generate.py \
--text "Upgrade verification" --voice af_heart --lang en-us --speed 1.0 \
--output /tmp/kokoro-upgrade-test.wav && echo "OK"
If upgrade breaks TTS, do a clean reinstall:
PLUGIN_DIR="${CLAUDE_PLUGIN_ROOT:-$HOME/.claude/plugins/marketplaces/cc-skills/plugins/kokoro-tts}"
bash "$PLUGIN_DIR/scripts/kokoro-install.sh" --uninstall
bash "$PLUGIN_DIR/scripts/kokoro-install.sh" --install
Model cache is preserved across uninstall, so reinstall reuses the cached model.
| Issue | Cause | Solution |
|---|---|---|
| Upgrade fails | No internet or PyPI down | Check connectivity, retry |
| Import error after | mlx-audio incompatibility | Clean reinstall: --uninstall then --install |
| Model download slow | Large download | Wait for HuggingFace download to complete |
After this skill completes, reflect before closing the task:
Do NOT defer. The next invocation inherits whatever you leave behind.