AGENT SKILL

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

License 许可
MIT
最近更新
2026-11-14
Stars
★ 202
Forks
70

01 前言 Front Matter

name
skill-maker
license
MIT
description
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).
compatibility
Python 3.9+, standard library only. Runs from the full ai-editor plugin folder (uses its lib/). Testing in a fresh agent needs the Agent tool.

02 资源文件 2

03 SKILL.md 正文

Skill maker

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.

The process follows Anthropic's public skill-creator and its skill-authoring best practices, cut down for video skills. M="${CLAUDE_SKILL_DIR}/scripts/skill_maker.py". Run it with python3 on Mac and Linux, py on Windows.

Copy this checklist and tick it off:

- [ ] 1. Interview done
- [ ] 2. Task run once without a skill, failures noted
- [ ] 3. Three scenarios in evals/evals.json
- [ ] 4. SKILL.md drafted, `check` passes
- [ ] 5. Saved and shown to the user
- [ ] 6. Tested in a fresh agent, pass/fail reported
- [ ] 7. Improved with the user
- [ ] 8. Offered as a style; skill-improver named for later notes

1. Interview

If this chat already shows the workflow ("turn this into a skill"), take the steps, tools and the user's corrections from it and only ask for the gaps. From the Skills page ("Make a new skill", JOB skill-new text=...), the text answers question 1; report each checklist step with home.py status skill-new --step "..." (start/references/home.md). Otherwise ask, one question box at a time:

  1. What it does: Edits a whole video in a look (Recommended) / Adds one kind of visual / Cuts or tightens / Something else.
  2. An example: a video in the library (edits/<name>/), a file path, or a link to a video in the look they want.
  3. What good looks like: two or three things they would check on the result ("captions never cover my face").
  4. The name: offer two short hyphenated names from their words (caption-pop, quick-cuts).

2. Run it once without a skill

Do the task on the example the plain way, without writing a skill. Note each place you guessed, asked, or got it wrong, and anything the user corrected. These notes are what the skill must say; skip what you already did right.

3. Write three scenarios

python3 "$M" new <name>

That makes <skills folder>/<name>/SKILL.md (a template) and evals/evals.json. Fill the evals first, one ordinary request, one edge case, one where the skill should not do something:

[{"query": "make my captions pop on edits/demo", "files": ["edits/demo/cut.mp4"],
  "expected_behavior": ["Reads the user's taste first", "Key word of each caption in yellow", "Nothing outside the safe zone", "Render on the review page"]}]

4. Draft the SKILL.md

Write it from step 2's notes. Read references/cooked-hooks.md for where the edit's files are, how to hand a render to the review page, the safe zone and how to reuse the editor's renderer. Rules:

  • name: lowercase, digits and hyphens, at most 64, no "claude" or "anthropic", same as the folder.
  • description: third person, what it does then "Use when the user says ..." with their own phrases, at most 1024 characters. Name video, edit, reel or clip in the first sentence so cooked.'s style list shows it.
  • Body: only what Claude would not know already, a copyable checklist, a check step with the fix (check, fix, check again), one real example. Under 500 lines; longer detail in references/<topic>.md, linked from SKILL.md, one level deep. A step that is the same every time is a script in scripts/: write "Run X".
  • End with an empty ## Learned rules section (skill-improver fills it).

Then check it and fix every FAIL:

python3 "$M" check <skills folder>/<name>

5. Save and show

The skill is already in its folder (python3 "$M" where prints it). Show the user the whole SKILL.md and the scenarios, and the path.

6. Test in a fresh agent

For each scenario, launch an agent with no memory of this chat (the Agent tool, general-purpose), give it the skill's full SKILL.md path and the scenario's query, and have it do the task (or, with no footage, write each command and what it expects). Grade every expected_behavior line yourself as pass or fail from what it did. Report a table: scenario, pass/fail, why.

7. Improve with the user

Show the failures and what the user thinks of the result. Change the SKILL.md for each failure (a missing step, a vague rule, a check that would have caught it), run check, then test the failing scenarios again. Stop when they all pass and the user is happy, or after three rounds, saying what is left.

8. Hand over

Ask in the question box: Make it a style (Recommended) / Not now. Make it a style: cooked.'s window, Skills > /<name> > Use as a style (or Styles > New style > Use your own skill); every video made with that style runs the skill. Say in one line that notes on later videos go into the skill with skill-improver.

Example

"Make a skill that adds a yellow underline under the word I stress." Interview: adds one visual; example edits/demo; good = underline lands on the word, never over the face. The plain run guessed the stressed word and drew it below the safe zone, so the draft says how to pick the word (asked once per video when the script marks none) and checks a still with the safe-zone box. Scenarios: a normal video, a video with no clear stress, "underline every word" (should push back). Saved as stress-underline, 3 of 3 passing after one round.

Files

  • scripts/skill_maker.py: where, new, check, demo.
  • references/cooked-hooks.md: what a video skill can read and call in cooked.

04 同仓库更多 Skills

nextwork-projects
nextwork-projects/ai-video-editor-cooked

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.

★ 202
nextwork-projects
nextwork-projects/ai-video-editor-cooked

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

★ 202
nextwork-projects
nextwork-projects/ai-video-editor-cooked

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

★ 202
nextwork-projects
nextwork-projects/ai-video-editor-cooked

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

★ 202
nextwork-projects
nextwork-projects/ai-video-editor-cooked

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

★ 202
nextwork-projects
nextwork-projects/ai-video-editor-cooked

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

★ 202