edit-footage-with-codelisted
Install: claude install-skill vargHQ/skills
# Edit footage with code
> Step 8 of 10 in [How to make a video with an AI agent in ten steps](https://varg.ai/how-to/make-a-video-in-ten-steps). The full guide, with every test and source: https://varg.ai/how-to/edit-a-video-with-hyperframes-and-agents (as Markdown: add `.md`).
An agent can cut footage well when it stops trying to do everything at once. The people getting usable edits work in the same stages, whatever engine or language they use: read the take as text, agree a plan, cut the speech, lock the audio, then add picture on top, sound last. One prompt on long raw footage is the most repeated failure.
Which engine matters less than this order. Cut with ffmpeg and word timings. Add overlays in whichever engine the project already uses.
| Situation | Use |
|---|---|
| A plain cut with few graphics | ffmpeg only: stop after step 5 |
| Graphics on a cut, HTML-first, agent does the checks | HyperFrames: [references/hyperframes.md](references/hyperframes.md) |
| React codebase, brand system, or data-driven batches | Remotion: [references/remotion.md](references/remotion.md) |
| A person will finish in Resolve or Premiere | Any of the above, plus the FCPXML from step 5 |
## Rules that do not bend
1. **Never overwrite the source.** Write to new files.
2. **Cut only in the silence between words**, at the quietest 10 ms slice. Never inside a word.
3. **Word timestamps say which words, not where to cut.** ASR stretches words across pauses. On our test clip, gaps between