Skip to main content
skill

transcribe — Claude Code skill: what it does, how to install

Transcribes audio recordings into text and identifies speakers using OpenAI models. Helpful when processing interviews and team meetings.

Install into Claude Code · claude-code-templates All methods and platforms ↓
npx claude-code-templates@latest --skill media/transcribe
Open on GitHub

What transcribe does

The skill handles speech-to-text workflows through an included script named transcribe_diarize.py. Standard runs send recordings to gpt-4o-mini-transcribe to generate simple text files quickly. When multi-speaker tracking is needed, it switches to gpt-4o-transcribe-diarize to return structured JSON with segmented dialogs.

You can provide audio references for up to 4 known speakers to improve diarization accuracy. However, custom prompts are unavailable under the diarization model. Any clip exceeding roughly 30 seconds triggers automated chunking to prevent processing limits.

Executing these jobs requires Python 3 with the openai package and a valid OPENAI_API_KEY. The script halts immediately if the key is missing from your shell variables. Outputs land in output/transcribe/ unless you pass a custom destination with --out or --out-dir.

What it helps with

  • transcribe speech from an audio recording into plain text
  • separate speaker turns across an interview recording
  • match participants against sample reference audio
  • export structured diarized dialogue to JSON

Example prompts for the agent

  • Transcribe the audio file interview.mp3 and save the plain text output to interview.txt
  • Run speaker diarization on meeting.m4a using voice samples refs/alice.wav and refs/bob.wav
  • Convert voice.wav into text using the fast default model

How to install transcribe

1claude-code-templates

npx claude-code-templates@latest --skill media/transcribe

2Skills CLI (Vercel)

npx skills add davila7/claude-code-templates --skill transcribe -a claude-code

3Manually: put the files in place

~/.claude/skills/transcribe/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/transcribe/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about transcribe

How to install transcribe in Claude Code?

Run npx claude-code-templates@latest --skill media/transcribe in your terminal. This configures the skill for Claude Code.

What does transcribe do?

It triggers a Python CLI tool that passes audio files to OpenAI transcription models, outputting plain text or diarized JSON.

What dependencies are required?

You need Python 3, the openai package installed via uv pip install openai or pip, and an exported OPENAI_API_KEY.

Similar skills

All skills for AI and ML →

From the same set804

The whole set →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor