Speech
JetBrains/skills
A skill your agent uses 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…
OpenAI Text-to-Speech API for high-quality speech synthesis.
$ npx skills add benchflow-ai/skillsbench --skill openai-tts -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install benchflow-ai/skillsbench openai-tts --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/benchflow-ai/skillsbench.git skills-src && mkdir -p .claude/skills && cp -r skills-src/tasks-extra/pg-essay-to-audiobook/environment/skills/openai-tts .claude/skills/openai-tts && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "openai-tts" agent skill from https://github.com/benchflow-ai/skillsbench/tree/main/tasks-extra/pg-essay-to-audiobook/environment/skills/openai-tts into .claude/skills/openai-tts/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "openai-tts", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/benchflow-ai/skillsbench/tree/main/tasks-extra/pg-essay-to-audiobook/environment/skills/openai-ttsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add benchflow-ai/skillsbench --skill openai-tts -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install benchflow-ai/skillsbench openai-tts --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/benchflow-ai/skillsbench.git skills-src && mkdir -p .agents/skills && cp -r skills-src/tasks-extra/pg-essay-to-audiobook/environment/skills/openai-tts .agents/skills/openai-tts && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "openai-tts" agent skill from https://github.com/benchflow-ai/skillsbench/tree/main/tasks-extra/pg-essay-to-audiobook/environment/skills/openai-tts into .agents/skills/openai-tts/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "openai-tts", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add benchflow-ai/skillsbench --skill openai-tts -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install benchflow-ai/skillsbench openai-tts --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/benchflow-ai/skillsbench.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/tasks-extra/pg-essay-to-audiobook/environment/skills/openai-tts .cursor/skills/openai-tts && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "openai-tts" agent skill from https://github.com/benchflow-ai/skillsbench/tree/main/tasks-extra/pg-essay-to-audiobook/environment/skills/openai-tts into .cursor/skills/openai-tts/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "openai-tts", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/benchflow-ai/skillsbench.git --path tasks-extra/pg-essay-to-audiobook/environment/skills/openai-tts--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add benchflow-ai/skillsbench --skill openai-tts -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install benchflow-ai/skillsbench openai-tts --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/benchflow-ai/skillsbench.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/tasks-extra/pg-essay-to-audiobook/environment/skills/openai-tts .gemini/skills/openai-tts && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "openai-tts" agent skill from https://github.com/benchflow-ai/skillsbench/tree/main/tasks-extra/pg-essay-to-audiobook/environment/skills/openai-tts into .gemini/skills/openai-tts/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "openai-tts", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install benchflow-ai/skillsbench openai-ttsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add benchflow-ai/skillsbench --skill openai-tts -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/benchflow-ai/skillsbench.git skills-src && mkdir -p .github/skills && cp -r skills-src/tasks-extra/pg-essay-to-audiobook/environment/skills/openai-tts .github/skills/openai-tts && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "openai-tts" agent skill from https://github.com/benchflow-ai/skillsbench/tree/main/tasks-extra/pg-essay-to-audiobook/environment/skills/openai-tts into .github/skills/openai-tts/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "openai-tts", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add benchflow-ai/skillsbench --skill openai-tts -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install benchflow-ai/skillsbench openai-tts --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/benchflow-ai/skillsbench.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/tasks-extra/pg-essay-to-audiobook/environment/skills/openai-tts .opencode/skills/openai-tts && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "openai-tts" agent skill from https://github.com/benchflow-ai/skillsbench/tree/main/tasks-extra/pg-essay-to-audiobook/environment/skills/openai-tts into .opencode/skills/openai-tts/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "openai-tts", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
openai-ttsOpenAI Text-to-Speech API for high-quality speech synthesis.
Openai Tts is an agent skill from benchflow-ai/skillsbench. OpenAI Text-to-Speech API for high-quality speech synthesis. Use for generating natural-sounding audio from text with customizable voices and tones.
Its SKILL.md is about 950 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Media & Creative, covering Text to speech and voice. It works with OpenAI. The repository describes itself as: SkillsBench evaluates how well skills work and how effective agents are at using them. The licence is Apache-2.0.
Read from SKILL.md and the folder at commit 9a1f4dd. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are python and bash).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
OPENAI_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Openai Tts loads about 946 tokens when it runs. Until then it costs about 40 tokens; SKILL.md has 150 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from benchflow-ai/skillsbench at commit 9a1f4dd, republished under its Apache-2.0 licence (© benchflow-ai). 150 words, ~946 tokens.
.claude/skills/openai-tts/SKILL.md (or your agent's skills folder).Generate high-quality spoken audio from text using OpenAI's TTS API.
The API key is available as environment variable:
OPENAI_API_KEYgpt-4o-mini-tts - Newest, most reliable. Supports tone/style instructions.tts-1 - Lower latency, lower qualitytts-1-hd - Higher quality, higher latencyBuilt-in voices (English optimized):
alloy, ash, ballad, coral, echo, fablenova, onyx, sage, shimmer, versemarin, cedar - Recommended for best qualityNote: tts-1 and tts-1-hd only support: alloy, ash, coral, echo, fable, onyx, nova, sage, shimmer.
from pathlib import Path
from openai import OpenAI
client = OpenAI() # Uses OPENAI_API_KEY env var
# Basic usage
with client.audio.speech.with_streaming_response.create(
model="gpt-4o-mini-tts",
voice="coral",
input="Hello, world!",
) as response:
response.stream_to_file("output.mp3")
# With tone instructions (gpt-4o-mini-tts only)
with client.audio.speech.with_streaming_response.create(
model="gpt-4o-mini-tts",
voice="coral",
input="Today is a wonderful day!",
instructions="Speak in a cheerful and positive tone.",
) as response:
response.stream_to_file("output.mp3")For long documents, split into chunks and concatenate:
from openai import OpenAI
from pydub import AudioSegment
import tempfile
import re
import os
client = OpenAI()
def chunk_text(text, max_chars=4000):
"""Split text into chunks at sentence boundaries."""
sentences = re.split(r'(?<=[.!?])\s+', text)
chunks = []
current_chunk = ""
for sentence in sentences:
if len(current_chunk) + len(sentence) < max_chars:
current_chunk += sentence + " "
else:
if current_chunk:
chunks.append(current_chunk.strip())
current_chunk = sentence + " "
if current_chunk:
chunks.append(current_chunk.strip())
return chunks
def text_to_audiobook(text, output_path):
"""Convert long text to audio file."""
chunks = chunk_text(text)
audio_segments = []
for chunk in chunks:
with tempfile.NamedTemporaryFile(suffix='.mp3', delete=False) as tmp:
tmp_path = tmp.name
with client.audio.speech.with_streaming_response.create(
model="gpt-4o-mini-tts",
voice="coral",
input=chunk,
) as response:
response.stream_to_file(tmp_path)
segment = AudioSegment.from_mp3(tmp_path)
audio_segments.append(segment)
os.unlink(tmp_path)
# Concatenate all segments
combined = audio_segments[0]
for segment in audio_segments[1:]:
combined += segment
combined.export(output_path, format="mp3")mp3 - Default, general useopus - Low latency streamingaac - Digital compression (YouTube, iOS)flac - Lossless compressionwav - Uncompressed, low latencypcm - Raw samples (24kHz, 16-bit)with client.audio.speech.with_streaming_response.create(
model="gpt-4o-mini-tts",
voice="coral",
input="Hello!",
response_format="wav", # Specify format
) as response:
response.stream_to_file("output.wav")marin or cedar voices for best qualitywav or pcm for lowest latencyinstructions parameter to control tone/style (gpt-4o-mini-tts only)© benchflow-ai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in tasks-extra/pg-essay-to-audiobook/environment/skills/openai-tts of benchflow-ai/skillsbench.
Open the folder on GitHubat commit 9a1f4dd
Openai Tts next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Openai Tts this skillbenchflow-ai/skillsbench | 1.8k | — | ~946 | Automated safety check: Pass | Apache-2.0 | |
| SpeechJetBrains/skills | 366 | 3 repos | ~1.9k | Automated safety check: Pass | Apache-2.0 | |
| Podcastteam-attention/plugins-for-claude-natives | 827 | — | ~1.5k | Automated safety check: Pass | MIT | |
| Voxclawmalpern/VoxClaw | 208 | — | ~1.9k | Automated safety check: Pass | None | |
| Lessongug007/lpm | 152 | — | ~1.2k | Automated safety check: Pass | MIT | |
| Speechdavila7/claude-code-templates | 33k | — | ~2k | Automated safety check: Pass | Apache-2.0 |
JetBrains/skills
A skill your agent uses 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…
team-attention/plugins-for-claude-natives
Generate Korean podcast episodes from any source (URLs, tweets, articles, PDFs) — analyzes content, writes a script, generates audio via OpenAI TTS, converts to MP4, and auto-uploads to YouTube.
malpern/VoxClaw
Give your agent a voice. An agent skill from malpern/VoxClaw.
gug007/lpm
Make a narrated lesson video about lpm from the real desktop app, recorded on a pristine data directory.
davila7/claude-code-templates
A skill your agent uses when the user asks for text-to-speech narration or voiceover, accessibility reads, audio prompts, or batch speech generation.
nexu-io/open-design
Generate spoken audio from text using OpenAI's API with built-in voices.
benchflow-ai/skillsbench
This skill should be used when working on Lean 4 formalization projects to maintain persistent memory of successful proof patterns, failed approaches, project conventions, and user preferences…
benchflow-ai/skillsbench
World-class data engineering skill for building scalable data pipelines, ETL/ELT systems, real-time streaming, and data infrastructure.
benchflow-ai/skillsbench
AC branch pi-model power flow equations (P/Q and |S|) with transformer tap ratio and phase shift, matching acopf-math-model.md and MATPOWER branch fields.
benchflow-ai/skillsbench
Civilization 6 district mechanics library. An agent skill from benchflow-ai/skillsbench.
benchflow-ai/skillsbench
Build deterministic, verifiable data visualizations with D3.js (v6).
benchflow-ai/skillsbench
DC power flow analysis for power systems. An agent skill from benchflow-ai/skillsbench.
Works with
Categories
OpenAI Text-to-Speech API for high-quality speech synthesis. Openai Tts is an agent skill from benchflow-ai/skillsbench. OpenAI Text-to-Speech API for high-quality speech synthesis.
Openai Tts fits situations like: generating natural-sounding audio from text with customizable voices and tones; tasks that involve Text to speech and voice.
Run `npx skills add benchflow-ai/skillsbench --skill openai-tts -a claude-code`. Or copy the skill folder (tasks-extra/pg-essay-to-audiobook/environment/skills/openai-tts in benchflow-ai/skillsbench) into .claude/skills/openai-tts in your project. Claude Code loads it when a task matches its description.
Run `npx skills add benchflow-ai/skillsbench --skill openai-tts -a codex`. Or copy the skill folder (tasks-extra/pg-essay-to-audiobook/environment/skills/openai-tts in benchflow-ai/skillsbench) into .agents/skills/openai-tts in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add benchflow-ai/skillsbench --skill openai-tts -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/openai-tts, .gemini/skills/openai-tts, .github/skills/openai-tts and .opencode/skills/openai-tts in your project.
Going by SKILL.md and its folder, Openai Tts needs credentials named OPENAI_API_KEY. Our summary lists: Python 3; A credential in OPENAI_API_KEY.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Openai Tts is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 946 tokens (SKILL.md is roughly 3.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Openai Tts: Speech (JetBrains/skills, 366 stars), Podcast (team-attention/plugins-for-claude-natives, 827 stars), Voxclaw (malpern/VoxClaw, 208 stars) and Lesson (gug007/lpm, 152 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
benchflow-ai (a GitHub organization) maintains it in benchflow-ai/skillsbench, which has 1,835 GitHub stars. The repository holds 189 skills in this directory. The repository was last updated on July 23, 2026.
Source: benchflow-ai/skillsbench on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.