speech
Qué hace
Esta skill crea audio hablado a partir de texto escrito, como una narración o una locución para un vídeo de demostración. Está pensada para creadores y equipos que necesitan voz para vídeos, apps o accesibilidad.
Cuándo usarla
- ✓Cuando necesitas una locución o narración generada a partir de un guion.
- ✓Cuando quieres convertir en voz muchas frases o líneas de audio en un solo lote.
- ✓Cuando necesitas que un texto se lea en voz alta por accesibilidad.
Link de la skill
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/media/speech/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Convierte el guion de mi demostración de producto en una locución cálida y clara, y guárdala como archivo de audio.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El agente envía tu texto exacto a un servicio de texto a voz con la voz y el estilo que elijas, y después guarda el audio. También puede ejecutar un lote a partir de una lista de líneas.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Speech Generation Skill
Generate spoken audio for the current project (narration, product demo voiceover, IVR prompts, accessibility reads). OpenAI remains the default with gpt-4o-mini-tts-2025-12-15; Atlas Cloud is available only when the user explicitly selects it. Prefer the bundled CLIs for deterministic, reproducible runs.
When to use
- Generate a single spoken clip from text
- Generate a batch of prompts (many lines, many files)
Decision tree (single vs batch)
- If the user provides multiple lines/prompts or wants many outputs -> batch
- Else -> single
Workflow
- Decide intent: single vs batch (see decision tree above).
- Collect inputs up front: exact text (verbatim), desired voice, delivery style, format, and any constraints.
- If batch: write a temporary JSONL under tmp/ (one job per line), run once, then delete the JSONL.
- Augment instructions into a short labeled spec without rewriting the input text.
- Run
scripts/text_to_speech.pyfor the default OpenAI path, orscripts/atlas_text_to_speech.pyonly when Atlas Cloud was selected (seereferences/cli.md). - For important clips, validate: intelligibility, pacing, pronunciation, and adherence to constraints.
- Iterate with a single targeted change (voice, speed, or instructions), then re-check.
- Save/return final outputs and note the final text + instructions + flags used.
Temp and output conventions
- Use
tmp/speech/for intermediate files (for example JSONL batches); delete when done. - Write final artifacts under
output/speech/when working in this repo. - Use
--outor--out-dirto control output paths; keep filenames stable and descriptive.
Dependencies (install if missing)
Prefer uv for dependency management.
OpenAI backend package:
uv pip install openai
If uv is unavailable:
python3 -m pip install openai
The Atlas Cloud backend uses only the Python standard library.
Environment
- Default OpenAI calls require
OPENAI_API_KEY. - Optional Atlas Cloud calls require
ATLASCLOUD_API_KEY.
If the selected provider key is missing, give the user these steps:
- Create an API key in that provider's console.
- Set
OPENAI_API_KEYorATLASCLOUD_API_KEYas an environment variable in their system. - Offer to guide them through setting the environment variable for their OS/shell if needed.
- Keep provider credentials out of chat. Direct the user to set the selected key locally and confirm when ready.
If installation isn't possible in this environment, tell the user which dependency is missing and how to install it locally.
Defaults & rules
- Keep OpenAI as the default provider. Do not switch to Atlas Cloud unless the user requests it.
- Use
gpt-4o-mini-tts-2025-12-15unless the user requests another model. - Default voice:
cedar. If the user wants a brighter tone, prefermarin. - Built-in voices only. Custom voices are out of scope for this skill.
instructionsare supported for GPT-4o mini TTS models, but not fortts-1ortts-1-hd.- Input length must be <= 4096 characters per request. Split longer text into chunks.
- Enforce 50 requests/minute. The CLI caps
--rpmat 50. - Require
OPENAI_API_KEYbefore any live API call. - For Atlas Cloud, default to
xai/tts-v1, voiceeve, languageauto, and requireATLASCLOUD_API_KEY. - Atlas generation submits exactly one POST. Only prediction GET requests may retry, and polling must stay finite.
- Download Atlas outputs without an Authorization header and reject non-HTTPS or private-network targets.
- Provide a clear disclosure to end users that the voice is AI-generated.
- Use the OpenAI Python SDK (
openaipackage) for default OpenAI calls; the dedicated Atlas CLI uses its asynchronous HTTP contract. - Prefer the matching bundled CLI over writing new one-off scripts.
Instruction augmentation
Reformat user direction into a short, labeled spec. Only make implicit details explicit; do not invent new requirements.
Quick clarification (augmentation vs invention):
- If the user says "narration for a demo", you may add implied delivery constraints (clear, steady pacing, friendly tone).
- Do not introduce a new persona, accent, or emotional style the user did not request.
Template (include only relevant lines):
Voice Affect: <overall character and texture of the voice>
Tone: <attitude, formality, warmth>
Pacing: <slow, steady, brisk>
Emotion: <key emotions to convey>
Pronunciation: <words to enunciate or emp
Preguntas frecuentes
¿Qué servicio usa?
OpenAI por defecto. Atlas Cloud solo se usa si lo eliges explícitamente.
¿Puedo crear una voz personalizada?
No. La skill indica que la creación de voces personalizadas queda fuera de su alcance.
¿Comprueba el resultado?
Sí. En los clips importantes revisa la claridad, el ritmo y la pronunciación, y si hace falta hace un cambio puntual.
Detalles
Descripción original del autor
Use when the user asks for text-to-speech narration or voiceover, accessibility reads, audio prompts, or batch speech generation. OpenAI remains the default; Atlas Cloud is an explicit optional backend for asynchronous multilingual speech. Custom voice creation is out of scope.
Popularidad
- Estrellas en GitHub
- 33 mil
- Posición en el ranking
- #8860
- Licencia
- MIT
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
owasp-security
33 milEnseña a tu agente la guía de seguridad OWASP para webs, APIs, móviles, contenedores y agentes de IA, para detectar debilidades comunes y sugerir correcciones.
agent-management
33 milPermite que tu agente cree, liste, hiberne, despierte, renombre y elimine agentes de IA con la CLI de AI Maestro, gestionando su ciclo de vida.
agent-messaging
33 milPermite que tu agente envíe, reciba y responda mensajes firmados entre agentes de IA con el Protocolo de Mensajería de Agentes, sobre todo en tu equipo.
docs-search
33 milBusca en la documentación generada del código las firmas de funciones, clases y comentarios, para revisar la API real antes de cambiar nada.
Skills parecidas
openai-whisper-api
394 milPermite que tu agente convierta una grabación de audio en texto usando el servicio de transcripción de OpenAI, con opciones para etiquetas de hablante y archivos de salida.
openai-whisper
394 milAyuda a tu agente a transcribir audio en tu propio ordenador con el comando Whisper, sin clave API ni subida a la nube.
sag
394 milAyuda a tu agente a leer texto en voz alta con voces de ElevenLabs y reproducir el resultado en tu ordenador, con consejos de pronunciación y expresión.