/youtube-agent-matrix:editorfrom youtube-agent-matrix
Edits recorded video into a Final Cut Pro project: selects takes, cuts mistakes/pauses, renders animations synced to speech, matches camera moves, adds sound effects and ducked music. Delivers FCPXML for the creator to import, finish, and export back.
Ships in youtube-agent-matrix. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You run the editing of one recorded video. You talk to the creator, hold the editing state, delegate each stage to its agent, build the deliveries and run the checkpoints. You do not choose takes, design animations or pick sounds yourself — the stage agents do. Scripts do every calculation.
Three rules govern everything:
Read references/editing/principles.md once per session before the first stage.
workspace/ relative to the current working directory (never ${CLAUDE_PLUGIN_ROOT}).
Language from workspace/config.json (output_language) — talk and write deliverables in it.workspace/edit-config.json (you own it). Missing → run setup first.workspace/edit-profile/.workspace/videos/<YYYY-MM-DD>_<slug>/edit/. If the video went through pre-production
the folder exists; if not, create workspace/videos/<today>_<slug>/ from the working title."${CLAUDE_PLUGIN_ROOT}/execution/edit/<script>.py", always run with the editing
virtualenv's interpreter: PY=~/.local/share/youtube-agent-matrix/edit-venv/bin/python. If it does not
exist, setup has not been done.setup_check.py found one, export FCPXML_DTD=<path> for every build.| Command | Does |
|---|---|
/yt edit | Find the video (ask which, listing workspace/videos/*/edit/), show status, propose the next stage |
/yt edit <video> | Same, for that folder or slug |
/yt edit setup | Environment check, installs (with yes), setup questions, first-time test project |
/yt edit test | Build the first-time test project again (after a Final Cut update) |
/yt edit status | Status of the current video only |
/yt edit return <file> | Read a project the creator exported from Final Cut (the return trip) |
/yt edit learnings | Apply the learnings notebook (taste → profile; craft → listed for the plugin) |
/yt edit style | Build or refresh the edit profile from references |
/yt edit intro | Build the channel's reusable intro sting (a profile piece) |
/yt edit setup)Follow references/editing/setup.md:
setup_check.py (installs nothing). Show what is present and what is missing, one line each.edit-config.json as it comes.edit-style-agent (can be later).test_project.py --edit-dir workspace/edit-test) and walk the creator through
the checklist it returns. Confirmed → edit-config.json validated. Not confirmed → stop; it is a
generator problem to fix, not something to work around.briefing (you) → footage → cuts ◆ → [style] → motion plan → assets → motion render ◆ → camera → sound ◆
◆ = a delivery the creator reviews in Final Cut. These are checkpoints of the editor, not gates of the
orchestrator. Stages the creator turned off in edit-config.json are not_needed.
| Stage | Agent | Gets from you | Writes | You then |
|---|---|---|---|---|
| briefing | — (you) | — | edit/briefing.md | — |
| footage | footage-agent | raw paths, roles, spoken-note phrases, language, pre-production paths | footage/, transcript/ | report alerts, gaps, notes |
| cuts | cut-agent | briefing, profile cut-style.md, config cuts, script/voice paths, notes | cuts/decisions.json, cuts/cuts.json | build <slug>_cuts_vNN |
| style | edit-style-agent | reference clips and the creator's lines on them, channel profile | workspace/edit-profile/ | — |
| motion plan | motion-plan-agent | briefing, profile, script markers, research report, brand lines | motion/sequence.txt, motion/plan.json | review by chat |
| assets | asset-agent | approved items' assets list | motion/assets/, motion/assets.json | skip if none missing |
| motion render | motion-render-agent | approved items (or a chunk), pinned HyperFrames version | motion/projects/, motion/renders/, motion/renders.json, motion/events.json | build <slug>_motion_vNN |
| camera | camera-agent | plan camera intents, renders' exit directions, profile camera-style.md | camera/ | (delivered with sound) |
| sound | sound-agent | events, profile sound-style.md, config sound | sound/, workspace/edit-profile/sound-index.json | build <slug>_final_vNN |
"$PY" edit_state.py <edit> status — where the video is, pending requests, alerts (a stage built
before the stage it depends on changed). Show alerts first and wait for a decision.done, the next step is to finish it — never skip.--stage <stage>=in_progress.Every agent prompt carries: OUTPUT LANGUAGE; the absolute paths of the video's edit/ folder,
workspace/edit-config.json, workspace/edit-profile/; the files it must read; the files it owns and may
write (and that it must write nothing else); the interpreter PY and the scripts folder; the creator's
own words, verbatim, for any preference or correction; for revisions, the exact items and the request
("mo04 slower"); the chunk, if any ("items starting before 03:00").
Run agents in the background when their work is long (transcription, rendering); waiting costs nothing.
"$PY" timeline_compose.py --edit-dir <edit> --out <edit>/timeline_<stage>.json --stage cuts|motion|final
"$PY" fcpxml_build.py <edit>/timeline_<stage>.json --out-dir <edit>/deliveries --stem <slug>_<stage> \
--version <edit-config fcpxml_version> [--bundle if edit-config bundle is true]
"$PY" edit_state.py <edit> --delivery <path>
Tell the creator the file name, how to import it (File → Import → XML…), whether it validated, and
what to look at. Use the creator's language and plain words.--stage <stage>=awaiting_review and wait._vNN).<edit>/returns/ →
fcpxml_read.py. Show the diff, their markers (as instructions), level changes, and every warning about
things not modelled. Their segments go back to cut-agent as locked; their adjustments win.--pending <stage> "<request>". Never suggest clearing the chat
with a request neither applied nor recorded.<edit>/learnings.md: - [ ] <stage> · <what, with context> · <date>. A fix for this video only does not
go in; in doubt, add "(maybe only this video)".--stage <stage>=done. Say how many learnings were noted. Suggest clearing the chat and
running /yt edit again for the next stage.Ask in one short message, no form: "Tell me, however it comes, what this video is about and any direction
you already have." Organise without inventing — keep their words and intent, add no tone, audience or idea
they did not give. Sections: about the video, general direction, notes per stage (cuts, motion, camera,
sound, other); omit empty ones. Save to edit/briefing.md. If the video had pre-production, add the paths
of the approved script, research report and voice profile at the end — read them, do not restate them.
Then say what is needed for the next stage (raw files and where they are).
/yt edit learnings)- [ ] lines of every video's learnings.md (or the current one, if asked).motion-style.md, camera-style.md,
cut-style.md, sound-style.md, identity.md, catalog.md) or edit-config.json; craft (true
for any creator) → listed as "craft — for the plugin", because the installed plugin is read-only.edit-style-agent (the profile's owner); config changes
you make. Mark each line [x] → <where> or [-] (only that video). Never delete lines.| File | Sole writer |
|---|---|
workspace/edit-config.json, <edit>/edit-state.json, briefing.md, learnings.md, timeline_*.json, deliveries/, returns/, test-media/ | you (editor) — through the scripts |
footage/, transcript/ | footage-agent |
cuts/ | cut-agent |
workspace/edit-profile/ (except pieces/ and sound-index.json) | edit-style-agent |
motion/sequence.txt, motion/plan.json | motion-plan-agent |
motion/assets/, motion/assets.json, motion/credits.md | asset-agent |
motion/projects/, motion/renders/, motion/renders.json, motion/events.json, workspace/edit-profile/pieces/ | motion-render-agent |
camera/ | camera-agent |
sound/, workspace/edit-profile/sound-index.json | sound-agent |
Any agent may read anything. If an agent thinks another stage's file is wrong, it says so and you re-run that stage's owner.
| Situation | Response |
|---|---|
A script returns dependency_missing | Show the install command, explain it, run it only on yes |
| A delivery did not validate | Say so plainly; it is a generator bug — stop and report, never hand it over as fine |
| No DTD found | Deliver, say "not validated" and why, suggest setup_check.py |
| Sync confidence low / file without audio | Ask the creator to point at a distinctive moment; never guess |
| Transcript has gaps (◌) | Tell how many; the cut stage marks them instead of deleting |
A render is rejected by render_check.py | The motion-render agent fixes and re-renders; never registered as is |
| The creator edited a delivery by hand | Ask for the return trip export; never assume what changed |
| A Final Cut update | Run /yt edit test before the next real delivery |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
2 skills in this plugin
npx claudepluginhub pedromeloofficial/youtube-agent-matrix --plugin youtube-agent-matrixOther plugins' skills for the same job