gemini-video-understanding
Skill by benchflow-ai
Analyzes videos with the Google Gemini API for summaries, Q&A, timestamped transcripts, scene timelines, clipping and YouTube URL analysis. It suits developers who want video understanding in Python workflows.
Install gemini-video-understanding
Built from the published package, never by AI.
git clone --depth 1 https://github.com/benchflow-ai/skillsbench /tmp/skillsbench && mkdir -p ~/.claude/skills && cp -r /tmp/skillsbench/tasks-extra/pedestrian-traffic-counting/environment/skills/gemini-video-understanding ~/.claude/skills/gemini-video-understandingRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install gemini-video-understanding in Claude Code
git clone --depth 1 https://github.com/benchflow-ai/skillsbench /tmp/skillsbench && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skillsbench/tasks-extra/pedestrian-traffic-counting/environment/skills/gemini-video-understanding ~/.gemini/antigravity-cli/skills/gemini-video-understandingAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install gemini-video-understanding in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The gemini-video-understanding skill gives an AI assistant video analysis workflows built on the Google Gemini API. It covers video summaries, question answering about specific MM:SS timestamps, transcripts with optional visual descriptions, scene and timeline detection, and multi-video comparison. It also supports video clipping, custom FPS sampling and direct analysis of public YouTube URLs.
Small local files can be sent as inline bytes, while larger videos are uploaded through the File API and the code waits until processing finishes. The examples are written in Python with the google-genai library, and the skill asks for results as JSON that follows a defined schema. It suits anyone who wants to add video analysis to a Python workflow using the Gemini API.
Written from the project's SKILL.md and checked against it.
What it can do
- Video summariesSummarizes a video into key points or chapters.
- Timestamp Q&AAnswers questions about what happens at specific MM:SS times.
- TranscriptionProduces a transcript with timestamps and optional visual context.
- Scene and timeline detectionDetects scene changes and builds a timeline of events.
- Video clippingAnalyzes only a chosen segment of a video.
- FPS controlSets a custom frame rate to balance detail against token use.
- Multi-video comparisonCompares up to 10 videos on Gemini 2.5 or later.
- YouTube URL analysisAnalyzes public YouTube videos directly from their URL.
- Structured JSON outputReturns results in a schema-guided JSON format.
What you need
- Gemini API key set as GEMINI_API_KEY
- Python
- google-genai Python library
- Public YouTube videos for URL analysis
Try asking
- Summarize this video in 3 key points and list the main chapters.
- What happens at 01:15 in this video?
- Compare these two videos and list the main differences.
Good to know
- YouTube analysis works only with public videos that are not age-restricted.
- Live streaming analysis is not supported.
- Multi-video comparison allows up to 10 videos per request on Gemini 2.5 or later.
- Very long videos may need to be clipped and processed in segments.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: tasks-extra/pedestrian-traffic-counting/environment/skills/gemini-video-understanding/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md9 KB
Alternatives to gemini-video-understanding
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
gemini-video-understanding: common questions
What video formats are supported?
The skill lists MP4, MPEG, MOV, AVI, FLV, MPG, WebM, WMV and 3GPP files.
Can it analyze YouTube videos?
Yes, if the video is public and not age-restricted. The source says live streaming analysis is not supported.
How long a video can it process?
Limits depend on the model. The source gives about 2 hours for 2M-token models and about 1 hour for 1M-token models at default resolution.
How do I install gemini-video-understanding?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is gemini-video-understanding free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is gemini-video-understanding safe to use?
It scores 87 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to gemini-video-understanding?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
