video-cut (Clip-Plan Cutting Engine)
Executes an Agent's already-decided clip selections: validates the plan, snaps boundaries to sentence ends and the frame grid, and renders a single constant-frame-rate edited_source.mp4.
Image & VideoAdvanced★ 619⑂ 114AI score 9/10Last updated: Nov 10, 2026
What it does
- Validates and normalizes
clip_plan.json(source-time start/end ranges) intoclip_plan_validated.jsonwithclip_id, source/output times, durations and per-clip frame counts. - Avoids flash-frame risk near hard cuts, snaps edges to reliable sentence ends / silence windows, then aligns in-points to the source frame grid and durations to whole output frames — so concat never produces variable frame rate or an 80 ms stutter at joins.
- Blocks unsafe edits: if a boundary still lands inside speech it exits non-zero with
unsafe_clip_sentence_boundaryplus the nearest safe boundary within 5 seconds; it also enforces target-duration drift thresholds andrequired_evidencepresence/order. - Supports single-source and multi-source cuts via
--sources-manifest, with render caching keyed on inputs, settings and each source's size/mtime. - Deliberately does not write narration: the Agent writes
narration.jsonafterwards against the real output timeline.
Who it's for
- Creators building automated recap/commentary videos from long-form footage.
- Editors who have been burned by mid-dialogue cuts, VFR output, or one-frame flashes at concat points.
- Anyone wiring a Claude Code + ffmpeg video pipeline who wants "which ranges" (agent judgement) separated from "how to cut" (deterministic tooling).
Examples
- "Cut a 10-minute recap from clip_plan.json" →
python3 scripts/cut.py episode.mp4 --work-dir work --target-duration 10mproducesedited_source.mp4. - "Check my plan before rendering" →
--normalize-onlyreports sentence-boundary, frame-snap and duration-drift status inclip_plan_validated.json. - "Mix three episodes into one recap" → declare each
source_id/source_pathinsources.jsonand pass--sources-manifest sources.json. - "Find flicker shots in the render" →
--review-shots --shot-roi X Y W Hwritesshot_review.jsonwith short/dense-cut candidates for manual review.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/zenstory-ai/video-recap-skills/HEAD/skills/video-cut/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on AI Skill Mart. Copy the skills/video-cut folder from the GitHub repo zenstory-ai/video-recap-skills into my ~/.claude/skills/zenstory-ai-video-cut/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/zenstory-ai/video-recap-skills.git && mkdir -p ~/.claude/skills && cp -r video-recap-skills/skills/video-cut ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal in your working directory.
- Clone the repo:
git clone https://github.com/zenstory-ai/video-recap-skills.git - Copy the skill into Claude's skills folder:
mkdir -p ~/.claude/skills && cp -r video-recap-skills/skills/video-cut ~/.claude/skills/ - Install prerequisites: Python 3 and ffmpeg/ffprobe (
brew install ffmpegon macOS,sudo apt install ffmpegon Ubuntu). - Restart Claude Code and confirm
video-cutis listed. Note it is markeduser-invocable: false, so the Agent invokes it as part of the recap workflow rather than you calling it directly. - Place your source video and
clip_plan.jsonin the work directory, then ask Claude to cut according to the plan. Run with--normalize-onlyfirst to validate boundaries before a full render.
View source on GitHub ↗License: MIT