Transcribe
OpenAIOfficialPublished by OpenAI
- Skill
- Tool integration
- Automation and integrations
- Apache-2.0
- Low risk
- Has scripts
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
The transcribe skill provides a structured workflow for converting audio and video recordings into text. It leverages a dedicated Python CLI to interface with OpenAI models, supporting both rapid text-only transcription and advanced speaker diarization. The skill includes configuration for handling long audio files via automatic chunking and allows for the inclusion of known speaker references to improve diarization accuracy.
What it does
- Transcribes audio and video files into text format.
- Performs speaker diarization to identify and label different speakers in a recording.
- Supports known speaker references to enhance diarization accuracy.
- Handles long audio files automatically using a chunking strategy.
- Provides multiple output formats including plain text and structured JSON.
- Manages transcription jobs through a dedicated CLI script.
When to use it
- When you need to convert meeting recordings or interviews into written transcripts.
- When you require speaker identification for multi-person audio files.
- When you need a repeatable, CLI-based process for batch audio transcription.
- When you have audio files under 25 MB that require fast or detailed processing.
Advantages
- Deterministic and repeatable execution via CLI.
- Flexible output options ranging from simple text to detailed diarized JSON.
- Supports speaker recognition for up to four distinct voices.
- Automated handling of long audio segments.
- Secure environment management for API keys.
Usage examples
- “Transcribe this interview recording to a text file.”
- The agent uses the CLI to process the audio file and saves the resulting transcript to the specified text file.
- “Can you transcribe this meeting and identify who is speaking?”
- The agent uses the diarization model and provided speaker references to generate a JSON file containing labeled segments for each speaker.
Install
Download the skill as a ZIP:
https://autogineer.com/agent-skills/openai/transcribe/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip transcribe.zip -d .agents/skills
Documentation by OpenAI
Audio Transcribe
Transcribe audio using OpenAI, with optional speaker diarization when requested. Prefer the bundled CLI for deterministic, repeatable runs.
Workflow
Collect inputs: audio file path(s), desired response format (text/json/diarized_json), optional language hint, and any known speaker references.
Verify
OPENAI_API_KEYis set. If missing, ask the user to set it locally (do not ask them to paste the key).Run the bundled
transcribe_diarize.pyCLI with sensible defaults (fast text transcription).Validate the output: transcription quality, speaker labels, and segment boundaries; iterate with a single targeted change if needed.
Save outputs under
output/transcribe/when working in this repo.
Decision rules
Default to
gpt-4o-mini-transcribewith--response-format textfor fast transcription.If the user wants speaker labels or diarization, use
--model gpt-4o-transcribe-diarize --response-format diarized_json.If audio is longer than ~30 seconds, keep
--chunking-strategy auto.Prompting is not supported for
gpt-4o-transcribe-diarize.
Output conventions
Use
output/transcribe/<job-id>/for evaluation runs.Use
--out-dirfor multiple files to avoid overwriting.
Dependencies (install if missing)
Prefer uv for dependency management.
uv pip install openaiIf uv is unavailable:
python3 -m pip install openaiEnvironment
OPENAI_API_KEYmust be set for live API calls.If the key is missing, instruct the user to create one in the OpenAI platform UI and export it in their shell.
Never ask the user to paste the full key in chat.
Skill path (set once)
export CODEX_HOME="${CODEX_HOME:-$HOME/.codex}"
export TRANSCRIBE_CLI="$CODEX_HOME/skills/transcribe/scripts/transcribe_diarize.py"User-scoped skills install under $CODEX_HOME/skills (default: ~/.codex/skills).
CLI quick start
Single file (fast text default):
python3 "$TRANSCRIBE_CLI" \
path/to/audio.wav \
--out transcript.txtDiarization with known speakers (up to 4):
python3 "$TRANSCRIBE_CLI" \
meeting.m4a \
--model gpt-4o-transcribe-diarize \
--known-speaker "Alice=refs/alice.wav" \
--known-speaker "Bob=refs/bob.wav" \
--response-format diarized_json \
--out-dir output/transcribe/meetingPlain text output (explicit):
python3 "$TRANSCRIBE_CLI" \
interview.mp3 \
--response-format text \
--out interview.txtReference map
references/api.md: supported formats, limits, response formats, and known-speaker notes.
Files
- ATTRIBUTION.mdAdded by AutoGineer866 B
- LICENSE.txt10.5 KiB
- SKILL.md2.8 KiB
- agents/openai.yaml414 B
- assets/transcribe-small.svg750 B
- assets/transcribe.png1.3 KiB
- references/api.md457 B
- scripts/transcribe_diarize.pyScript8.5 KiB
Requirements and compatibility
Written for: OpenAI Codex
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Needs: Needs an API key, Needs Python
Security
What our scanner noticed· Low risk
- Instructions that use the network
- Scripts that your agent may run
This skill includes scripts that your agent may run. Read them before you use it.
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- Published by
- OpenAI
- Publisher
- OpenAI (Official)
- Source
- openai/skills · skills/.curated/transcribe · commit 49f948f
- Licence
- Apache License 2.0 (redistribution allowed)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
AutoGineer is not affiliated with or endorsed by OpenAI or OpenAI.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download transcribe.zip