start
The front door of cooked. Takes the user's video and a few multiple-choice answers (platform, creators to copy and what to take from each, audience, brand kit, own photos, names, what to avoid, captions, sound), saves them once to a profile, then runs the whole edit in order (setup if a tool is missing, creator-teardown for a new creator, cut, style-edit) so the user only drops a video, answers, approves the cut and approves the stills. Use when the user says "edit my video", "edit this like @creator", "make my video look like @creator", "make this look like <creator>'s videos", "I want my videos edited", "start", "new video", drops a video file or pastes any link (video, Drive or Dropbox share, creator profile, website, podcast) with no other instruction, or asks how to use the editor. Not for one step named on its own (only cutting is cut, only analysing a creator is creator-teardown, a correction is taste, styling an existing cut is style-edit).
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 202
- Forks
- 70
01 前言 Front Matter
- name
- start
- license
- MIT
- description
- The front door of cooked. Takes the user's video and a few multiple-choice answers (platform, creators to copy and what to take from each, audience, brand kit, own photos, names, what to avoid, captions, sound), saves them once to a profile, then runs the whole edit in order (setup if a tool is missing, creator-teardown for a new creator, cut, style-edit) so the user only drops a video, answers, approves the cut and approves the stills. Use when the user says "edit my video", "edit this like @creator", "make my video look like @creator", "make this look like <creator>'s videos", "I want my videos edited", "start", "new video", drops a video file or pastes any link (video, Drive or Dropbox share, creator profile, website, podcast) with no other instruction, or asks how to use the editor. Not for one step named on its own (only cutting is cut, only analysing a creator is creator-teardown, a correction is taste, styling an existing cut is style-edit).
- compatibility
- Python 3.9+, standard library only for the intake. The steps it runs need what the setup skill installs. Runs from the full ai-editor plugin folder (uses its lib/).
02 资源文件 2
- 参考文档references/home.md26.4 KB
- 参考文档references/intake.md5.7 KB
03 SKILL.md 正文
Start
Paths: ${CLAUDE_SKILL_DIR} means the folder containing this SKILL.md, and ${CLAUDE_PLUGIN_ROOT} the plugin folder two levels above it.
Read ${CLAUDE_PLUGIN_ROOT}/PRINCIPLES.md first: the rules every video follows (where, asking, looking real, motion, story, privacy, cost).
Every question goes in the question box: the AskUserQuestion tool (2-4 options, recommended first). Only in an agent without it, ask numbered questions in text. Attached images: <paths> in an answer: Read each first.
The user's whole job: drop a video, answer a few questions, approve the cut, approve the stills, both on the review page. Everything else is this skill's job.
P="${CLAUDE_PLUGIN_ROOT}/lib/ai_editor/profile.py". Run it with python3 (py on Windows).
First run (the session-start line says so, or setup.py doctor --quiet prints a line): the
setup skill's step 0 first (window, then installs in the background), then carry on here.
0. Links first
If the message has any link, @handle or file path, route it before anything else. Never ask what a link is; the classifier knows.
L="${CLAUDE_PLUGIN_ROOT}/lib/ai_editor/links.py"
python3 "$L" route "<the user's whole message>" [--own]
--own only when the user says the video link is theirs ("my video", "I posted this"). It prints a list, already in the order to handle it: questions, creators, own footage, long
videos, websites, music. Each item has a kind:
| kind | do |
|---|---|
ask |
One question box for all ask items together (at most four): each item's question word for word, its options labels in order, the first marked "(Recommended)". The answer becomes the kind. |
creator |
creator-teardown quick mode on handle and platform (no platform: ask, TikTok first). With urls, write them to picks.txt and use list <handle> --urls picks.txt. Save it as the profile creator. |
own |
python3 "$L" fetch "<url>" edits/<name> (name is in the item). It prints the file path; that is the video for step 1. |
long |
the clips skill, with this link as its source. |
product |
the product-video skill with this URL. A plain website (not a video site, file or share link) is always product, even after "edit my video": go straight to its brief, with no "did you mean your own footage" line. |
music |
the music question with rights (style-edit, or product-video's music step). |
unsupported |
say its note to the user, word for word, and go on with the rest. |
An item with a note (Instagram profiles, Spotify, app stores, OneDrive): say the note once.
fetch exit 3 means the site wants a login: ask in the question box "Use your browser's login for
this one download?" (No, I'll download it myself (Recommended) / Yes, Chrome / Yes, another
browser), and only on a yes re-run with --cookies-from-browser <browser>. Exit 1: say its message.
Only download what the user may edit; a creator's video is for the teardown, not to re-edit.
1. The video
"Open the home page" (nextwork-editor, /ai-editor:start), "listen for jobs", "take job <id>", "carry on <edit>": references/home.md. No video,
link or creator (a bare "edit my video"): ask Open the home page (Recommended) / I'll give
the path / Use the sample take (cut's "No video yet?"). Edit folder: IMG_1234.MOV -> edits/img-1234.
2. Intake: ask nothing the profile or style answers
python3 "$P" missing --style # answered at setup, or by the style picked in the window
A JOB video (the window picked the style), "just edit it", or no id printed: run python3 "$P" defaults
and ask nothing. It keeps every saved answer and fills the rest with the first option (audience "people
curious about the topic", goal follow, names found in what they say). Post no status about defaults: the
review page shows an audience only when the user gave one (review.py <edit> status "For <their audience>").
Otherwise read references/intake.md and ask the printed ids in one question box. Profile: python3 "$P" show.
3. Route
Do each step in order, skipping what is already done. Read each skill's SKILL.md before its step.
- setup, if any step fails because a tool is missing (
setup.py doctorsaysFIX). - creator-teardown in quick mode (its SKILL.md "Quick mode") for every profile creator without
creator-teardowns/<handle>/style.json. Say the time first (about a minute per creator). Run several creators in parallel when the platform allows. - Blend the style:
python3 "$P" style edits/<name>writesedits/<name>/style.jsonfrom the parts the user ticked for each creator, with the caption and sound answers laid over (no creator: the default style). It prints the copied style's skill (skill: edit-like-<h> -> <path>): read it and follow its learned rules through the cut and the edit.no creator style.json found: run step 2 again. - cut on the raw take, from its step 0b (start decided: cut, wait for the cut page approval, then style). The user approves the cut page. This is approval 1 of 2.
- style-edit with
edits/<name>/style.json. Renders on the cut's approve; the edit is approval 2. It reads the profile itself: a brand kit sets the look (say "Using your brand kit"),namesget real logos and captures,assets_dirimages go first,avoidis enforced by plan.py. Letterbox (wide take, title on top): cut--max-pause 0.5,--layout letterbox.skill=<skill>on the job: step 5 is that skill, not style-edit (references/home.md, Skill style).
Between steps say one line about what is next. Never ask the user to do a step the skill can do.
4. After
The render is handed over on the review page (style-edit step 8). Corrections go to the taste skill; a change of brand, creators or platform goes back into the profile with
python3 "$P" set ....
04 同仓库更多 Skills
creator-teardown
Reverse-engineers a short-form creator's video format from their real numbers. Pulls a TikTok or YouTube Shorts profile (or pasted links, Instagram reels too) with view, like and save counts, transcribes the top videos word for word, measures pace, pauses and fillers, maps each video into timed beats, and writes a teardown.md someone can film from, a teardown.html page of their graphics, motion and sound, and the style.json the ai-editor plugin edits from (on its own it can write an edit plan as a table and .srt). Use when the user wants to analyse, break down or study a creator ("analyse @handle", "tear down @handle", "teardown of @handle", "break down this creator", "what makes this creator's videos work"), pastes TikTok, YouTube or Instagram links and asks what the pattern is, or asks to set up creator-teardown. Not for editing the user's own video like a creator when ai-editor is installed (its start skill), not for researching a topic, and not for cutting raw footage.
update
Updates cooked. to its newest version. Works out how it was installed and does the right thing for each. The official plugin from the marketplace gets the plugin update commands for ai-editor and creator-teardown. A fork the user owns (the power-user route, where they change the editor's own code) gets its new versions pulled from nextwork-projects/ai-video-editor-cooked and merged with their changes kept, after a backup branch, then the fast self-checks, with a rollback if they fail. A plain clone gets the fork route in three steps. Use when the user says "update the editor", "get the latest version", "sync my fork", "pull the new version", or asks how to stay up to date after changing the editor's code. Not for changing a style or a setting (that is taste or the home page), and not for maintainers turning feedback into fixes (that is improve).
trial-reels
Makes Instagram Trial Reels of a reel the user already made or posted. A trial reel is a re-cut of the same take, never the posted file again. Names the video's type first (story, list or pitch), because that decides what may change, then makes 2-4 versions that each look like a different video at a glance (their own hook, start point, opening, overlays, caption look and sound), every element inside the Reels safe zone, all in the user's own style. Each version goes on the review page as a trial, and only the ones the user names are posted as Trial Reels through post.py, spread over the day. Use when the user says "trial reels", "make trial reels of this", "a few more versions of this reel", "post the trial reels", "test other hooks on this", presses Make on the review page's Trial reels tab, or `wait` prints TRIALS. Not the main edit of a new video (start, cut, style-edit), not clips from a long video (clips).
taste
Remembers how the user likes their videos edited, so they never give the same correction twice. Saves every correction or preference about an edit (the cut, captions, visuals, sound, layout) into ~/.ai-video-editor/taste.md as a plain rule, and into taste.json when it maps to a setting the scripts read (pause length, fillers, caption size, words per caption, zooms, sound, layout), deduplicated, scoped to every video or just this one, and counted when applied; one that would help everyone goes to the maintainers. Every other cooked. skill reads both before it starts. Use whenever the user reacts to an edit ("too slow", "captions are too small", "fewer zooms", "I hate the whoosh", "that's perfect, keep it like that"), and when they ask "what do you know about my taste", "show my settings", "forget that rule" or "are you learning". Also learns how they cut from a raw take and their posted version ("I already edit by hand", "learn from my edit"). Not for a finished video's notes as a batch (skill-improver).
style-edit
Turns an approved cut into the finished video in a creator's measured style. Takes cut.mp4 from the cut skill plus a style.json (from start or creator-teardown), plans captions and zooms to match the creator, adds visuals timed to the spoken word (the user's own images, real screenshots, posts and logos of what is named, the line marked on the real page; no type cards, stock icons or emoji), shows the stills on the review page for approval, then renders 9:16 or 16:9 with Remotion on the laptop, Modal, GitHub Actions or the user's AWS Lambda, and can export the edit to Final Cut, Premiere, Resolve or CapCut. Use when a cut already exists and the user says "style it", "now add the style", "add captions and zooms", "add my images to the video", "render the edit", "change the captions", "export to Final Cut" or "send it to Premiere". Not for a raw take or a first request to edit a video like a creator (that is start), not for cutting mistakes out (cut), and not for measuring a creator (creator-teardown).
skill-maker
Helps the user make their own Claude Code skill for editing videos, step by step. Interviews them briefly (what the skill does, an example video, what good looks like), runs the task once without a skill to see what goes wrong, writes three test scenarios, drafts the SKILL.md to the skill-authoring guide (clear name, a description that says what and when, a checklist, a check-and-fix loop, one example), saves it to their skills folder, tests it against the scenarios in a fresh agent, and improves it with them. Skills made here plug into cooked. (the edit folder, the review page, the safe zone) and can run as a style. Use when the user says "make a skill", "create a skill", "turn this into a skill", "help me write a skill" or "build my own editing skill". Not for adding rules to a skill that exists from a video's notes (skill-improver), and not for copying a creator's style from their videos (creator-teardown).