After a few videos, you start giving Claude the same notes: the same caption style, the same safe margins, the same "don't cut that pause". An editing engine is those decisions written down once, as a skill, a brand file, a few scripts and a set of checks, so every edit starts from them instead of from zero.
This guide shows how to design one, small enough to maintain. Everything in it is in the free starter kit on GitHub, ready to copy.
Do you need one?
Build one if you make the same format every week, you keep correcting the same captions, you want every video to look like the same brand, or you're tired of re-explaining your preferences each session.
Skip it if you edit a video now and then. The Part 2 workflow and a short CLAUDE.md are enough, and an engine you don't use goes stale.
The architecture
| Layer | Its job | In the starter kit |
|---|---|---|
| Input | Footage, references, brand settings | raw/, brand.json |
| Analysis | Transcript, scenes, the editorial plan | WhisperX, probe.py, work/timeline.json |
| Editing | Cuts, framing, audio | cut.py, FFmpeg |
| Composition | Captions, titles, graphics | Your engine (HyperFrames or Remotion), templates/ |
| Quality | Frames, words, audio, export checks | qa.py, qa.md |
| Output | The platform-ready file | export.py |
Each layer hands the next a file, not a conversation. That's what makes it repeatable: you can rerun one layer without redoing the others.
Store the edit as data
Instead of an edit that lives in Claude's head or inside a 400-line component, keep it in one JSON file:
{
"source": "raw/take.mp4",
"segments": [
{ "id": "hook", "start": 0.42, "end": 4.18 },
{ "id": "point-1", "start": 5.06, "end": 13.70 }
],
"captions": { "words": "work/rough.words.json", "words_per_group": 3 },
"zooms": [{ "at": 4.0, "duration": 0.6, "scale": 1.12, "target": "face" }],
"broll": [{ "at": 9.5, "duration": 2.5, "file": "assets/broll/screen.mp4" }],
"graphics": [{ "type": "title", "at": 0.0, "duration": 3.0, "text": "Three ways to start" }],
"audio": { "music": { "file": "assets/music/bed.mp3", "gain_db": -22 } }
}
Segments are in source time; everything else is in output time. That split matters:
- Revisions are one line. "Start point one half a second later" changes one number, and the cut script rebuilds the rough cut the same way every time.
- Captions don't drift. The kit's
cut.pyrecords where each segment lands and moves every transcript word to its new time, so captions follow the cut without transcribing again. - You can review it. The plan is readable before anything renders, and in Git every revision is a diff.
Auto-Editor exports its cuts in the same spirit: auto-editor take.mp4 --export v3 writes a JSON timeline instead of a video.
Write the editing skill
.claude/skills/reel-editor/
├── SKILL.md the workflow and its approval gates
├── rules.md editing rules; grows with every note
├── qa.md what to check before a draft is shown
├── timeline.example.json the data format
└── scripts/ probe.py, cut.py, qa.py, export.py
| Put it in | When it's… | Example |
|---|---|---|
| SKILL.md | The order of work and where to stop | "Write the timeline, explain it, wait for approval" |
| rules.md | A taste decision you've already made | "Cut between phrases, never inside one" |
| scripts/ | Mechanical and the same every time | Cutting, checks, export settings |
| brand.json | A number | Sizes, safe zones, colors, loudness |
| You | Judgment | What the video says, which take is better, the final yes |
A cut-down version of the kit's skill:
---
name: reel-editor
description: Edit a raw talking-head recording into a vertical Reel with this project's brand rules.
argument-hint: "[path to raw recording]"
disable-model-invocation: true
---
Edit `$ARGUMENTS` into a 1080x1920 Reel. Read brand.json, rules.md and qa.md.
1. Inspect: python3 ${CLAUDE_SKILL_DIR}/scripts/probe.py $ARGUMENTS
2. Transcribe with WhisperX, unless work/<name>.json already exists.
3. Write work/timeline.json and explain the plan. Stop and wait for my approval.
4. Cut: python3 ${CLAUDE_SKILL_DIR}/scripts/cut.py work/timeline.json --words work/<name>.json
5. Caption and add graphics with the project's engine. Render out/reel.mp4.
6. Check with qa.py and qa.md. At most three fix passes, then show me.
7. Export with export.py only after I approve.
When I give a note, fix it and add it to rules.md.
Run it in Claude Code with /reel-editor raw/take.mp4. disable-model-invocation: true means it runs only when you call it, never on its own, which is what you want for a skill that edits files. ${CLAUDE_SKILL_DIR} points at the skill's folder, so the scripts travel with it.
Build a small style library
Generated-from-scratch animation varies every time. A short list of patterns you trust doesn't.
| Pattern | Use it for |
|---|---|
| Captions | Every video, one treatment |
| Title | The first 3 seconds |
| Key term | One or two words worth remembering |
| Lower third | A name, a source, a tool |
| Callout box | Pointing at something in a screen recording |
| Diagram | A process with three to five steps |
| Transition and sound cue | One of each, used the same way |
Two open-source kits show how far this scales: Herk Edit Kit ships 406 draft motion-graphics cards in two styles, and video-shotcraft ships 150 tuned shots as recipe cards the agent picks from by name. Start much smaller. Save a template only after you've used the pattern twice, in templates/, reading its colors and fonts from brand.json.
Make it fast and reliable
- Cache the slow work. A transcript is made once per source file and reused.
- Preview cheap, export once. Draft renders while iterating; the export script runs only after approval.
- Re-render only what changed when your engine supports frame ranges.
- Check every stage. Each script exits with an error when its input is wrong, so a bad timeline stops at the cut, not after the render.
- Same input, same output. Rerunning a step overwrites its files with the same result, so retrying is safe.
- Let scripts do the repeat work. A script that encodes your export settings costs no tokens; Claude rewriting the FFmpeg command each time does, and can drift.
- Version it. Keep the skill,
brand.jsonandtemplates/in Git. Leaveraw/,work/andout/out (the kit's.gitignoredoes). - Keep it local. Local transcription and rendering keep footage on your machine.
- Gate the expensive steps. Approval before the final export and before any paid API call.
Start with the minimum
The first version is the starter kit and nothing more: one folder, one skill, one format, one brand file, four scripts.
- Copy the starter kit into a new project folder:
git clone https://github.com/ecemkaraman/ai-skills.git
cp -R ai-skills/kits/video-editing-engine my-reels
- Set your fonts, colors and loudness in
brand.json, and name your animation engine inCLAUDE.md. - Create the
.venvand install WhisperX (the README has the commands). - Edit three videos with
/reel-editor. Every note becomes a line inrules.md. - After the first video you like, save its captions and title in
templates/.
Grow it only when the work asks: a second format is a second skill, and batch editing is a loop over raw/ with one approval per video. A dashboard, a template marketplace or a dozen formats on day one is how engines get abandoned.
Go deeper: Claude Code skills · Herk Edit Kit · video-shotcraft · Auto-Editor timeline export · Part 1: The Claude Code Video Editing Toolkit