kesha-voice-kit: Skill for Claude Code

.claude/skills/tts-internals/SKILL.md

tts-internals is a skill for Claude Code from drakulavich/kesha-voice-kit. It costs 104 tokens per session (3,113 once invoked), scanned A, original, MIT.

Technical guidance for Kesha's text-to-speech system, including voice selection, speech engines, model inputs and outputs, pronunciation handling, markup, languages, and environment settings. Text-to-speech creates spoken audio from written text.

In plain words
What is it for?
Use it when changing or debugging Kesha TTS internals, voice IDs, Kokoro or Vosk models, pronunciation conversion, SSML, multilingual output, or TTS environment variables.
Why use it?
It explains which engine handles each voice and what installation or platform requirements apply. This helps diagnose missing models, language behavior, audio formats, and voice-routing problems.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is drakulavich/kesha-voice-kit's own configuration. It tells Claude Code how to work on kesha-voice-kit itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything kesha-voice-kit configures →

Reuse

Borrowing it

Nothing to install: this file belongs to drakulavich/kesha-voice-kit. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/drakulavich/kesha-voice-kit/main/.claude/skills/tts-internals/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/drakulavich/kesha-voice-kit

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tts-internals

README.md
[![agentmods](https://agentmods.dev/badge/skills/drakulavich/kesha-voice-kit/tts-internals/github.svg)](https://agentmods.dev/skills/drakulavich/kesha-voice-kit/tts-internals)
Your own site
<a href="https://agentmods.dev/skills/drakulavich/kesha-voice-kit/tts-internals"><img src="https://agentmods.dev/badge/skills/drakulavich/kesha-voice-kit/tts-internals/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tts-internals

Your own site · 80×15
<a href="https://agentmods.dev/skills/drakulavich/kesha-voice-kit/tts-internals"><img src="https://agentmods.dev/badge/skills/drakulavich/kesha-voice-kit/tts-internals.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,113 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Anti-Refusal · line 81
    Skill instructs the agent to omit warnings, disclaimers, or ethical commentary. Stripping safety caveats hides risk from the user and is a common jailbreak preamble.
    Fix: Remove instructions that suppress warnings, disclaimers, or ethical commentary. Let the agent surface safety-relevant caveats to the user.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00104 $0.03113
Opus 5.5 $0.00042 $0.01245
Sonnet 5.5 $0.00021 $0.00623
Haiku 4.5 $0.00010 $0.00311

Measured 5d ago against content hash df89915a001b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tts-internals scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- `KESHA_MODEL_MIRROR` — redirect HF downloads to an internal mirror (#121), preserving `/<owner>/<repo>/resolve/<ref>/<file>` for `wget --mirror`; empty/unset = no-op. Rust `models/download.rs::apply_mirror` and TS `sta
.claude/skills/tts-internals/SKILL.md · 104 lines

How it starts

The opening of the file, as written. The whole thing — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.

TTS internals

Engines

Text-to-speech via three engines selected by voice id prefix:

  • en-* → Kokoro-82M. Separate model + per-voice style embedding. Output 24 kHz.
  • ru-* → Vosk-TTS (alphacep/vosk-tts). Multi-speaker model, 5 baked-in speakers. Output 22.05 kHz.
  • macos-* → AVSpeechSynthesizer Swift sidecar (#141). Zero model download, notification-grade quality, shipped in the darwin-arm64 darwin profile; kesha install places say-avspeech-darwin-arm64 next to the engine and runtime lookup is sibling-first (rust/src/tts/avspeech.rs::helper_path).

Install Kokoro + Vosk-TTS explicitly with kesha install --tts (~990 MB). macos-* voices use installed macOS voices and need no model install.

Behavior, G2P, and SSML

  • TTS models are never auto-downloaded — kesha say fails loudly with a kesha install --tts hint when models are missing.
  • kesha say writes WAV mono f32 to stdout unless --out is given. Stderr is progress/errors only.
  • G2P split: English (en/en-us/en-gb) uses embedded misaki-rs (Kokoro-trained inventory, no system deps, OOV letter-spell); Russian uses Vosk-TTS internals (BERT prosody + dictionary, no system deps); es/fr/it/pt use CharsiuG2P on ONNX builds and FluidAudio's own G2P on darwin-arm64 system_kokoro (see below); every other language bails out of g2p::text_to_ipa_cached with a pointer to #212 — darwin-arm64 hi/ja/zh never reach that function at all (#492, below).
  • Auto-routing: omitted --voice asks the engine to detect the text language (detectTextLanguageEngine) and picks en-am_michael, macos-com.apple.voice.compact.ru-RU.Milena on darwin Russian, or ru-vosk-m02 elsewhere. Confidence < 0.5 or unmapped language falls to engine default. Routing table: src/voice-routing.ts::pickVoiceForLang.
  • SSML (--ssml): ssml-parser; supports required <speak> root, <break time="...">, <phoneme alphabet="ipa" ph="...">, <say-as interpret-as="characters">, <emphasis level="..."> and whole-utterance <prosody rate="..."> (other interpret-as values and mid-utterance prosody warn and fall back to plain text; FluidAudio Kokoro cannot take IPA or letter-spell, so there <phoneme> and <say-as characters> warn once and read the wrapped text); rejects <!DOCTYPE>; unknown tags warn once and strip tags while synthesizing contained text. tts::ssml::parse returns Vec<Segment>; tts::say() loads the engine once, concatenates text/silence f32 samples, then calls wav::encode_wav. Scope/future tags: #122.

Read the full file on GitHub · 104 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago Changed · +2 lines df89915a001b
  2. 1mo ago Changed · -4 lines dd6f86ee8a5d
  3. 1mo ago Changed 549a75a9ca79
  4. 1mo ago Changed · +2 lines 472f0f08ab50
  5. 2mo ago Changed 0cb7995d7057
  6. 2mo ago First seen · 104 lines · 104 tokens per session scan A acfd71159622

Subscribe to this mod's changes

tts-internals is a skill published in the GitHub repository drakulavich/kesha-voice-kit (79 stars, last pushed 3d ago), licensed MIT. It adds 104 tokens to every session and 3,113 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

tts-internals compared with skills from other repositories

tts-internals next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tts-internalsdrakulavich/kesha-voice-kitSkill793d agoMITA104Claude Code
benchmarksoniqo/speech-swiftSkill1.3kyesterdayApache-2.0A0Claude Code
review-prsoniqo/speech-swiftSkill1.3kyesterdayApache-2.0A71Claude Code
biopythonsynthetic-sciences/openscienceSkill4.3k2d agoApache-2.0A76Claude Code, Codex
better-t-stackAmanVarshney01/create-better-t-stackSkill5.9k13d agoMITA149Claude Code, Codex
quantum-qiskitaiming-lab/AutoResearchClawSkill15k2mo agoMITA102Claude Code, Codex
rust-crate-ciZaxbyHub/opencode-swarmSkill518todayMITA60Claude Code