video-edit-compare

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

A video-review tool that creates a side-by-side comparison of an original video and its final edited version, aligned to the original source timing.

In plain words
What is it for?
Use it to check cuts, speed changes, color grading, and graphics in a finished video against its source using a timeline file.
Why use it?
It shows the actual delivered frames, including color changes and graphics, while making dropped or stretched sections visible.

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-edit-compare
Any agent
npx skills add WhiteTowerAI/cut-as-code --skill video-edit-compare
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-edit-compare

README.md
[![agentmods](https://agentmods.dev/badge/skills/whitetowerai/cut-as-code/video-edit-compare.svg)](https://agentmods.dev/skills/whitetowerai/cut-as-code/video-edit-compare)
Your own site
<a href="https://agentmods.dev/skills/whitetowerai/cut-as-code/video-edit-compare"><img src="https://agentmods.dev/badge/skills/whitetowerai/cut-as-code/video-edit-compare.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 666 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.00038 $0.00666
Opus 5 $0.00019 $0.00333
Sonnet 5 $0.00008 $0.00133
Haiku 4.5 $0.00004 $0.00067

Measured 5d ago against content hash 345f4e621d77, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

video-edit-compare 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 2 executable files (scripts/make_compare.py, tests/test_make_compare.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-edit-compare/SKILL.md · 73 lines

How it starts

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

Video Edit Compare

Render the single V1 comparison mode: original-vs-final-source-time.

The left panel plays the original continuously. The right panel projects actual final-delivery pixels back onto the original source clock. Dropped ranges are black, kept final ranges are stretched to their source duration, and audio is copied from the original.

Dependencies

Require ffmpeg/ffprobe on PATH and Python with Pillow. Check them before processing media.

Inputs

  • work/timeline.json: canonical chronological source-to-program mapping
  • input/original-video.mp4: original source
  • final/final-video.mp4: actual delivery after all selected edits

Do not compare against a cut plan or an intermediate render. The final pixels are required so the review includes grade and cards.

Render

python scripts/make_compare.py TIMELINE.json SOURCE.mp4 FINAL.mp4 OUT.mp4 [--filter-only]

Project example:

python skills/video-edit-compare/scripts/make_compare.py `
  work/timeline.json `
  input/original-video.mp4 `
  final/final-video.mp4 `
  review/04-edit-compare/original-vs-final-source-time.mp4

The script always writes the durable work/edit-compare/compare-plan.json. It writes PIL label images and the generated filtergraph under disposable work/cache/. --filter-only creates the plan and inspectable cache files without rendering the video.

Mapping Rules

  • Keep source clips chronological, non-overlapping, and single-source.
  • Trim each clip's program_range from the final video.
  • Stretch it by the clip speed to recover its source_range duration.
  • Insert black for every source-time gap.
  • Map the original audio without retiming it.
  • Derive every part's start and end frame from its absolute source-time boundaries, then trim to that frame count and rebuild PTS at the timeline's rational FPS. Never round each part duration independently; cumulative concat rounding causes source-time drift.

Reordered, duplicated, overlapping, nonlinear-speed, or multi-source timelines are unsupported in V1 and must fail validation.

Read the full file on GitHub · 73 lines

Files

What ships with it

2 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.

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 · 73 lines · 38 tokens per session scan A 345f4e621d77

Subscribe to this mod's changes

video-edit-compare is a skill published in the GitHub repository WhiteTowerAI/cut-as-code (11 stars, last pushed 13d ago), licensed MIT. It adds 38 tokens to every session and 666 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