Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

OpenAI Whisper CLI

$ whisper Official Low Risk
OpenAI · AI & Media · MIT · macos / linux / windows

OpenAI's whisper CLI runs local automatic speech recognition across 99+ languages using PyTorch and ffmpeg. It outputs .txt, .srt, .vtt, .tsv, or timestamped .json files via --output_format json and --output_dir.

FCRS-1.0 Score
82 /100
Good
Medium Confidence
Zero-Friction Install
brew install openai-whisper
CLI vs MCP Decision CLI Only

Offline audio/video transcription directly to local .json or .srt files; keeps multi-megabyte media out of LLM context.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
✓ NO_COLOR Clean
— Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 19 / 25

Outputs clean --output_format json files and supports --verbose False and --output_dir, though writes to disk files rather than JSON stdout.

  • Supports --output_format json|txt|srt|vtt|tsv, --output_dir, and --verbose False
Trust & Safety 24 / 25

100% offline local audio processing with zero API keys or cloud uploads after model weight cache download.

  • Offline local inference; writes transcript artifacts only to --output_dir
Setup & Portability 10 / 15

Requires Python + heavy PyTorch installation plus system ffmpeg binary.

  • Requires PyTorch (~2+ GB) and ffmpeg on PATH
Utility & Efficiency 13 / 15

High-accuracy multilingual speech-to-text with word/segment timestamps, though CPU runs are slow on larger models.

  • 99+ language ASR with timestamped JSON and SRT/VTT outputs
Maintenance & Lineage 8 / 10

Official openai/whisper repository under MIT license (largely stable/mature).

  • Official openai/whisper repository
Docs & Verifiability 8 / 10

Clear README and --help option reference.

  • README and --help at github.com/openai/whisper

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

Fully offline local inference after downloading model weights into ~/.cache/whisper/; no API keys required.

Side Effects
Read-Only Local Write
Cost & Quotas

Free, MIT open-source local Python CLI; requires PyTorch and ffmpeg.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Whisper CLI Agent Rules
- Always specify `--model` (e.g. `tiny` or `small` for fast CPU runs), `--output_format json`, `--output_dir`, and `--verbose False`.
- Ensure `ffmpeg` is installed on `PATH`, and check disk space before pulling `large` (~3 GB) weights.

Agent-Ready Command Recipes

Safe Read-Only Queries

Inspect available Whisper CLI options and models
whisper --help

Lists supported --model sizes (tiny, base, small, medium, large, turbo) and output formats.

Controlled Writes & Previews

Transcribe an audio file to timestamped JSON
whisper audio.mp3 --model small --output_format json --output_dir ./transcripts --verbose False

Writes ./transcripts/audio.json with segment timestamps while keeping stdout quiet (--verbose False).

Strengths for Agents

  • + 100% private, offline speech-to-text with timestamped --output_format json and SRT/VTT.
  • + Supports --verbose False and --output_dir for clean scripted runs.

Caveats & Pitfalls

  • ! Heavy PyTorch dependency and requires ffmpeg installed on PATH.
  • ! CPU transcription on medium/large models can take minutes per file.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI