Skip to content
AI Skills Central

Type to search Agent Skills, workflows, tutorials, tools and the glossary.

Agent Skill

Transcribe audio (OpenAI, deprecated repo)

Transcribes audio or video through the OpenAI API with optional speaker labels and known-speaker hints, via a bundled script. Source repo is deprecated.

name: transcribeBy OpenAIChecked
View source on GitHub
Bookmark

Bookmarks are kept in your free account, so you can find this page again on any device.

Sign in to bookmark

Install

Commands are pinned to commit 49f948f, the version we read, wherever the install method supports it.

npx skills

Terminal
npx skills add openai/skills@49f948faa9258a0c61caceaf225e179651397431 --skill transcribe -a claude-code

Copies the skill into .claude/skills/ in this project, pinned to the reviewed commit.

What it does

Transcribes audio and video files through OpenAI’s speech-to-text API using a bundled command-line script. By default it uses gpt-4o-mini-transcribe with plain-text output for speed. When you ask for speaker labels it switches to gpt-4o-transcribe-diarize with diarised JSON, and it can take short reference clips of known speakers so the labels carry real names instead of “Speaker 1”. Long files use automatic chunking. Output goes to a per-job folder so batch runs do not overwrite each other, and a reference file documents the API options.

Source status

From openai/skills, which OpenAI has deprecated in favour of openai/plugins. We found no transcription skill in openai/plugins on 20 November 2026, so this remains the version to use, without future updates. Like other skills from that repository, it sets its script path from $CODEX_HOME/skills/transcribe/, which only exists for Codex user installs; in other agents, tell it where the skill lives.

When to use it

Interviews, meetings, podcasts and user research sessions where you want a transcript and, often, who said what. It is the first step in our meeting recordings to actions workflow.

When to skip it

Audio you cannot send to a third-party API: confidential calls, health data, anything your contracts keep in-house. Run Whisper locally instead. Diarisation is also not supported together with prompting, so you cannot give the diarising model a vocabulary hint.

Try it

Transcribe recordings/2026-11-18-customer-call.m4a with speaker labels.
The two speakers are Priya (sales) and Tom (customer). Save diarised JSON and
a readable Markdown transcript with timestamps every minute.

What it can touch

Bundles scripts
Yes
Pre-approved tools
None declared
Needs
OpenAI API key (OPENAI_API_KEY); Python openai package
Client-specific fields
None, spec fields only

Its scripts run with your permissions, and it may have changed since the commit we read. How to check a skill.

scripts/transcribe_diarize.py uploads your audio to the OpenAI API using OPENAI_API_KEY, which costs money per minute of audio, and writes transcripts locally. It may install the openai Python package. No allowed-tools.

At commit 49f948f the SKILL.md is 81 lines long. Alongside it:

  • agents/ (1 entry)
  • assets/ (2 entries)
  • references/ (1 entry)
  • scripts/ (1 entry)
  • LICENSE.txt

Alternatives

Local Whisper for private audio or offline use. For realtime transcription inside an app rather than files, see Gemini Live API.

SKILL.md

The file exactly as published at the reviewed commit, reproduced under its Apache-2.0 licence.

skills/.curated/transcribe/SKILL.md
---
name: "transcribe"
description: "Transcribe audio files to text with optional diarization and known-speaker hints. Use when a user asks to transcribe speech from audio/video, extract text from recordings, or label speakers in interviews or meetings."
---


# Audio Transcribe

Transcribe audio using OpenAI, with optional speaker diarization when requested. Prefer the bundled CLI for deterministic, repeatable runs.

## Workflow
1. Collect inputs: audio file path(s), desired response format (text/json/diarized_json), optional language hint, and any known speaker references.
2. Verify `OPENAI_API_KEY` is set. If missing, ask the user to set it locally (do not ask them to paste the key).
3. Run the bundled `transcribe_diarize.py` CLI with sensible defaults (fast text transcription).
4. Validate the output: transcription quality, speaker labels, and segment boundaries; iterate with a single targeted change if needed.
5. Save outputs under `output/transcribe/` when working in this repo.

## Decision rules
- Default to `gpt-4o-mini-transcribe` with `--response-format text` for 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-dir` for multiple files to avoid overwriting.

## Dependencies (install if missing)
Prefer `uv` for dependency management.

```
uv pip install openai
```
If `uv` is unavailable:
```
python3 -m pip install openai
```

## Environment
- `OPENAI_API_KEY` must 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)

```bash
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.txt
```

Diarization 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/meeting
```

Plain text output (explicit):
```
python3 "$TRANSCRIBE_CLI" \
  interview.mp3 \
  --response-format text \
  --out interview.txt
```

## Reference map
- `references/api.md`: supported formats, limits, response formats, and known-speaker notes.
  • Algorithmic art

    Creates generative art with p5.js and seeded randomness: writes a short design philosophy first, then an interactive piece with adjustable parameters.

    AnthropicBundles scriptsChecked at e4bb5d9

  • Canvas design (Anthropic)

    Anthropic's skill that writes a short design philosophy, then renders it as a poster or static artwork in PNG or PDF using bundled open-licence fonts.

    Checked at e4bb5d9

  • Remotion best practices

    The entry point to Remotion's video-in-React skills: routes to guides on creating videos, captions, maps, multimedia, previews and rendering.

    Bundles scriptsChecked at 6f55706

  • Turn meeting recordings into decisions and actions

    Turn a meeting recording into AI meeting notes listing decisions, owners and dates, each tied to a quote from the transcript so attendees can check every line.

    WorkflowBeginner20 min6 steps

  • Whisper

    OpenAI's open-source speech recognition model for transcription and translation.

    Tool