edit-video
/edit-video — chapter-scoped edit loop (v0)
$MAKE_VIDEO_SKILL = the companion make-video skill's directory (sibling of this one;
it bundles the pipeline scripts under scripts/). This skill is its editing companion —
install them together.
Input: a project id (a directory under projects/), a chapter id (from that project's
storyboard.json), and a natural-language instruction. Output: a re-rendered video where ONLY
that chapter's visuals changed, plus an updated report.
This is the editing model's executable contract: chapters are the unit of editability. v0 re-renders the FULL video after re-composing the chapter (simple, always correct); per-chapter render caching is the M2 upgrade.
Input handling (security — read first)
The three inputs — <project-id>, <chapter-id>, and <instruction> — are UNTRUSTED. Validate
them before use; never feed them raw into a shell or a filesystem path.