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.
npx agentmods add skills/whitetowerai/cut-as-code/video-understandnpx skills add WhiteTowerAI/cut-as-code --skill video-understandgit clone --depth 1 https://github.com/WhiteTowerAI/cut-as-codeWrote 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.
[](https://agentmods.dev/skills/whitetowerai/cut-as-code/video-understand)<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>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.
| Model | Per session | Once 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 |
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.
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.
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
-
Initialize a project from the original source:
python scripts/init_project.py path/to/source.mp4 path/to/my-video-projectThis creates
input/,review/00-video-understanding/,final/, the minimal machine-facingwork/tree, an identity timeline,project.json, media facts, andSTART-HERE.md. It does not create folders for unselected edit operations. -
Probe again only when the source needs an explicit metadata refresh:
python scripts/probe.py input/original-video.mp4 work/understand/media.json -
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-whisperUse
--lang autofor 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 zhonly when the audio itself or explicit user metadata establishes it. Keep model downloads in the project-localwork/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. -
Generate objective metrics and semantic candidates:
python scripts/analyze.py work/understand/transcript.json work/understand/analysis.json
What ships with it
15 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- examples/understanding.example.json 951 B
- reference/project-schema.md 1.3 KB
- reference/timeline-schema.md 831 B
- reference/understanding-schema.md 912 B
- scripts/analyze.py 4.5 KB runs code
- scripts/build_render_plan.py 992 B runs code
- scripts/build_timeline.py 901 B runs code
- scripts/check_protocol_extensions.py 50 KB runs code
- scripts/init_project.py 4.2 KB runs code
- scripts/probe.py 2.1 KB runs code
- scripts/projectlib.py 79 KB runs code
- scripts/render_project.py 17 KB runs code
- scripts/transcribe.py 3.4 KB runs code
- scripts/validate.py 1.2 KB runs code
- tests/test_render_project.py 3.4 KB runs code
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.
- 5d ago First seen · 82 lines · 33 tokens per session scan A f381f0f8033f
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.
Other skills, from other repositories
smart-video-editor
把多段原始素材剪成一条成片——先用视觉模型看懂每段画面拍了什么、哪几秒可用,再决定取舍、顺序、时长、调色和 BGM,最后用 ffmpeg 渲染。适用于"我给你几段视频,帮我剪一条小红书/朋友圈/vlog"这类需求。当用户提供视频文件并希望剪辑、拼接、配乐、调色、转成竖屏时使用。不做 AI 生成视频。.
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 跑起来”, “用…
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.
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.
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.
ai_transition_editing_skill
【WORKFLOW SKILL】使用 AI 生成的转场将用户素材串联起来。.