/gemini:understand [question] --file recording.mp4 | --url https://youtube.com/watch?v=...from Gemini
Analyze, summarize, transcribe, or answer questions about video, audio, images, PDFs, and public YouTube links using Gemini. Use when a user points at a media file or YouTube URL that Claude cannot read directly, asks for a transcript, meeting notes, a video summary, or what a recording or document says.
Ships in Gemini. 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.
Gemini reads media that Claude Code cannot open on its own: video, audio, PDFs,
and YouTube videos. Ask it a question and get text back. The default model is
Gemini 4 Hydrogen (gemini-4-hydrogen); --deep switches to Gemini 4 Carbon
(gemini-4-carbon) and --transcribe to gemini-3.5-transcribe.
| Input | Flag | Notes |
|---|---|---|
| Local video (mp4, mov, webm, mkv) | --file | Up to 1 hour at high detail, 3 hours at low. Sampled at 1 fps. |
| Local audio (mp3, wav, m4a, flac, ogg) | --file | Up to 9.5 hours. |
--file | Up to 1,000 pages or 50 MB. | |
| Image | --file | Any common format. |
| YouTube | --url | Public videos only. Up to 10 per run. |
Files over 20 MB upload through the Files API automatically. Google keeps uploads for 48 hours.
Ask for the output shape you want: "five bullets", "a table of action items
with owners and timestamps", "quote the exact clause". For long videos, name
the section: --start 1200 --end 1500 (seconds) and --fps 0.5 cut tokens.
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/understand.py" "QUESTION" --file recording.mp4
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/understand.py" "Summarize in five bullets" --url "https://www.youtube.com/watch?v=..."
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/understand.py" --transcribe --file interview.m4a --out transcript.md
Flags:
--transcribe — switches to gemini-3.5-transcribe with a verbatim
transcription prompt. Add your own prompt to change the format.--deep — switches to gemini-4-carbon, Google's strongest reasoning
model, for hard questions over long or dense media. About 2.7 times the
price of the default and not on the free tier. Say so before you use it.--out <path> — also write the answer to a file. Use it for transcripts.--fps, --start, --end — video sampling and clipping.--model <id> — default gemini-4-hydrogen. gemini-4-neon ($3/$15 per
1M tokens) sits between the default and --deep. The
GEMINI_UNDERSTAND_MODEL environment variable changes the default.The script prints the answer to stdout. Read it and continue the user's task. Quote Gemini's answer as Gemini's, not as something you verified yourself.
Token rates per 1M tokens (input/output): Hydrogen $1.50/$7.50, Carbon
(--deep) $4/$20. Video costs about 100 tokens per second at low resolution,
audio 32 tokens per second, PDF 258 tokens per page. A 10 minute video is
about 60K tokens, about $0.09 on Hydrogen and $0.24 on Carbon. Transcription
is about $0.005 per minute ($0.003 audio in, $0.002 text out). Hydrogen has a
free tier (8 hours of YouTube per day); Carbon does not.
GEMINI_API_KEY must be set (get one at https://aistudio.google.com/apikey).
Python 3.10+. The script auto-installs google-genai on first run.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
5 skills in this plugin
/lyriaCompose a full song with vocals and lyrics, or an instrumental track, from a text description using Lyria 3.5. Outputs MP3 or WAV and prints the lyrics. Use when users ask for music, a song, a jingle, a soundtrack, a beat, background music, or a theme tune./nanobananaGenerate or edit photorealistic images with perfect text rendering using Nano Banana Pro (Gemini 3 Pro Image) or Nano Banana 2.1. Automatically enhances prompts for this reasoning-based model and supports aspect ratio, resolution, and reference-image editing. Use when users ask to create or edit images, logos, infographics, posters, diagrams, wallpapers, or any still visual content. For video use gemini:omni./omniGenerate, edit, or extend short videos (3 to 15 seconds, with sound) using Gemini Omni 1.2 Flash. Supports text-to-video, image-to-video, first-and-last-frame animation, up to 6 subject reference images, conversational edits, and extending a clip to 30 seconds. Use when users ask for a video, animation, clip, motion, b-roll, or to animate an image. For still images use gemini:nanobanana./ttsConvert text to natural speech audio (WAV) with Gemini TTS, using one of 30 studio voices, the extended voice library, a remixed custom voice, or a two-speaker dialogue, with style directions like "calm" or "excited". Use when users ask to read text aloud, make a voiceover, narration, audiobook clip, podcast intro, or spoken dialogue. Free tier available.gemini@0-to-1-labs is listed by 0-to-1-labs/claude-marketplace — review the source before installing
npx claudepluginhub 0-to-1-labs/claude-marketplace --plugin gemini