video-understand

video-understand is a skill for Claude Code, Codex from WhiteTowerAI/cut-as-code. It costs 33 tokens per session (832 once invoked), scanned A, original, MIT.

A media-analysis workflow that creates reusable video details, a word-level transcript and evidence-based speech analysis before editing begins. It provides the shared source timeline used by several later video workflows.

In plain words
What is it for?
Initializing a video project, checking media properties, extracting audio, transcribing speech and documenting what is present in the recording.
Why use it?
It gives editing steps a checked record of the footage instead of making each one re-process or interpret the source differently.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Initializing a video project, checking media properties, extracting audio, transcribing speech and documenting what is present in the recording.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/whitetowerai/cut-as-code/video-understand
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 WhiteTowerAI/cut-as-code --skill video-understand
Clone the repo
git clone --depth 1 https://github.com/WhiteTowerAI/cut-as-code

Made for: Claude Code, 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 video-understand

README.md
[![agentmods](https://agentmods.dev/badge/skills/whitetowerai/cut-as-code/video-understand/github.svg)](https://agentmods.dev/skills/whitetowerai/cut-as-code/video-understand)
Your own site
<a href="https://agentmods.dev/skills/whitetowerai/cut-as-code/video-understand"><img src="https://agentmods.dev/badge/skills/whitetowerai/cut-as-code/video-understand/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 video-understand

Your own site · 80×15
<a href="https://agentmods.dev/skills/whitetowerai/cut-as-code/video-understand"><img src="https://agentmods.dev/badge/skills/whitetowerai/cut-as-code/video-understand.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 832 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.00033 $0.00832
Opus 5.5 $0.00013 $0.00333
Sonnet 5.5 $0.00007 $0.00166
Haiku 4.5 $0.00003 $0.00083

Measured 1mo ago against content hash 5f4037a49829, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

video-understand 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 1mo ago.

The scan reads SKILL.md. This mod also ships 12 executable files (scripts/analyze.py, scripts/build_render_plan.py, scripts/build_timeline.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/video-understand/SKILL.md · 82 lines

How it starts

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

Video Understand

Build the shared evidence layer once. Keep observations in source time and leave editorial decisions to downstream skills.

This skill is a prerequisite for /video-cut, /video-to-shorts, /video-add-captions, /video-add-content-cards, and /video-add-motion-graphics. Run it first so those skills consume the same validated evidence and timeline.

Dependencies

Require ffmpeg/ffprobe, Python, and faster-whisper for transcription. Check them before processing media.

Workflow

  1. Initialize a project from the original source:

    python scripts/init_project.py path/to/source.mp4 path/to/my-video-project
    

    This creates input/, review/00-video-understanding/, final/, the minimal machine-facing work/ tree, an identity timeline, project.json, media facts, and START-HERE.md. It does not create folders for unselected edit operations.

  2. Probe again only when the source needs an explicit metadata refresh:

    python scripts/probe.py input/original-video.mp4 work/understand/media.json
    
  3. Extract 16 kHz mono audio and transcribe it:

    ffmpeg -y -i input/original-video.mp4 -ac 1 -ar 16000 work/cache/audio16k.wav
    python scripts/transcribe.py work/cache/audio16k.wav work/understand/transcript medium `
      --lang auto --cache-dir work/cache/faster-whisper
    

    Use --lang auto for unknown or mixed-language speech. Never infer the spoken language from the language of the user's prompt. Pass a fixed language such as --lang zh only when the audio itself or explicit user metadata establishes it. Keep model downloads in the project-local work/cache/faster-whisper/ cache. Faster-whisper may emit an occasional point-timed word with equal start/end values; the shared timeline mapper preserves it as a 1 ms interval so captions and derivatives do not silently lose text.

  4. Generate objective metrics and semantic candidates:

    python scripts/analyze.py work/understand/transcript.json work/understand/analysis.json
    

Read the full file on GitHub · 82 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. 1mo ago Changed 5f4037a49829
  2. 3mo ago First seen · 82 lines · 33 tokens per session scan A f381f0f8033f

Subscribe to this mod's changes

video-understand is a skill published in the GitHub repository WhiteTowerAI/cut-as-code (46 stars, last pushed 25d ago), licensed MIT. It adds 33 tokens to every session and 832 once invoked, about $0.0001 per session on Opus 5.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-30.

Related

video-understand compared with skills from other repositories

video-understand next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
video-understandWhiteTowerAI/cut-as-codeSkill4625d agoMITA33Claude Code, Codex
smart-video-editorFagan1024/smart-video-editorSkill114mo agoMITA120Claude Code, Codex
premiere-pro-mcphetpatel-11/Adobe_Premiere_Pro_MCPSkill9693d agoMITA64Claude Code, Codex
edit-premiere-projecthetpatel-11/Adobe_Premiere_Pro_MCPSkill9693d agoMITA26Claude Code
chatgpt-short-video-editorJaycheng1103/chatgpt-video-editing-skillsSkill6447d agoMITA159Claude Code, Codex
video-explainerrunesleo/claude-video-kitSkill1302d agoMITA72Claude Code, Codex
create_profile_style_skillFireRedTeam/FireRed-OpenStorylineSkill3.8k4mo agoApache-2.0A64Claude Code, Codex