/omnicaptions:omnicaptions-transcribefrom omnicaptions
Transcribes audio/video to structured markdown with timestamps, speaker labels, and chapters. Supports YouTube URLs and local files via Gemini API.
Ships in omnicaptions. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Transcribe audio/video using Google Gemini API with structured markdown output.
Important: Check for existing captions before transcribing:
1. Check captions: yt-dlp --list-subs "URL"
2. Has caption → Use /omnicaptions:download to get existing captions (better quality)
3. No caption → Transcribe directly with URL (don't download first!)
Confirm with user: Before transcribing, ask if they want to check for existing captions first.
Gemini natively supports YouTube URLs - no need to download, just pass the URL directly:
# YouTube URL (recommended, no download needed)
omnicaptions transcribe "https://www.youtube.com/watch?v=VIDEO_ID"
# Local files
omnicaptions transcribe video.mp4
Note: Output defaults to current directory unless user specifies -o.
/omnicaptions:download to get existing captions first| Method | Description |
|---|---|
transcribe(path) | Transcribe file or URL (sync) |
translate(in, out, lang) | Translate captions |
write(text, path) | Save text to file |
pip install omni-captions-skills --extra-index-url https://lattifai.github.io/pypi/simple/
Priority: GEMINI_API_KEY env → .env file → ~/.config/omnicaptions/config.json
If not set, ask user: Please enter your Gemini API key (get from https://aistudio.google.com/apikey):
Then run with -k <key>. Key will be saved to config file automatically.
IMPORTANT: CLI requires subcommand (transcribe, translate, convert)
# Transcribe (auto-output to same directory)
omnicaptions transcribe video.mp4 # → ./video_GeminiUnd.md
omnicaptions transcribe "https://youtu.be/abc" # → ./abc_GeminiUnd.md
# Specify output file or directory
omnicaptions transcribe video.mp4 -o output/ # → output/video_GeminiUnd.md
omnicaptions transcribe video.mp4 -o my.md # → my.md
# Options
omnicaptions transcribe -m gemini-3-pro-preview video.mp4
omnicaptions transcribe -l zh video.mp4 # Force Chinese
| Option | Description |
|---|---|
-k, --api-key | Gemini API key (auto-prompted if missing) |
-o, --output | Output file or directory (default: auto) |
-m, --model | Model (default: gemini-3-flash-preview) |
-l, --language | Force language (zh, en, ja) |
-t, --translate LANG | Translate to language (one-step) |
--bilingual | Bilingual output (with -t) |
-v, --verbose | Verbose output |
If user requests bilingual output, add -t <lang> --bilingual:
omnicaptions transcribe video.mp4 -t zh --bilingual
For precise timing, use separate workflow: transcribe → LaiCut → translate (see Related Skills).
## Table of Contents
* [00:00:00] Introduction
* [00:02:15] Main Topic
## [00:00:00] Introduction
**Host:** Welcome to the show. [00:00:01]
**Guest:** Thanks for having me. [00:00:05]
[Applause] [00:00:08]
Key features:
## [HH:MM:SS] Title chapter headers**Speaker:** labels (auto-detected)[HH:MM:SS] timestamp at paragraph end[Event] for non-speech (laughter, music)| Mistake | Fix |
|---|---|
| No API key error | Use -k YOUR_KEY or follow the prompt |
| Empty response | Check file format (mp3/mp4/wav/m4a supported) |
| Upload timeout | File too large (>2GB); split first |
| Wrong language | Use -l en to force language |
| Skill | Use When |
|---|---|
/omnicaptions:convert | Convert output to SRT/VTT/ASS |
/omnicaptions:translate | Translate (Gemini API or Claude native) |
/omnicaptions:download | Download video/audio first |
# Basic transcription
omnicaptions transcribe video.mp4
# → video_GeminiUnd.md
# Precise timing needed: transcribe → LaiCut align → convert
omnicaptions transcribe video.mp4
omnicaptions LaiCut video.mp4 video_GeminiUnd.md
# → video_GeminiUnd_LaiCut.json
omnicaptions convert video_GeminiUnd_LaiCut.json -o video_GeminiUnd_LaiCut.srt
Note: For translation, use
/omnicaptions:translate(default: Claude, optional: Gemini API)
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub lattifai/omni-captions-skills --plugin omnicaptions5 skills in this plugin
/omnicaptions-convertUse when converting between caption formats (SRT, VTT, ASS, TTML, Gemini MD, etc.). Supports 30+ caption formats./omnicaptions-downloadUse when downloading videos, audio, or captions from YouTube and other video platforms. Supports quality selection./omnicaptions-LaiCutUse when user needs accurate/precise caption timing, or aligning captions with audio/video using forced alignment. Corrects caption timing to match actual speech. Uses LattifAI Lattice-1 model./omnicaptions-translateUse when translating captions/captions to another language. Supports bilingual output and context-aware translation. Default uses Claude native, Gemini API optional.Other plugins' skills for the same job