Setup
Check speech TTS prerequisites (Python, espeak-ng, packages, Kokoro) or run apply install-model to fetch Kokoro-82M assets; never installs espeak-ng.
от melodic-software★ 34 звезды на GitHub
Установить Setup в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Setup
Purpose
The plugin owns no consumer-project configuration. Its userConfig options are set through
/plugin configure, never by this skill: model_dir moves the Kokoro model folder,
elevenlabs_model picks the elevenlabs backend's default model, and openai_model,
openai_voice and openai_instructions set the openai backend's model, voice and tone. Its prerequisites have three
owners:
| Prerequisite | Who installs it |
|---|---|
| Python 3.12 or later, Node.js, espeak-ng | The user. espeak-ng is GPL-3.0, so the plugin never installs or ships it. |
| numpy and onnxruntime | The plugin's SessionStart hook, from the hash-locked requirements.txt. |
| Kokoro model, tokenizer, voices | apply install-model (this skill), from the pinned revision. |
Non-interactive: never prompt. Run the action, report what it printed, stop.
check (read-only, default)
${CLAUDE_PLUGIN_ROOT}/scripts/check.py owns every probe. It reads the declared entries in
${CLAUDE_PLUGIN_ROOT}/prerequisites.json, so the install hints are never restated here. Run it:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/check.py" --data-dir "${CLAUDE_PLUGIN_DATA}" \
--model-dir '${user_config.model_dir}' --openai-model '${user_config.openai_model}'
Where python3 is not on PATH, run this and the assets.py command below with python; the
SessionStart hook accepts either. Keep --model-dir exactly as shown, in single quotes; the
scripts handle an unset model_dir option (reference/plugin-options.md).
It prints one row per prerequisite, then a summary, and exits 1 when any row fails. Report the rows
as printed. A FAIL row carries its remedy: install hints for a tool, the repair command for the
Python packages, or apply install-model for the model. When OPENAI_API_KEY is set, it also asks
OpenAI (GET api.openai.com/v1/models/<openai_model>) whether the configured model is still served:
FAIL when it is gone or past its shutdown date, WARN naming the date while a shutdown is
scheduled or when OpenAI could not be reached, and INFO without a key, sending nothing.
apply install-model
Downloads the files ${CLAUDE_PLUGIN_ROOT}/scripts/kokoro-assets.json pins, from that revision,
into the model_dir option's folder, or ${CLAUDE_PLUGIN_DATA}/models/ when it is unset. Each
file is hashed as it downloads and kept only when its sha256 matches the pin. Files already present
are skipped, so a rerun is safe.
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/assets.py" fetch --data-dir "${CLAUDE_PLUGIN_DATA}" \
--model-dir '${user_config.model_dir}'
It prints the asset folder and exits 0 when every file is present. On a failed download or a hash
mismatch it exits 1 with the file name and reason, and keeps no partial file. Report the folder, or
the error. Then run check and report its rows as the observed state.
Bare apply has nothing to configure: say so and name apply install-model.
apply never installs espeak-ng, Python, Node.js or the Python packages. For a missing tool, report
the install hints check printed. For the packages, report the repair command check printed.
Next
/speech:narrate <script file>
Gotchas
- The model files come from huggingface.co (Kokoro-82M, Apache-2.0). A network that blocks it fails
apply install-modelwith the URL in the error. - With
OPENAI_API_KEYset,checkcontacts api.openai.com. A network that blocks it gives aWARN … not checkedrow foropenai-model, not a failure. - A new pin in
kokoro-assets.jsondownloads into a new folder beside the old one. Remove the old folder by hand if disk space matters;checkprints the folder in use.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Setup?
Check speech TTS prerequisites (Python, espeak-ng, packages, Kokoro) or run apply install-model to fetch Kokoro-82M assets; never installs espeak-ng.
Как установить скилл Setup?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Setup запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…