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

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.

agentmods
npx agentmods add skills/whitetowerai/cut-as-code/video-understand
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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00016 $0.00416
Sonnet 5 $0.00007 $0.00166
Haiku 4.5 $0.00003 $0.00083

Measured 5d ago against content hash f381f0f8033f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 5d ago.

The scan reads SKILL.md. This mod also ships 11 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-graphic-motion. 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. 5d 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 (11 stars, last pushed 13d ago), licensed MIT. It adds 33 tokens to every session and 832 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

smart-video-editor

把多段原始素材剪成一条成片——先用视觉模型看懂每段画面拍了什么、哪几秒可用,再决定取舍、顺序、时长、调色和 BGM,最后用 ffmpeg 渲染。适用于"我给你几段视频,帮我剪一条小红书/朋友圈/vlog"这类需求。当用户提供视频文件并希望剪辑、拼接、配乐、调色、转成竖屏时使用。不做 AI 生成视频。.

Fagan1024/smart-video-editor · 120 tokens

openstoryline-use

Use this skill when OpenStoryline is already installed and the user wants to start the local MCP/Web services, create or continue a session, send editing instructions, perform multi-turn re-editing, and verify rendered video outputs, as well as Chinese requests like “启动 OpenStoryline”, “把 OpenStoryline 跑起来”, “用…

FireRedTeam/FireRed-OpenStoryline · 80 tokens

create_profile_style_skill

【META SKILL】分析当前剪辑逻辑与风格,总结并生成一个新的可复用 Skill 文件,存入剪辑技能库。Analyze the current editing logic and style, summarize and generate a new reusable Skill file, and store it in the editing skill library.

FireRedTeam/FireRed-OpenStoryline · 64 tokens

subtitle_imitation_skill

【CAPABILITY SKILL】基于用户提供的参考文案样本,对视频素材内容进行深度文风仿写,生成风格化脚本。Based on user-provided reference text samples, the video material is deeply rewritten in terms of writing style to generate a stylized script.

FireRedTeam/FireRed-OpenStoryline · 68 tokens

premiere-pro-mcp

Install, verify, troubleshoot, and operate the Adobe Premiere Pro MCP server. Use when a user wants an agent to set up Premiere MCP, connect Claude Code/Codex/Claude Desktop, control Premiere, import media, build sequences, edit timelines, apply effects, or diagnose bridge issues.

hetpatel-11/Adobe_Premiere_Pro_MCP · 64 tokens

ai_transition_editing_skill

【WORKFLOW SKILL】使用 AI 生成的转场将用户素材串联起来。.

FireRedTeam/FireRed-OpenStoryline · 26 tokens