
openai-whisper
Local Whisper: audio transcription, multi-language, word timestamps, speaker diarization
- Installs
- 59
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/alphaonedev/openclaw-graph --skill openai-whisper- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads openai-whisper automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Purpose
This skill enables local audio transcription using the OpenAI Whisper model, processing files directly on the device for privacy and speed. It's ideal for converting speech to text with features like multi-language support, word-level timestamps, and speaker diarization.
When to Use
Use this skill for tasks involving local audio files, such as transcribing interviews, podcasts, or meetings, when you need offline processing to avoid network dependencies or data privacy concerns. Apply it in workflows requiring accurate timestamps or speaker identification, like content creation or analysis.
Key Capabilities
- Transcription: Converts audio to text in over 90 languages; specify language via
--languageflag (e.g.,--language enfor English). - Timestamps: Outputs word-level timings; enable with
--word-levelfor detailed segments (e.g., each word's start/end in seconds). - Speaker Diarization: Identifies speakers in audio; requires additional setup like Pyannote library; use
--diarizeflag if configured. - Multi-Format Support: Handles input formats like MP3, WAV, or FLAC; outputs JSON or SRT for easy parsing.
- Model Selection: Choose from models like tiny, base, small, medium, or large; larger models improve accuracy but increase compute needs (e.g.,
--model medium).
Usage Patterns
Always run Whisper in a Python environment with the library installed. For basic transcription, load an audio file and specify options via CLI. Use it in pipelines by piping output to other tools, like text analysis skills. For speaker diarization, ensure dependencies are installed first. Example 1: Transcribe a short audio clip for note-taking. Example 2: Process a multi-speaker recording for meeting summaries.
To accomplish transcription:
- Install dependencies: Run
pip install git+https://github.com/openai/whisper.git pyannote.audioin your environment. - Load and process audio: Use the Whisper CLI to handle files directly.
- Handle outputs: Parse JSON results for timestamps and integrate into larger scripts.
Common Commands/API
Use the Whisper CLI for quick tasks. For API integration, call the Python library directly.
-
CLI Command for Basic Transcription:
whisper path/to/audio.mp3 --model base --language en --output_format json
This transcribes the file, saves output as JSON, and includes timestamps. -
CLI with Timestamps and Diarization:
whisper path/to/audio.wav --model medium --word-level --diarize
Generates word-level timings and speaker labels; ensure diarization is configured via Pyannote. -
Python API Snippet:
import whisper model = whisper.load_model("base") result = model.transcribe("path/to/audio.mp3", language="en") print(result["text"]) # Outputs transcribed text -
Config Format: Whisper uses a simple JSON config for batch processing; example:
{ "model": "small", "language": "es", "task": "transcribe" }
Pass via--config config.jsonin CLI. No auth keys needed for local use; if extending to cloud services, use env vars like$WHISPER_API_KEYfor external APIs.
To use in code: Import the library, load the model, and call transcribe() with parameters like fp for file path and task for mode (e.g., task="transcribe").
Integration Notes
Integrate Whisper into AI workflows by wrapping it in Python scripts or CLI calls. For example, chain with text processing tools: Pipe JSON output to a sentiment analysis skill. Use in Jupyter notebooks for interactive transcription. Ensure your environment has GPU support for faster processing (e.g., via CUDA). To embed in larger applications, handle file I/O explicitly: Read audio files using soundfile library, then pass to Whisper. For multi-step tasks, use subprocess to call Whisper CLI from other scripts, capturing stdout for JSON parsing.
Error Handling
Common errors include missing dependencies, invalid audio formats, or out-of-memory issues with large models. To handle:
- File Not Found: Check file paths before running; use try-except in Python:
try: result = model.transcribe("path/to/audio.mp3") except FileNotFoundError: print("Audio file missing; verify path.") - Model Load Failures: Ensure sufficient RAM; fallback to smaller models if needed (e.g., switch
--model largeto--model base). - Diarization Errors: If Pyannote fails, verify installation with
pip check pyannote.audio; log errors and retry with basic transcription. - General Pattern: Wrap CLI calls in scripts using
subprocessand check return codes; for API, catch exceptions likewhisper.utils.DecodeErrorand retry with different parameters.
Always log detailed errors (e.g., via Python's logging module) and provide user-friendly messages, such as "Error: Audio too long for selected model; try a smaller one."
Graph Relationships
- Relates to: "audio-processing" cluster for upstream tasks like noise reduction.
- Connected to: "text-analysis" skills for downstream processing of transcription outputs.
- Links with: "openai-gpt" for enhancing transcripts with AI summaries.
FAQ
What does the openai-whisper skill do?
Local Whisper: audio transcription, multi-language, word timestamps, speaker diarization
How do I install openai-whisper?
Run npx skills add https://github.com/alphaonedev/openclaw-graph --skill openai-whisper in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/openai-whisper/ (personal) or .claude/skills/openai-whisper/ (project).
Which AI agents can use openai-whisper?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is openai-whisper safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains openai-whisper?
It is published by alphaonedev in alphaonedev/openclaw-graph. It has 59 recorded installs.
More from alphaonedev/openclaw-graph
playwright-scraper
alphaonedev/openclaw-graph
Playwright web scraping: dynamic content, auth flows, pagination, data extraction, screenshots
humanize-ai-text
alphaonedev/openclaw-graph
AI text humanization: reduce AI-detection patterns, natural phrasing, tone adjustment
gcp-iam
alphaonedev/openclaw-graph
Manages identity and access control for Google Cloud resources using IAM policies and roles.
macos-automation
alphaonedev/openclaw-graph
AppleScript, JXA, Shortcuts, Automator, osascript, System Events, accessibility API
tavily-web-search
alphaonedev/openclaw-graph
Open the skill to read its SKILL.md instructions.
Popular ai & agents skills
google-agents-cli-publish
google/agents-cli
This skill should be used when the user wants to "publish an agent", "publish my ADK agent", "register an agent with Gemini", "publish to Gemini" (formerly Gemini Enterprise), or needs guidance on the agents-cli publish gemini command. Also use when the user wants to "manage agents in Agent Registry", "list/update/delete registered agents", or "register an MCP server". Covers ADK vs A2A registration modes, programmatic and interactive usage, flag reference, auto-detection from deployment metadata, Agent Registry fleet management, and troubleshooting. Part of the agents-cli skills suite. Do NOT use for deployment (use google-agents-cli-deploy).
google-agents-cli-eval
google/agents-cli
This skill should be used when the user wants to "run an evaluation", "evaluate my agent", "evaluate my ADK agent", "write an eval dataset", "analyze eval failures", "compare eval results", "optimize agent", or needs guidance on the Gemini platform eval methodology and the Quality Flywheel. Covers eval metrics, dataset schema, LLM-as-judge scoring, and common failure causes. Applies to any agents-cli project, whatever framework the agent is written in. Do NOT use for agent API code patterns (ADK: use google-agents-cli-adk-code), deployment (use google-agents-cli-deploy), or project scaffolding (use google-agents-cli-scaffold).
skill-creator
anthropics/skills
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
codex-pet
prime-skills/runcomfy-agent-skills
Codex Pet generator on RunComfy. Build a Codex-compatible Codex Pet spritesheet.webp + pet.json from a single reference image, drop it into ${CODEXHOME:-$HOME/.codex}/pets/ / and Codex picks it up as a custom Codex Pet next to the 8 built-ins. This skill produces the exact Codex Pet atlas Codex expects (1536x1872 PNG/WebP, 8 cols x 9 rows, 192x208 cells, 9 animation states — idle, running-right, running-left, waving, jumping, failed, waiting, running, review). Calls OpenAI GPT Image 2 edit ONCE via the local RunComfy CLI as runcomfy run openai/gpt-image-2/edit to produce a canonical Codex Pet pose, then assembles all 9 animation rows programmatically with ImageMagick micro-transforms — no Codex Pro, no $imagegen, no OPENAIAPIKEY required, only RUNCOMFYTOKEN. Triggers on "codex pet", "create codex pet", "make codex pet", "hatch codex pet", "/hatch image", "desktop pet codex", "codex pets", "spritesheet.webp", or any explicit ask to build a custom pet for OpenAI Codex.
full-output-enforcement
leonxlnx/taste-skill
Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.
executing-plans
obra/superpowers
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available