nextwork-projects/ai-video-editor-cooked

skill-maker

Helps the user make their own Claude Code skill for editing videos, step by step.

Voir la source

Mode d’emploi

  1. Copiez la commande et examinez le paquet avant de l’installer dans votre environnement agent.
  2. Consultez le document original pour les outils, identifiants et environnements requis.
  3. Décrivez les entrées et le livrable souhaité ; comparez la sortie aux sources.
npx skills add https://github.com/nextwork-projects/ai-video-editor-cooked --skill skill-maker

Avant de commencer

  • L’installation n’inclut ni abonnement au modèle, ni quota API, ni accès aux fichiers.
  • Étoiles et installations reflètent l’activité, pas un test indépendant de qualité ou de sécurité.
Document Skill original

Rendu depuis le dépôt source en conservant titres, exemples, code, tableaux, liens et images.

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

bash
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:

json
[{"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:

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

Tâches connexes

du même dépôt

Autres Skills

Tous les Skills
nextwork-projects
Communauté

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

installations
2
GitHub Stars
58
Mis à jour
16 oct.
nextwork-projects
Communauté

cut

Cuts raw talking-head footage into a clean jump cut. Takes one take or several joined (mp4 or mov, any aspect, 4K phone footage is fine), transcribes it word by word, removes retakes, false starts, fillers and dead pauses, and renders cut.mp4 at the source resolution plus words.json timed to the cut. The user approves the cut on a page with the whole transcript and every removed word struck through. Use when the user says "cut my video", "just cut it", "remove my mistakes", "cut out the retakes"

installations
2
GitHub Stars
58
Mis à jour
16 oct.
nextwork-projects
Communauté

logo-pack

Builds clean brand-colour logos for every company, app or tool named in a video. Lists the names from the edit's transcript, fetches each brand's own logo (SVG first, else a large PNG) with the editor's logo code, trims it, makes a transparent 512 px PNG beside the SVG, checks each one (official, transparent, sharp, brand colours) and fixes the failures, then notes the logos named together so the edit shows them side by side. Writes the files style-edit already reads (images/logo- .svg|png) plus

installations
2
GitHub Stars
58
Mis à jour
16 oct.
nextwork-projects
Communauté

motion

Builds bespoke motion graphics for an edit, one animated clip per beat (HyperFrames + GSAP), each designed for its line and landing on the spoken word, then lays them on the footage through the style-edit render. Picks the beats that need motion (a count, a list, a flow, a before and after, a run, a mechanism), writes a brief per clip, runs one clip-builder agent per clip at once, gates every clip (lint, layout, render, a frame-to-frame motion check, contact sheets), and falls back to the templa

installations
2
GitHub Stars
58
Mis à jour
16 oct.