voice-quality-audition
Audition Kokoro TTS voices to compare quality and grade. TRIGGERS - audition voices, kokoro voices, voice comparison
What this skill does
# Voice Quality Audition Compare Kokoro TTS voice quality across all available voices. Runs `tts_kokoro_audition.sh` which plays a passage with each top voice. Each voice announces its name before reading the passage. Uses clipboard text or a default passage. > **Platform**: macOS (Apple Silicon) --- > **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. ## When to Use This Skill - Audition all available Kokoro voices to hear quality differences - Compare specific voices side-by-side for a project - Re-evaluate voice grades after a Kokoro engine upgrade - Select a new default voice for TTS_VOICE_EN or TTS_VOICE_ZH - Test how a particular passage sounds across multiple voices --- ## Requirements - Kokoro TTS engine installed and healthy (`kokoro-install.sh --health`) - Apple Silicon Mac with MLX Metal available - `afplay` available (ships with macOS) - Audition script at plugin `scripts/tts_kokoro_audition.sh` - Shared library at plugin `scripts/lib/tts-common.sh` --- ## Voice Catalog | Voice ID | Name | Grade | Gender | | ---------- | ------- | ------- | ------ | | af_heart | Heart | A | Female | | af_bella | Bella | A- | Female | | af_nicole | Nicole | B- | Female | | af_aoede | Aoede | C+ | Female | | af_kore | Kore | C+ | Female | | af_sarah | Sarah | C+ | Female | | am_adam | Adam | F+ | Male | | am_michael | Michael | unrated | Male | | am_echo | Echo | D | Male | | am_puck | Puck | unrated | Male | **Current defaults** (configured in `~/.claude/automation/claude-telegram-sync/mise.toml`): - English voice: `af_heart` (Grade A) via `TTS_VOICE_EN` - Chinese voice: `zf_xiaobei` via `TTS_VOICE_ZH` - macOS `say` fallback EN: `Samantha` via `TTS_VOICE_SAY_EN` - macOS `say` fallback ZH: `Ting-Ting` via `TTS_VOICE_SAY_ZH` See [Voice Catalog](./references/voice-catalog.md) for detailed characteristics and grade criteria. --- ## Workflow Phases ### Phase 1: Preflight Verify Kokoro is installed and healthy: ```bash kokoro-install.sh --health ``` All 6 checks must pass (venv, Python 3.14, mlx_audio importable, kokoro_common.py, tts_generate.py, version.json). ### Phase 2: Text Selection The audition script reads from the macOS clipboard (`pbpaste`). If the clipboard is empty or not text, it falls back to a built-in passage about reading in a library. To audition with custom text, copy the desired passage to the clipboard before running. ### Phase 3: Ask User — Full or Selective Audition Use `AskUserQuestion` to determine scope: - **Full audition** — Play all 10 voices sequentially (takes several minutes) - **Select specific voices** — Run only a subset (e.g., top 3 female voices) For a selective audition, edit the `VOICES` array in the script or pass voice IDs manually. ### Phase 4: Execute Audition ```bash ~/.local/bin/tts_kokoro_audition.sh ``` Or directly from the plugin source: ```bash /path/to/plugins/tts-tg-sync/scripts/tts_kokoro_audition.sh ``` The script acquires the TTS lock, plays each voice sequentially with a 1-second gap, then releases the lock on exit. ### Phase 5: Feedback Use `AskUserQuestion` to collect the user's preference: - Which voice sounded best? - Any voices to eliminate from future consideration? - Should we update grade assignments? ### Phase 6: Apply Configuration Optionally update the default voice in mise.toml: ```toml # ~/.claude/automation/claude-telegram-sync/mise.toml [env] TTS_VOICE_EN = "af_heart" # Change to preferred voice ID TTS_VOICE_ZH = "zf_xiaobei" ``` After changing mise.toml, restart the Telegram bot for the new voice to take effect. --- ## TodoWrite Task Templates ``` 1. [Preflight] Verify Kokoro TTS is installed and healthy (kokoro-install.sh --health) 2. [Text] Check clipboard for passage, fall back to default if empty 3. [Select] Ask user: full audition (all 10 voices) or specific voices 4. [Audition] Run tts_kokoro_audition.sh and let user listen 5. [Feedback] Ask user which voice they prefer and collect grade feedback 6. [Apply] Optionally update TTS_VOICE_EN in mise.toml and restart bot ``` --- ## Post-Change Checklist - [ ] Kokoro health check passed before audition - [ ] All selected voices played without errors - [ ] User confirmed preferred voice - [ ] mise.toml updated with new voice ID (if changed) - [ ] Bot restarted after configuration change (if applicable) - [ ] Voice catalog grades updated in reference doc (if re-graded) ## Troubleshooting | Issue | Cause | Solution | | ------------------------------- | ---------------------------------- | ----------------------------------------------------------------------- | | No audio plays | Kokoro not installed | Run `kokoro-install.sh --install` or use `full-stack-bootstrap` skill | | Audio cuts off mid-sentence | TTS lock stolen by another process | Check for competing TTS processes: `pgrep -la afplay` | | Voice sounds wrong | Invalid voice ID in Kokoro model | Verify voice ID exists in `VOICES` array; check Kokoro version | | Clipboard empty | No text copied | Script uses default passage automatically; no action needed | | "ERROR: Local Kokoro not found" | Venv or script missing | Run `kokoro-install.sh --health` to diagnose; `--install` to fix | | FAILED for a specific voice | Voice not available in model | Voice may require a different Kokoro version; check model compatibility | | Lock not released | Script crashed without cleanup | Remove stale lock: `rm -f /tmp/kokoro-tts.lock` | | All voices sound identical | Kokoro model not loaded properly | Re-download model: `kokoro-install.sh --upgrade` | --- ## Reference Documentation - [Voice Catalog](./references/voice-catalog.md) - Comprehensive voice listing with quality grades, characteristics, and selection guidance - [Evolution Log](./references/evolution-log.md) - Change history for this skill ## Post-Execution Reflection After this skill completes, reflect before closing the task: 0. **Locate yourself.** — Find this SKILL.md's canonical path (Glob for this skill's name) before editing. All corrections target THIS file and its sibling references/ — never other documentation. 1. **What failed?** — Fix the instruction that caused it. If it could recur, add it as an anti-pattern. 2. **What worked better than expected?** — Promote it to recommended practice. Document why. 3. **What drifted?** — Any script, reference, or external dependency that no longer matches reality gets fixed now. 4. **Log it.** — Every change gets an evolution-log entry with trigger, fix, and evidence. Do NOT defer. The next invocation inherits whatever you leave behind. --- ---
Related in Image & Video
watch
IncludedWatch a video (URL or local path). Downloads with yt-dlp, extracts auto-scaled frames with ffmpeg, pulls the transcript from captions (or Whisper API fallback), and hands the result to Claude so it can answer questions about what's in the video.
physical-ai-defect-image-generation
IncludedUse when the user wants to orchestrate defect image generation, run associated setup, or handle outputs on OSMO. The Day 0 path handles cold-start with USD-to-ROI, image-edit augmentation, and AnomalyGen to create initial PCBA datasets. The Day 1 path performs inference and labeling on real images. This skill helps with first-time asset setup, creation of finetuning checkpoints, and configuring deployment. Trigger keywords: defect image generation, dig workflow, dig pipeline, defect image detection workflow, aoi pipeline, aoi anomalygen, usd2roi anomalygen, day 0 pcba, day 1 pcba, day 1 real-photo alignment, day 1 manual roi, metal surface anomaly, glass defect, anomalygen finetune, setup_pcb, setup_metal, setup_glass, setup_pretrained, dig setup, dig datasets, dig pretrained checkpoint, dig image-edit endpoint.
accelint-react-best-practices
IncludedReact performance optimization and best practices. ALWAYS use this skill when working with any React code - writing components, hooks, JSX; refactoring; optimizing re-renders, memoization, state management; reviewing for performance; fixing hydration mismatches; debugging infinite re-renders, stale closures, input focus loss, animations restarting; preventing remounting; implementing transitions, lazy initialization, effect dependencies. Even simple React tasks benefit from these patterns. Covers React 19+ (useEffectEvent, Activity, ref props). Triggers - useEffect, useState, useMemo, useCallback, memo, inline components, nested components, components inside components, re-render, performance, hydration, SSR, Next.js, useDeferredValue, combined hooks.
elevenlabs-agents
IncludedBuild conversational AI voice agents with ElevenLabs Platform using React, JavaScript, React Native, or Swift SDKs. Configure agents, tools (client/server/MCP), RAG knowledge bases, multi-voice, and Scribe real-time STT. Use when: building voice chat interfaces, implementing AI phone agents with Twilio, configuring agent workflows or tools, adding RAG knowledge bases, testing with CLI "agents as code", or troubleshooting deprecated @11labs packages, Android audio cutoff, CSP violations, dynamic variables, or WebRTC config. Keywords: ElevenLabs Agents, ElevenLabs voice agents, AI voice agents, conversational AI, @elevenlabs/react, @elevenlabs/client, @elevenlabs/react-native, @elevenlabs/elevenlabs-js, @elevenlabs/agents-cli, elevenlabs SDK, voice AI, TTS, text-to-speech, ASR, speech recognition, turn-taking model, WebRTC voice, WebSocket voice, ElevenLabs conversation, agent system prompt, agent tools, agent knowledge base, RAG voice agents, multi-voice agents, pronunciation dictionary, voice speed control, elevenlabs scribe, @11labs deprecated, Android audio cutoff, CSP violation elevenlabs, dynamic variables elevenlabs, case-sensitive tool names, webhook authentication
humanizer
IncludedHumanize AI-generated text by detecting and removing patterns typical of LLM output. Rewrites text to sound natural, specific, and human. Uses 28 pattern detectors, 560+ AI vocabulary terms across 3 tiers, and statistical analysis (burstiness, type-token ratio, readability) for comprehensive detection. Use when asked to humanize text, de-AI writing, make content sound more natural/human, review writing for AI patterns, score text for AI detection, or improve AI-generated drafts. Covers content, language, style, communication, and filler categories.
generating-mermaid-diagrams
IncludedSalesforce architecture diagrams using Mermaid with ASCII fallback. Use this skill when generating text-based diagrams for Salesforce architecture, OAuth flows, ERDs, integration sequences, or Agentforce structure. TRIGGER when: user says "diagram", "visualize", "ERD", or asks for sequence diagrams, flowcharts, class diagrams, or architecture visualizations in Mermaid. DO NOT TRIGGER when: user wants PNG/SVG image output (use generating-visual-diagrams), or asks about non-Salesforce systems.