/media
Understand an audio / video / image file — Antigravity (agy/Gemini) transcribes and analyzes it, returning a timestamped digest while the full transcript goes to a file.
> /plugin marketplace add yuting0624/antigravity-for-claude-code > /plugin install antigravity@antigravity-for-claude-code
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/media
Context preview
What this command does when you run it.
Understand an audio / video / image file — Antigravity (agy/Gemini) transcribes and analyzes it, returning a timestamped digest while the full transcript goes to a file.
Command definition
media.mddescription: Understand an audio / video / image file — Antigravity (agy/Gemini) transcribes and analyzes it, returning a timestamped digest while the full transcript goes to a file.
argument-hint: "<file> [what to focus on] [--convert] [--tier pro|flash] [--timeout 20m]"
Claude Code can't hear audio or watch video, and doing it locally means an ffmpeg + speech-model stack. Gemini is natively multimodal — so **delegate the perception** to agy and keep the judgment here.
Input: $ARGUMENTS
Do this:
1. **Resolve the file.** First arg is the path; anything else (that isn't a flag) is the focus/question. If no file was given, ask which one (AskUserQuestion) — don't guess.
2. **Delegate** (the engine handles format pre-flight, the digest contract, and writes the full transcript to a file):
agy-media <file> [focus] [--convert] [--tier pro|flash] [--timeout 20m] [--out <path>]
- Default tier is `pro` (better timestamps/diarization); `--tier flash` is fine for
short/simple clips.
- Long media needs headroom: raise `--timeout` (e.g. `20m`) for anything over a few
minutes. If it still times out (exit 12), split the file into ~30-min chunks and run them separately.
- **Exit 5 = unsupported format.** agy mishandles `.m4a` / `.aiff` (common for voice
memos) even though Gemini accepts them. The engine prints the exact conversion command — re-run with `--convert` to have it converted automatically (macOS `afconvert`, else `ffmpeg`).
3. **Ingest ONLY the digest** it prints (summary · timestamped outline · key points · quotes · action items · visuals · uncertainty notes). **Do not read the whole transcript file into context** — a 1-hour recording is ~10k words and re-reading it every turn is exactly the cost blow-up this plugin exists to avoid. The transcript file is there so you can grep/read *slices* on demand.
4. **Verify before you rely on it** (transcription is not ground truth):
- Check the transcript file actually exists (the engine warns if it doesn't).
- The digest flags unclear audio and uncertain names/numbers — **treat those as
unverified**. For any load-bearing figure, name, or quote, read that timestamp's slice from the transcript file (e.g. `grep -n "\[12:3" <transcript>`) rather than trusting the summary.
- Say plainly which claims you confirmed and which are still the model's guess.
5. **Report**: the digest's substance (not a re-paste), where the transcript lives, and what you verified. If the user asked a specific question, answer it with `[mm:ss]` citations so they can jump to the source.
Good uses: meeting/interview notes, a screencast or demo video, a voice memo, a conference talk, a UI walkthrough, an architecture diagram or screenshot.
Read more
description: Understand an audio / video / image file — Antigravity (agy/Gemini) transcribes and analyzes it, returning a timestamped digest while the full transcript goes to a file. argument-hint: "<file> [what to focus on] [--convert] [--tier pro|flash] [--timeout 20m]"
Claude Code can't hear audio or watch video, and doing it locally means an ffmpeg + speech-model stack. Gemini is natively multimodal — so **delegate the perception** to agy and keep the judgment here.
Input: $ARGUMENTS
Do this:
1. **Resolve the file.** First arg is the path; anything else (that isn't a flag) is the focus/question. If no file was given, ask which one (AskUserQuestion) — don't guess.
2. **Delegate** (the engine handles format pre-flight, the digest contract, and writes the full transcript to a file):
agy-media <file> [focus] [--convert] [--tier pro|flash] [--timeout 20m] [--out <path>]
- Default tier is `pro` (better timestamps/diarization); `--tier flash` is fine for
short/simple clips.
- Long media needs headroom: raise `--timeout` (e.g. `20m`) for anything over a few
minutes. If it still times out (exit 12), split the file into ~30-min chunks and run them separately.
- **Exit 5 = unsupported format.** agy mishandles `.m4a` / `.aiff` (common for voice
memos) even though Gemini accepts them. The engine prints the exact conversion command — re-run with `--convert` to have it converted automatically (macOS `afconvert`, else `ffmpeg`).
3. **Ingest ONLY the digest** it prints (summary · timestamped outline · key points · quotes · action items · visuals · uncertainty notes). **Do not read the whole transcript file into context** — a 1-hour recording is ~10k words and re-reading it every turn is exactly the cost blow-up this plugin exists to avoid. The transcript file is there so you can grep/read *slices* on demand.
4. **Verify before you rely on it** (transcription is not ground truth):
- Check the transcript file actually exists (the engine warns if it doesn't).
- The digest flags unclear audio and uncertain names/numbers — **treat those as
unverified**. For any load-bearing figure, name, or quote, read that timestamp's slice from the transcript file (e.g. `grep -n "\[12:3" <transcript>`) rather than trusting the summary.
- Say plainly which claims you confirmed and which are still the model's guess.
5. **Report**: the digest's substance (not a re-paste), where the transcript lives, and what you verified. If the user asked a specific question, answer it with `[mm:ss]` citations so they can jump to the source.
Good uses: meeting/interview notes, a screencast or demo video, a voice memo, a conference talk, a UI walkthrough, an architecture diagram or screenshot.
Run the Antigravity CLI (Gemini) as a collaborating sub-agent, right inside Claude Code. Claude conducts the judgement; Gemini does the heavy lifting — intelligent model routing across the SDLC.
Other commands on antigravity.
cloud-run-debug
Diagnose a failing Cloud Run service — Antigravity (agy/Gemini) digests the error logs cheaply, Claude infers the root cause and proposes a fix. Read-only by…
delegate
Delegate a well-scoped subtask to Antigravity (agy/Gemini) under cost discipline, then verify.
migrate
Migrate an existing Claude Code setup (skills, memory, CLAUDE.md, MCP, plugins, permissions) to the Antigravity CLI.
research
Claude-orchestrated deep research — Antigravity (agy/Gemini) does the grounded web legwork; Claude plans, verifies the citations, and synthesizes.
result
Fetch the output of a finished background Antigravity (agy) job, then verify it.

