gemini-video-analyzer

gemini-video-analyzer is a skill for Codex from cyuanxv/agent-cockpit. It costs 105 tokens per session (990 once invoked), scanned A, original, MIT.

A guide and command-line tool for analyzing local MP4, MOV, M4V, or WebM videos with Gemini's video-understanding API. It can produce structured JSON first and a Markdown report with replayable timestamps afterward.

In plain words
What is it for?
Use it to summarize videos, inspect key moments, batch-screen files, find timestamps, review user interfaces, or create editing and follow-up suggestions.
Why use it?
It turns a video into a reviewable summary of its visuals, audio, subtitles, narration, actions, timeline, and uncertainties.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex.

Good fit Use it to summarize videos, inspect key moments, batch-screen files, find timestamps, review user interfaces, or create editing and follow-up suggestions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cyuanxv/agent-cockpit/gemini-video-analyzer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add cyuanxv/agent-cockpit --skill gemini-video-analyzer
Clone the repo
git clone --depth 1 https://github.com/cyuanxv/agent-cockpit

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gemini-video-analyzer

README.md
[![agentmods](https://agentmods.dev/badge/skills/cyuanxv/agent-cockpit/gemini-video-analyzer/github.svg)](https://agentmods.dev/skills/cyuanxv/agent-cockpit/gemini-video-analyzer)
Your own site
<a href="https://agentmods.dev/skills/cyuanxv/agent-cockpit/gemini-video-analyzer"><img src="https://agentmods.dev/badge/skills/cyuanxv/agent-cockpit/gemini-video-analyzer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gemini-video-analyzer

Your own site · 80×15
<a href="https://agentmods.dev/skills/cyuanxv/agent-cockpit/gemini-video-analyzer"><img src="https://agentmods.dev/badge/skills/cyuanxv/agent-cockpit/gemini-video-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 105 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 990 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00105 $0.00990
Opus 5 $0.00053 $0.00495
Sonnet 5 $0.00021 $0.00198
Haiku 4.5 $0.00011 $0.00099

Measured 11d ago against content hash ba5c86ec6474, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

gemini-video-analyzer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/gemini_video_analyze.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/gemini-video-analyzer/SKILL.md · 98 lines

How it starts

The opening of the file, as written. The whole thing — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Gemini Video Analyzer

Analyze local video files with Gemini API while keeping Codex as the local harness. The main contract is: fixed JSON first, Markdown report second, and timestamp evidence that a human can replay.

Inputs

Ask for a local video path if the user did not provide one. Accept only .mp4, .mov, .m4v, and .webm.

Default analysis goal:

  • Chinese output.
  • One-sentence conclusion.
  • Content summary.
  • Timeline with reviewable timestamps.
  • Key visuals, audio, subtitles, narration, UI flow, and actions.
  • Key moments, editing suggestions, follow-up suggestions, and uncertainties.

Procedure

  1. Verify that the video file exists.

  2. Tell the user that the video will be uploaded to Gemini API for analysis.

  3. Run a cost estimate before analysis when the user has not already approved the run:

    python3 skills/gemini-video-analyzer/scripts/gemini_video_analyze.py estimate "<video_path>"
    
  4. Analyze with the recommended model and explicit confirmation:

    python3 skills/gemini-video-analyzer/scripts/gemini_video_analyze.py analyze "<video_path>" --goal "<analysis_goal>"
    

    For non-interactive approved runs, pass --yes.

  5. If the user names a model, pass it explicitly:

    python3 skills/gemini-video-analyzer/scripts/gemini_video_analyze.py analyze "<video_path>" --model gemini-3.5-flash --goal "<analysis_goal>" --yes
    
  6. Transfer mode defaults to auto: videos up to 20 MB use inline Gemini content parts; larger videos use Gemini Files API. Override only when needed:

    python3 skills/gemini-video-analyzer/scripts/gemini_video_analyze.py analyze "<video_path>" --transport inline --yes
    python3 skills/gemini-video-analyzer/scripts/gemini_video_analyze.py analyze "<video_path>" --transport files --yes
    
  7. Read the printed run directory. Validate it if needed:

    python3 skills/gemini-video-analyzer/scripts/gemini_video_analyze.py validate "<run_dir>"
    

Read the full file on GitHub · 98 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 98 lines · 105 tokens per session scan A ba5c86ec6474

Subscribe to this mod's changes

gemini-video-analyzer is a skill published in the GitHub repository cyuanxv/agent-cockpit (2 stars, last pushed 1mo ago), licensed MIT. It adds 105 tokens to every session and 990 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

podcast-generation

Use this skill when the user requests to generate, create, or produce podcasts from text content. Converts written content into a two-host conversational podcast audio format with natural dialogue.

bytedance/deer-flow · 38 tokens

spotify-player

Terminal Spotify playback/search via spogo (preferred) or spotifyplayer. Use when the user asks to play music, search for a song, skip a track, pause playback, check what is currently playing, control Spotify, list audio devices, or manage a Spotify queue from the terminal.

elizaOS/eliza · 60 tokens

nano-banana-pro-openrouter

Deterministic OpenRouter image generation adapter for Nano Banana Pro / Gemini image models. Use as skillexec when a meta-skill needs local image files and structured IMAGEREADY records without spawning an LLM agent.

opensquilla/opensquilla · 49 tokens

imagegen

Generate original images, artwork, product visuals, diagrams, or other raster assets with the desktop's configured image provider. Use whenever the user asks to create or generate an image.

NanmiCoder/cc-haha · 38 tokens

canvas-design

Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.

netease-youdao/LobsterAI · 59 tokens

voice-clone-lab

A consent-controlled tool for creating a reusable synthetic voice from a local speaker recording.

opensquilla/opensquilla · 52 tokens