Software DevelopmentOfficial · openai

Speech skill for Claude

Use when the user asks for text-to-speech narration or voiceover, accessibility reads, audio prompts, or batch speech generation via the OpenAI Audio API; run the bundled CLI (`scripts/text_to_speech.py`) with built-in voices and require `OPENAI_API_KEY` for live calls. Custom voice creation is out of scope.

Speech SKILL.md

A preview of the skill file from openai/skills.

Speech Generation Skill

Generate spoken audio for the current project (narration, product demo voiceover, IVR prompts, accessibility reads). Defaults to gpt-4o-mini-tts-2025-12-15 and built-in voices, and prefers the bundled CLI 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

  1. Decide intent: single vs batch (see decision tree above).
  2. Collect inputs up front: exact text (verbatim), desired voice, delivery style, format, and any constraints.
  3. If batch: write a temporary JSONL under tmp/ (one job per line), run once, then delete the JSONL.
  4. Augment instructions into a short labeled spec without rewriting the input text.
  5. Run the bundled CLI (scripts/text_to_speech.py) with sensible defaults (see references/cli.md).
  6. For important clips, validate: intelligibility, pacing, pronunciation, and adherence to constraints.
  7. Iterate with a single targeted change (voice, speed, or instructions), then re-check.
  8. 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.

Read the full SKILL.md on GitHub →

How to install Speech

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit openai/skills/skills/.curated/speech#main ~/.claude/skills/speech

Codex

npx degit openai/skills/skills/.curated/speech#main ~/.codex/skills/speech

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+What does the Speech skill do?

Use when the user asks for text-to-speech narration or voiceover, accessibility reads, audio prompts, or batch speech generation via the OpenAI Audio API; run the bundled CLI (`scripts/text_to_speech.py`) with built-in voices and require `OPENAI_API_KEY` for live calls. Custom voice creation is out of scope.

+How do I install Speech in Claude Code?

Copy the skill folder into ~/.claude/skills/speech, for example with "npx degit openai/skills/skills/.curated/speech#main ~/.claude/skills/speech". Claude Code loads it automatically and uses it when a task matches.

+Does Speech work with ChatGPT or Codex?

Yes. Speech uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/speech. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is Speech free?

Speech is published on GitHub by openai. The repository does not declare a license, so check with the author before reusing it.

Related software development skills

  1. Code Review

    Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's…

    mattpocock/skills★ 327k
  2. Using Agent Skills

    Discovers and invokes agent skills. Use when starting a session, or when you need to decide which skill or workflow applies to the piece of…

    addyosmani/agent-skills★ 119k
  3. Build

    Fully automate a coding task with make-plan, do, and babysit.

    thedotmack/claude-mem★ 118k
  4. Yeet

    Official

    Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).

    openai/skills★ 29k
  5. Gemini Agents Api

    Official

    Manages custom Agent resources on Gemini Enterprise Agent Platform.

    google/skills★ 24k
  6. Gemini Live Api

    Official

    Builds, integrates, and troubleshoots Gemini Enterprise Agent Platform Live API (BidiGenerateContent) WebSocket clients and sessions.

    google/skills★ 24k
  7. Hf Cloud Python Env Setup

    Official

    Set up an isolated Python environment for SageMaker / AWS work, with the right Python version and current boto3.

    huggingface/skills★ 11k
  8. Huggingface Zerogpu

    Official

    AI demos and GPU compute with Gradio Spaces and Hugging Face Spaces ZeroGPU.

    huggingface/skills★ 11k
  9. Trl Training

    Official

    Post-train LLMs with TRL (Transformers Reinforcement Learning) — SFT, DPO, GRPO, KTO, and reward-model training.

    huggingface/skills★ 11k

See all software development skills →

More skills from openai

  1. Transcribe

    Official

    Transcribe audio files to text with optional diarization and known-speaker hints.

    openai/skills★ 29k
  2. Winui App

    Official

    Bootstrap, develop, and design modern WinUI 3 desktop applications with C# and the Windows App SDK using official Microsoft guidance, WinUI…

    openai/skills★ 29k

All skills by openai →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.