OpenAI Whisper API

VerifiedCaution

Transcribe an audio file using OpenAI's Whisper API via curl. Requires an OpenAI API key.

Sby Skills Guide Bot
Data & AIBeginner
7/25/2026
Claude Code
#transcription#openai-whisper#speech-to-text#audio-processing

Recommended for

Automated summary

Transcribes an audio file via the OpenAI Whisper API using curl.

Strengths

  • Supports many audio formats
  • Customizable language and prompt options
  • Output as plain text or JSON
  • Simple and fast to run

Limitations

  • Requires an OpenAI API key and internet connection
  • Limited to the Whisper-1 model
  • No real-time streaming
When to use it

When you need a quick transcription of an audio file using OpenAI's Whisper.

When not to use it

For offline transcription or when you need to avoid API costs.

Security analysis

Caution
Quality score85/100

The skill runs a bash script that executes curl to interact with OpenAI's Audio API. While the operation is legitimate and no destructive commands are evident, it involves network transmission of user data and uses a powerful tool (bash), warranting caution.

Findings
  • •Uses bash script and curl to send audio data to OpenAI API; user must ensure audio does not contain sensitive information.
  • •Requires API key handling; misconfiguration could expose the key.
How this analysis is made

Examples

Basic transcription
Transcribe this audio file using OpenAI Whisper: /path/to/meeting.m4a
Transcription with language hint
Transcribe this audio file with language set to French: /path/to/audio.ogg --language fr
JSON output with custom prompt
Transcribe this audio file and output as JSON with a prompt for speaker names: /path/to/recording.mp3 --json --prompt "Speakers: John, Jane"

name: openai-whisper-api description: Transcribe audio via OpenAI Audio Transcriptions API (Whisper). homepage: https://platform.openai.com/docs/guides/speech-to-text metadata: { "openclaw": { "emoji": "☁️", "requires": { "bins": ["curl"], "env": ["OPENAI_API_KEY"] }, "primaryEnv": "OPENAI_API_KEY", }, }

OpenAI Whisper API (curl)

Transcribe an audio file via OpenAI’s /v1/audio/transcriptions endpoint.

Quick start

{baseDir}/scripts/transcribe.sh /path/to/audio.m4a

Defaults:

  • Model: whisper-1
  • Output: <input>.txt

Useful flags

{baseDir}/scripts/transcribe.sh /path/to/audio.ogg --model whisper-1 --out /tmp/transcript.txt
{baseDir}/scripts/transcribe.sh /path/to/audio.m4a --language en
{baseDir}/scripts/transcribe.sh /path/to/audio.m4a --prompt "Speaker names: Peter, Daniel"
{baseDir}/scripts/transcribe.sh /path/to/audio.m4a --json --out /tmp/transcript.json

API key

Set OPENAI_API_KEY, or configure it in ~/.openclaw/openclaw.json:

{
  skills: {
    "openai-whisper-api": {
      apiKey: "OPENAI_KEY_HERE",
    },
  },
}

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/openai-whisper-api-mrzxurzz/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/openai-whisper-api-mrzxurzz' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/openai-whisper-api-mrzxurzz/download' --output '.skill-downloads/openai-whisper-api-mrzxurzz/SKILL.md.part' && mv '.skill-downloads/openai-whisper-api-mrzxurzz/SKILL.md.part' '.skill-downloads/openai-whisper-api-mrzxurzz/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/openai-whisper-api-mrzxurzz/SKILL.md' && test -s '.skill-downloads/openai-whisper-api-mrzxurzz/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/openai-whisper-api' && cp -R '.skill-downloads/openai-whisper-api-mrzxurzz' '.claude/skills/openai-whisper-api'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/openai-whisper-api-mrzxurzz'

openskills read 'openai-whisper-api-mrzxurzz'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/openai-whisper-api-mrzxurzz/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills