agentleFS
PedroMeloOfficialPedroMeloOfficial/Youtube-Agent-Matrix/skills/editor/SKILL.md

editor

Skill11 starsChanged 9 days agoMITView on GitHub

Edits a recorded video into a Final Cut Pro project — takes chosen, mistakes and pauses cut, animations rendered and synced to speech, camera moves matched to them, sound effects and ducked music — delivered as FCPXML the creator imports, finishes by hand and can export back. Runs one stage at a time with the creator's approval, keeps the video's editing state on disk, and learns the creator's editing taste over time. Use for /yt edit, or whenever the creator wants raw footage edited, a cut, motion graphics, camera moves or sound for a video they recorded.

15 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use doctor.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    doctor

    Diagnose an Amplifier CLI environment through the CLI doctor agent. USE WHEN a user requests CLI runtime, settings or missing-capability inspection. DO NOT USE for project bugs or other hosts.

    Also in 3 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

15 rules. 0 are common, 6 are distinctive, and 9 are very specific to this project.

  • 0

    Common

    Most of the 14 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 9

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    One stage at a time, with the creator's yes: Never chain stages on your own.

    line 14
  2. Distinctive:

    The creator's footage is read-only: Never move, rename, copy or delete their raw files, sound or music libraries, or anything inside a …

    line 15
  3. Very specific:

    Read references/editing/principles.md once per session before the first stage.

    line 20
  4. Very specific:

    DTD: if setup_check.py found one, export FCPXML_DTD=<path> for every build.

    line 35
  5. Very specific:

    Run setup_check.py (installs nothing).

    line 56
  6. Very specific:

    Ask the setup questions one at a time, each with your recommendation.

    line 58
  7. Very specific:

    Ask for 5–10 style references if they have them → edit-style-agent (can be later).

    line 60
  8. Very specific:

    If the previous stage is not done, the next step is to finish it — never skip.

    line 92
  9. Very specific:

    Every agent prompt carries: OUTPUT LANGUAGE.

    line 97
  10. Distinctive:

    Run agents in the background when their work is long (transcription, rendering).

    line 103
  11. Distinctive:

    If the stage ends in a delivery, build it:

    line 108
  12. Very specific:

    Learnings: every correction or preference that holds for other videos → one line in <edit>/learnings.md: - [ ] <stage> · <what, with …

    line 129
  13. Distinctive:

    Once the cut is approved it locks: If it changes after the motion plan or the camera, those stages must be recomputed — say so before doing …

    line 134
  14. Distinctive:

    Ask in one short message, no form: "Tell me, however it comes, what this video is about and any direction you already have." Organise …

    line 139
  15. Very specific:

    Read the - [ ] lines of every video's learnings.md (or the current one, if asked).

    line 150

“Common” is measured: kept by at least 6 in 10 of the 14 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

YouTube Agent Matrix — Editor

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:

  1. One stage at a time, with the creator's yes. Never chain stages on your own.
  2. The creator's footage is read-only. Never move, rename, copy or delete their raw files, sound or music libraries, or anything inside a Final Cut library. Never overwrite a delivery.
  3. Deliveries are files, validated. Final Cut is never driven by computer use. A delivery that did not validate against the Final Cut DTD is said to be unvalidated, every time.

Read references/editing/principles.md once per session before the first stage.


Paths

  • Workspace: workspace/ relative to the current working directory (never ${CLAUDE_PLUGIN_ROOT}). Language from workspace/config.json (output_language) — talk and write deliverables in it.
  • Editing config: workspace/edit-config.json (you own it). Missing → run setup first.
  • Edit profile (taste): workspace/edit-profile/.
  • This video: 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.
  • Scripts: "${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.
  • DTD: if setup_check.py found one, export FCPXML_DTD=<path> for every build.

Commands

CommandDoes
/yt editFind 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 setupEnvironment check, installs (with yes), setup questions, first-time test project
/yt edit testBuild the first-time test project again (after a Final Cut update)
/yt edit statusStatus of the current video only
/yt edit return <file>Read a project the creator exported from Final Cut (the return trip)
/yt edit learningsApply the learnings notebook (taste → profile; craft → listed for the plugin)
/yt edit styleBuild or refresh the edit profile from references
/yt edit introBuild the channel's reusable intro sting (a profile piece)

Setup (/yt edit setup)

Follow references/editing/setup.md:

  1. Run setup_check.py (installs nothing). Show what is present and what is missing, one line each.
  2. Propose the installs, explain each in one line, run only after a yes.
  3. Ask the setup questions one at a time, each with your recommendation. Write each answer to edit-config.json as it comes.
  4. Ask for 5–10 style references if they have them → edit-style-agent (can be later).
  5. Build the test project (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.

The stages

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.

StageAgentGets from youWritesYou then
briefing— (you)—edit/briefing.md—
footagefootage-agentraw paths, roles, spoken-note phrases, language, pre-production pathsfootage/, transcript/report alerts, gaps, notes
cutscut-agentbriefing, profile cut-style.md, config cuts, script/voice paths, notescuts/decisions.json, cuts/cuts.jsonbuild <slug>_cuts_vNN
styleedit-style-agentreference clips and the creator's lines on them, channel profileworkspace/edit-profile/—
motion planmotion-plan-agentbriefing, profile, script markers, research report, brand linesmotion/sequence.txt, motion/plan.jsonreview by chat
assetsasset-agentapproved items' assets listmotion/assets/, motion/assets.jsonskip if none missing
motion rendermotion-render-agentapproved items (or a chunk), pinned HyperFrames versionmotion/projects/, motion/renders/, motion/renders.json, motion/events.jsonbuild <slug>_motion_vNN
cameracamera-agentplan camera intents, renders' exit directions, profile camera-style.mdcamera/(delivered with sound)
soundsound-agentevents, profile sound-style.md, config soundsound/, workspace/edit-profile/sound-index.jsonbuild <slug>_final_vNN

Before each stage

  1. "$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.
  2. If the previous stage is not done, the next step is to finish it — never skip.
  3. Say which stage and why in one line; wait for yes. Set --stage <stage>=in_progress.

Delegating

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.

After each stage

  1. Show the agent's summary in a few lines — never paste a whole file.
  2. If the stage ends in a delivery, build it:
    "$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.
  3. Set --stage <stage>=awaiting_review and wait.

Review

  • By number in chat ("s012 keep the second take", "mo04 slower", "cam07 out", "sfx12 lower"): relaunch that stage's agent with the items and the request verbatim; it changes only those; rebuild the delivery (a new _vNN).
  • By the return trip: the creator exports the adjusted project into <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.
  • Anything asked and not applied yet → --pending <stage> "<request>". Never suggest clearing the chat with a request neither applied nor recorded.
  • Learnings: every correction or preference that holds for other videos → one line in <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)".
  • Approved: --stage <stage>=done. Say how many learnings were noted. Suggest clearing the chat and running /yt edit again for the next stage.
  • Once the cut is approved it locks. If it changes after the motion plan or the camera, those stages must be recomputed — say so before doing anything.

Briefing

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).


Learnings (/yt edit learnings)

  1. Read the - [ ] lines of every video's learnings.md (or the current one, if asked).
  2. Propose where each goes: taste → a profile file (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.
  3. The creator filters. Profile changes go through edit-style-agent (the profile's owner); config changes you make. Mark each line [x] → <where> or [-] (only that video). Never delete lines.

File ownership (editing)

FileSole 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.jsonmotion-plan-agent
motion/assets/, motion/assets.json, motion/credits.mdasset-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.jsonsound-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.


When things go wrong

SituationResponse
A script returns dependency_missingShow the install command, explain it, run it only on yes
A delivery did not validateSay so plainly; it is a generator bug — stop and report, never hand it over as fine
No DTD foundDeliver, say "not validated" and why, suggest setup_check.py
Sync confidence low / file without audioAsk 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.pyThe motion-render agent fixes and re-renders; never registered as is
The creator edited a delivery by handAsk for the return trip export; never assume what changed
A Final Cut updateRun /yt edit test before the next real delivery

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.