skill-improver
Turns the feedback on a finished video into lasting rules in the style or skill that made it. Collects the video's notes (review-page notes, preview fixes, chat corrections), keeps only the ones meant for every future video, finds the style or skill behind the edit, checks for a similar rule and sharpens it instead of adding a twin, writes each rule as one short line with its reason and date, shows the exact lines and file, and saves only after the user says yes. A skill style (style.json "skill") gets the rules in that skill's SKILL.md under "## Learned rules" with a short log; a settings style gets them in its own rules and overrides. Runs the review page's "Teach your style from this video". Use when the user says "teach my style from this video", "turn my notes into rules", "make this feedback stick", "update my editing skill from this video" or "learn from this video's notes". Not for one correction said in the moment (taste), and not for fixing the editor for every user (improve).
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 202
- Forks
- 70
01 前言 Front Matter
- name
- skill-improver
- license
- MIT
- description
- Turns the feedback on a finished video into lasting rules in the style or skill that made it. Collects the video's notes (review-page notes, preview fixes, chat corrections), keeps only the ones meant for every future video, finds the style or skill behind the edit, checks for a similar rule and sharpens it instead of adding a twin, writes each rule as one short line with its reason and date, shows the exact lines and file, and saves only after the user says yes. A skill style (style.json "skill") gets the rules in that skill's SKILL.md under "## Learned rules" with a short log; a settings style gets them in its own rules and overrides. Runs the review page's "Teach your style from this video". Use when the user says "teach my style from this video", "turn my notes into rules", "make this feedback stick", "update my editing skill from this video" or "learn from this video's notes". Not for one correction said in the moment (taste), and not for fixing the editor for every user (improve).
- compatibility
- Python 3.9+, standard library only. Runs from the full ai-editor plugin folder (uses its lib/).
03 SKILL.md 正文
Skill improver
Paths: ${CLAUDE_SKILL_DIR} means the folder containing this SKILL.md, and ${CLAUDE_PLUGIN_ROOT} the plugin folder two levels above it.
Every question to the user goes in the question box: call the AskUserQuestion tool (2-4 options, the recommended one first). Only in an agent without that tool, ask numbered questions in text.
taste saves one correction the moment the user says it. This skill works on a whole finished video: it reads every note, keeps the lasting ones and writes them into the style or skill that made the video.
K="${CLAUDE_PLUGIN_ROOT}/lib/ai_editor/skillrules.py", R="${CLAUDE_PLUGIN_ROOT}/lib/ai_editor/review.py",
T="${CLAUDE_PLUGIN_ROOT}/skills/taste/scripts/taste.py". Run them with python3 on Mac and Linux, py on Windows.
Copy this checklist and tick it off:
- [ ] 1. Notes collected
- [ ] 2. One-offs left with the video
- [ ] 3. Target found
- [ ] 4. Each rule checked for a twin or a conflict
- [ ] 5. Lines shown, user said yes
- [ ] 6. Saved, log written
1. Collect the notes
- Review-page notes and your replies:
edits/<name>/review.json(comments). After the final approve,wait'sLEARN:block already lists them. - Hands-on edits:
edits/<name>/corrections.jsonl(from,to).LEARN:sums them up already ("moved 4 of 5 cards up by about 12% of the frame [visuals]"): word each as a rule, keep a[set ...]as itsset. - Corrections the user typed in this chat about this video.
2. Keep only notes for every future video
A note about one moment stays with the video. A note about how edits should look becomes a rule.
| note | rule? |
|---|---|
| "cut the um at 0:12" | no: one moment |
| "the Notion card covers my chin" (said twice) | yes: "Cards sit above the chin, never over the face" |
| "captions are tiny again" | yes: "Captions one size bigger" (with set captions.size_pct when the settings table in taste maps) |
| "wrong logo for Jev" | no: one asset (the logo-pack skill fixes it) |
Write the behaviour, not the instance: "Cards fill the space they have", not "make the router card bigger".
3. Find the target
python3 "$K" target edits/<name>
"kind": "skill"with apath: a skill style. Rules go into that SKILL.md under## Learned rules. Nopath: the skill is not in the user's skill folders; say so and stop. A skill inside a plugin is never written (an update replaces it); save those rules with taste instead."kind": "settings": rules go to that style (stylepath) or, withstylenull, to My style, throughstyleskill.learn(rules.json,style.overrides.json, and the style's own skill rebuilt).
4. Check for a twin or a conflict
Skill style: python3 "$K" similar <SKILL.md> "<rule>" lists the learned rules that look alike.
Settings style: python3 "$T" report lists the rules saved so far.
- Same meaning, vaguer: sharpen the old line (
replace), never add a second one. - Opposite meaning ("logos bigger" vs a saved "logos small"): ask in the question box which wins, quoting
both:
The new note (Recommended)/The saved rule. Keep only the winner (replace). Never keep both. - Nothing alike: a new line.
5. Show the lines, then ask
Each rule is one line: the rule, Why: the reason, and the date. Example, note to line:
note: "the logo is on my face again" (rounds 1 and 2)
line: - Logos sit beside the head, never over the face. Why: two notes said a logo covered the chin. (2026-10-13)
file: ~/.claude/skills/my-edit/SKILL.md, ## Learned rules
Show every line exactly as it will be saved and the file it goes in. Then ask in the question box:
Save these (Recommended) / Change one / Don't save. Save nothing before the yes.
6. Save
From the review page (the final approve's "Teach <style> from this video" panel): post the rules, and the boxes the user ticks are the yes:
python3 "$R" edits/<name> learn --propose '[{"rule": "Logos sit beside the head, never over the face", "section": "visuals", "why": "two notes said a logo covered the chin", "replace": "Logos beside the head"}]'
python3 "$R" edits/<name> learn --done # after `wait` prints the ticked rules
why and replace are optional; set (a taste setting) only for a settings style. to says where each rule
goes: one id from the LEARN prompt's list (a style, or a skill as skill:<name>), shown pre-picked on the page. --done writes a skill
style's rules into its SKILL.md and a settings style's through styleskill.learn. A round's
learn --scope this-style does the same for a skill style (the note is the reason).
Each saved rule shows on the review page as a receipt, "Saved to <style>: <rule>. Undo", and on the style's
page under "Learned rules" with its day and the video it came from, where the user can Remove it. Undo and
Remove take the line out again (taste.py forget, skillrules.py remove); never put it back by hand.
From the Skills page ("Improve with feedback", JOB skill-change): no video, only the user's words. Steps 3-6
the same; the target is the path= the job names. start/references/home.md has the status lines.
From the chat, after the yes:
python3 "$K" add <SKILL.md> "<rule>" --why "<reason>" [--replace "<old rule>"] --edit edits/<name> # skill style
python3 "$T" add <section> "<rule>" [--set key=value] --style <style.json> --edit edits/<name> # settings style
python3 "$T" add <section> "<rule>" [--set key=value] --edit edits/<name> # My style
add prints duplicate when the same rule is already there (nothing written), sharpened when it replaced
one, added otherwise. It also appends one line to ## Log at the end of the SKILL.md (the last 20 kept).
A settings style's log is rules.json: taste.py report shows each rule's count and dates.
Tell the user in one line what was saved and where.
Files
${CLAUDE_PLUGIN_ROOT}/lib/ai_editor/skillrules.py:target,similar,add,remove,list,demo.${CLAUDE_PLUGIN_ROOT}/lib/ai_editor/review.py:learn --propose/--done(the Teach panel).${CLAUDE_PLUGIN_ROOT}/lib/ai_editor/styleskill.py:learn, a settings style's rules and skill.
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).
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).