Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/WhiteTowerAI/cut-as-codenpx agentmods add skills/whitetowerai/cut-as-code/video-add-captionsWrote 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-add-captions)<a href="https://agentmods.dev/skills/whitetowerai/cut-as-code/video-add-captions"><img src="https://agentmods.dev/badge/skills/whitetowerai/cut-as-code/video-add-captions.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 4 findings, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium MCP Rug Pull · line 19 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium Excessive Agency · line 310 Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
- medium Excessive Agency · line 349 Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
- medium Excessive Agency · line 315 Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.00061 | $0.07111 |
| Opus 5 | $0.00030 | $0.03556 |
| Sonnet 5 | $0.00012 | $0.01422 |
| Haiku 4.5 | $0.00006 | $0.00711 |
Grade A, and why
video-add-captions 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 8d 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 — 757 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Video Add Captions
Dependencies
/video-understand is a prerequisite. Run it first so captions use the validated
word-level transcript and canonical timeline.
Before starting, verify that it is installed. If it is not, warn the user that
this prerequisite is missing and stop before processing media.
Require ffmpeg/ffprobe on PATH, Python with Pillow, and Node.js >= 22 (for the .mjs scripts and npx hyperframes, fetched on demand). hyperframes render/snapshot drives a headless Chrome — it manages its own chrome-headless-shell, and falls back to a system Chrome (set CHROME to override) when the cached one is unusable. Check these before processing media.
Scope
This skill owns caption grouping, style selection, review, and the transparent caption track. It does not transcribe, cut, retime, grade, reframe, or choose the delivery audio policy.
Run captions before content cards and graphic motion whenever either is selected. The approved caption layout establishes a reserved subtitle region that both later operations must keep clear. This relative order also applies when only one pair is active.
Use video-understand first. If a cut exists, caption the active program
timeline; do not treat source transcript seconds as program seconds.
Protocol Inputs
Required:
work/project.jsonwork/understand/transcript.json, with word-level source timestampswork/understand/media.jsonwork/timeline.json- the source video named by
work/project.json
The timeline is the only source-to-program mapping. All ranges are half-open
[start_s, end_s). scripts/build_captions.py uses the shared
projectlib.map_transcript_to_timeline; words in dropped source ranges disappear,
retained words move to program time, and cues always break at clip boundaries.
Durable Outputs
work/captions/
|-- captions-plan.json
|-- caption-spatial-context.json (only for eligible B-roll composites)
`-- caption-interaction.json
work/cache/captions/
|-- preview-project/
|-- preview-snapshots/
|-- overlay-project/
`-- overlay-frames/frame_000001.png ...
review/05-captions/
|-- captions.srt
|-- captions-style-review-<UUID>.html
|-- captions-style-review.html
|-- captions-review.html
|-- preview-early.png
|-- preview-middle.png
|-- preview-late.png
|-- preview-no-caption.png
|-- captions-evidence.json
`-- captions-summary.md
What ships with it
60 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.
- assets/captions-review.html 19 KB
- assets/style-previews/index.html 49 KB
- assets/style-previews/preview-boxed-blue.png 15 KB
- assets/style-previews/preview-boxed-gray.png 14 KB
- assets/style-previews/preview-boxed-green.png 15 KB
- assets/style-previews/preview-boxed-pink.png 14 KB
- assets/style-previews/preview-boxed-yellow.png 14 KB
- assets/style-previews/preview-clean.png 14 KB
- assets/style-previews/preview-manifest.json 22 KB
- assets/style-previews/preview-minimal.png 13 KB
- assets/style-previews/preview-pill-blue.png 15 KB
- assets/style-previews/preview-pill-gray.png 15 KB
- assets/style-previews/preview-pill-green.png 15 KB
- assets/style-previews/preview-pill-pink.png 15 KB
- assets/style-previews/preview-pill-yellow.png 15 KB
- assets/style-previews/preview-shorts-blue.png 63 KB
- assets/style-previews/preview-shorts-green.png 63 KB
- assets/style-previews/preview-shorts-orange.png 63 KB
- assets/style-previews/preview-shorts-pink.png 63 KB
- assets/style-previews/preview-shorts-purple.png 63 KB
- assets/style-previews/preview-shorts-yellow.png 63 KB
- assets/style-previews/preview-social-bold-karaoke.png 30 KB
- assets/style-previews/preview-social-bold.png 26 KB
- assets/style-previews/preview-stroked-black.png 23 KB
- assets/style-previews/preview-stroked-blue.png 22 KB
- assets/style-previews/preview-stroked-green.png 22 KB
- assets/style-previews/preview-stroked-pink.png 22 KB
- assets/style-previews/preview-stroked-yellow.png 23 KB
- assets/style-previews/props-boxed-blue.json 4.2 KB
- assets/style-previews/props-boxed-gray.json 4.2 KB
- assets/style-previews/props-boxed-green.json 4.2 KB
- assets/style-previews/props-boxed-pink.json 4.2 KB
- assets/style-previews/props-boxed-yellow.json 4.2 KB
- assets/style-previews/props-clean.json 4.2 KB
- assets/style-previews/props-minimal.json 4.2 KB
- assets/style-previews/props-pill-blue.json 4.2 KB
- assets/style-previews/props-pill-gray.json 4.2 KB
- assets/style-previews/props-pill-green.json 4.2 KB
- assets/style-previews/props-pill-pink.json 4.2 KB
- assets/style-previews/props-pill-yellow.json 4.2 KB
- assets/style-previews/props-shorts-blue.json 4.2 KB
- assets/style-previews/props-shorts-green.json 4.2 KB
- assets/style-previews/props-shorts-orange.json 4.2 KB
- assets/style-previews/props-shorts-pink.json 4.2 KB
- assets/style-previews/props-shorts-purple.json 4.2 KB
- assets/style-previews/props-shorts-yellow.json 4.2 KB
- assets/style-previews/props-social-bold-karaoke.json 4.2 KB
- assets/style-previews/props-social-bold.json 4.2 KB
- assets/style-previews/props-stroked-black.json 4.2 KB
- assets/style-previews/props-stroked-blue.json 4.2 KB
- assets/style-previews/props-stroked-green.json 4.2 KB
- assets/style-previews/props-stroked-pink.json 4.2 KB
- assets/style-previews/props-stroked-yellow.json 4.2 KB
- examples/fonts/CalSans-Regular.ttf 99 KB
- examples/index.html 4.5 KB
- public/fonts/CalSans-Regular.ttf 99 KB
- public/gsap.min.js 71 KB runs code
- reference/caption-feedback-mapping.md 6.0 KB
- reference/caption-rules.md 12 KB
- reference/caption-style-themes.md 2.4 KB
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.
- 8d ago First seen · 757 lines · 61 tokens per session scan A cf587020397e
video-add-captions is a skill published in the GitHub repository WhiteTowerAI/cut-as-code (11 stars, last pushed 15d ago), licensed MIT. It adds 61 tokens to every session and 7,111 once invoked, about $0.0003 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
A video-editing workflow that examines raw clips, selects usable moments, arranges them into a story, and renders a finished video with FFmpeg.
create_profile_style_skill
A workflow for turning a person's video-editing habits into a reusable editing skill file. It examines choices such as pacing, storytelling, audio, subtitles, colour, transitions, and recurring editing rules.
subtitle_imitation_skill
A video-writing workflow that rewrites a script to match the style of reference text supplied by the user. It uses the footage analysis and reference sample while keeping the script tied to what is actually shown.
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
A video-editing workflow that connects existing clips with AI-generated transitions. It can organize clips, choose background music, build a timeline, and render the finished video.
default_editing_workflow_skill
A general video-editing workflow for turning uploaded or found footage into a finished video. It covers loading clips, organizing a story, adding text, voiceover, music, and effects, then rendering the result.