natural-language-video-search
Skill by ssrajadh
Searches video files with natural language using Gemini embeddings. It indexes dashcam, security camera or other mp4 footage and auto-trims the top matching clip.
Install natural-language-video-search
Built from the published package, never by AI.
git clone --depth 1 https://github.com/ssrajadh/sentrysearch /tmp/sentrysearch && mkdir -p ~/.claude/skills && cp -r /tmp/sentrysearch/docs/natural-language-video-search ~/.claude/skills/natural-language-video-searchRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install natural-language-video-search in Claude Code
git clone --depth 1 https://github.com/ssrajadh/sentrysearch /tmp/sentrysearch && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/sentrysearch/docs/natural-language-video-search ~/.gemini/antigravity-cli/skills/natural-language-video-searchAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install natural-language-video-search in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
natural-language-video-search is an agent skill that lets an assistant index video files, such as dashcam footage, security camera recordings or any mp4, into a local vector database. Users then search the footage by describing what they want in plain English. The top match is automatically trimmed from the original file and saved as a clip. For Tesla dashcam footage, an optional telemetry overlay can burn speed, GPS, location and turn signal data onto trimmed clips.
Each chunk of video is embedded as raw video using Gemini Embedding 2, with no transcription or captioning. Text queries are matched against these vectors by cosine similarity, and ffmpeg handles the trimming. Still-frame detection can skip chunks with no meaningful change, which reduces API calls on idle footage. It suits people who want to find specific moments in dashcam or surveillance footage.
Written from the project's SKILL.md and checked against it.
What it can do
- Index video filesAdds dashcam, security camera or any mp4 footage to a local ChromaDB vector database.
- Search indexed footageFinds matching moments from a plain English description of what to look for.
- Auto-trim top matchTrims the highest-scoring match from the original file with ffmpeg and saves it as a clip.
- Tesla telemetry overlayBurns speed, GPS, location and turn signal data onto Tesla dashcam clips.
- Still-frame skippingSkips chunks with no meaningful visual change to reduce API calls on idle footage.
- Check index statsReports how much footage is indexed.
What you need
- Gemini API key set as GEMINI_API_KEY
- Python 3.11+
- uv
- ffmpeg, or the bundled imageio-ffmpeg fallback
Try asking
- Search my dashcam footage for a white truck cutting me off
- Index all the video files in my Downloads folder
- Search for a red light and include the Tesla overlay on the clip
Good to know
- Indexing costs about $2.84 per hour of active footage with default settings.
- The Tesla overlay requires firmware 2025.44.25+ for SEI metadata.
- Videos without Tesla metadata skip the overlay.
- Search scores below 0.41 trigger a low-confidence prompt before trimming.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: docs/natural-language-video-search/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB
Alternatives to natural-language-video-search
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
natural-language-video-search: common questions
How does the skill turn video into searchable data?
Each chunk is embedded as raw video with Gemini Embedding 2, with no transcription or captioning. The vectors are stored in a local ChromaDB database.
Does preprocessing lower the API cost?
The source says Gemini bills by video duration at a fixed token rate, so preprocessing does not reduce per-chunk token cost. Still-frame skipping is the main cost saver for idle footage.
Is this suitable for security camera footage?
The source lists security camera recordings as a supported input. Footage with long idle periods is described as significantly cheaper to index because idle chunks are skipped.
How do I install natural-language-video-search?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is natural-language-video-search free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is natural-language-video-search safe to use?
It scores 91 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 natural-language-video-search?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
