Skip to content
FunCoding

agentic-video-understanding

Extract moments, quotes, and evidence from long video or audio via goal-directed Gemini watch. Use for sales calls, podcasts, discovery recordings.

Star
3,903
License
MIT
Last commit
Dec 1, 2026

agentic-video-understanding/SKILL.md

View on GitHub

Agentic video understanding

Hireable understanding layer. The model takes a goal and decides what to watch, at what speed, and through which modality (frames, audio, transcript), fetching only the moments needed. Vendor claims: up to ~66% lower cost and ~88% fewer tokens vs static fixed-FPS ingest, with higher accuracy.

What this is / is not

Is: goal → watch only what you need → timestamps + quotes + confidence.

Is not: a video editor. Do not cut, overlay, caption-burn, render, schedule, post, email, or write CRM from this skill. Hand cuts to Overlap, FFmpeg, or net-new-video-editor. Approvals stay with the calling lane.

When to use

  • Pre-call / sales-call mining: buyer objection, next step, competitive mention
  • Shortform scoring: find a 3-second standalone hook and in/out points
  • Longform / X research: named-person + contrast moments in podcast or YouTube tape
  • Talent review: bar evidence in a Loom or trial recording
  • Client audit: every mention of a keyword across a discovery recording

Skip when the job is already a clean transcript and you only need text search.

Inputs

FieldRequiredNotes
sourceyesURL or local media path the runtime can read
goalyesOne sentence retrieval goal
keywordsnoExtra strings to bias retrieval
max_momentsnoDefault 5
modalitynoauto (default), frames, audio, or transcript

Process

  1. Restate the goal as 1–3 retrieval queries. Done when each query is falsifiable (you would know if a moment matched).
  2. Call Gemini agentic video understanding (Gemini API or AI Studio) with source, queries, max_moments, and modality preference. Prefer the agentic path over fixed-FPS full ingest when available. Done when the API returns candidate windows or an explicit empty set.
  3. Normalize moments into the output schema below. Flag paraphrase vs verbatim. Drop fabricated timestamps. Done when every kept moment has t_start, t_end, modality, quote, why, confidence.
  4. Stop and hand off to the caller. Do not cut, overlay, schedule, publish, email, or CRM-write.

Output schema

Markdown for humans, optional JSON for machines:

{
  "goal": "",
  "source": "",
  "moments": [
    {
      "t_start": "MM:SS",
      "t_end": "MM:SS",
      "modality": "frames|audio|transcript",
      "quote": "",
      "verbatim": true,
      "why": "",
      "confidence": 0.0
    }
  ],
  "empty_reason": null,
  "tokens_note": "agentic path used|fallback static ingest"
}

Hard gates

  • No full fixed-FPS ingest when the agentic path is available
  • No invented timestamps or quotes
  • No dumping full transcripts or client PII into public artifacts
  • No cut / render / overlay / schedule / publish / send from this skill

Setup

  • Gemini API key or Google AI Studio access: https://ai.studio
  • See Google’s developer guide for agentic video understanding in Gemini
  • Env: GEMINI_API_KEY (or the project’s existing Google AI credential)

Caller one-liners

  • Pre-call: goal="exact next-step commitment and any pricing pushback"
  • Shortform: goal="best 3-second standalone hook; return in/out for one clip"
  • Talent: goal="evidence they hit the role bar on X; max 5 moments"
  • Audit: goal="every mention of Reddit, AEO, or budget"

Completion

Done when the caller has the schema above (or a documented empty set) and this skill has performed no side effects beyond the Gemini read.

Run this skill on live data

This skill is free and MIT licensed. To run it on your live accounts, connect the Single Brain Gateway.

Agents: sign in with OAuth or the device flow. Do not ask the user to paste a key.

Want a team to run this for you? Single Grain or Single Brain can manage it: talk to us

Similar Skills

blender-motion-state-inspection

AFaffaan-m/ECC315k4,381 new stars in the last 7 days

Official

slack-gif-creator

ANanthropics/skills203k3,265 new stars in the last 7 days

Featured

algorithmic-art

Generate flow fields and particle systems with p5.js, using seeded randomness for original algorithmic art.

ANanthropics/skills203k3,265 new stars in the last 7 days

moneyprinterturbo-video

HAharry0703/MoneyPrinterTurbo147k1,608 new stars in the last 7 days

thinking-out-loud

SHShubhamsaboo/awesome-llm-apps147k907 new stars in the last 7 days

design-motion

GAgarrytan/gstack143k598 new stars in the last 7 days