/motion:9k-trial-reelsfrom motion
Use when Ismail (ismail9k / 9k) hands over a raw talking-head take, often a reaction or commentary on a show, podcast or interview clip, and wants it trimmed with the silence removed, turned into three versions (Instagram trial reels, A/B/C tests of one short), and given a cover. Triggers include "trim this and make three versions", "trial reels", "3 versions", "اعمل منه تلات نسخ", and "then make the cover".
Ships in motion. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
One raw take in. Out come three finished versions of the same short and a cover. There are three gates, and he approves each one before the next starts:
You ask nothing before gate 1: decide, build the cut, show it. This skill orchestrates and fills the gaps between existing skills; it doesn't replace them:
<source folder>/
IMG_xxxx.mov, <reference clips> sources, never touched
<yymmdd>-<slug>/ THE live project (edit and render here; not an archive copy)
<yymmdd>-<slug>-A.mp4 -B.mp4 -C.mp4
<yymmdd>-<slug>-cover.png
yymmdd is today and slug is 2–3 words of the topic, for example 261121-shark-tank. He renames the files if he
wants. One file per version: a new render replaces the delivered one, and the old one goes to the Trash. No
-v2, no -v3. Loose working files go inside the project (source-notes/).
bash <montage>/scripts/new-montage.sh "<video>" "<source folder>/<yymmdd>-<slug>" # <montage> = 9k-montage skill dir
cd "<source folder>/<yymmdd>-<slug>" && node scripts/ingest.mjs --lang ar
Run node scripts/takes.mjs and read work/takes.md (one line per spoken stretch, each transcribed on its own: the whole-file transcript drifts on a take with long pauses). Put retakes and false starts in edit.json → cut.drop, keeping the corrected take, and
set tail: 0. Silence is cut from the measured audio, never from word gaps (9k-montage craft §2). Then:
node scripts/cut.mjs # → work/keep.json, work/cut.mov
# prove it reads as one pass before showing it: re-transcribe work/cut.mov's audio (9k-montage craft §2)
node <skill>/scripts/cut-review.mjs # → hf/cut-review: one clip per kept piece, labelled
cd hf/cut-review && npx --yes hyperframes@latest preview --background
Show him: the Studio link, the length before → after, and the dropped retakes, one line each. Tell him how to correct the cut: drag a clip's edge to trim it, delete a clip to drop it, and don't worry about gaps, because they get closed. STOP until he says the cut is right.
When he's done, he may have edited in Studio:
node <skill>/scripts/read-cut.mjs # his edit → work/keep.json; prints every removed/added range WITH its words
node <skill>/scripts/recut.mjs # → hf/shared/assets/vo.mp4, frame/sample exact; relinks version copies
cp work/keep.json work/keep.built.json # the cut every time in build.mjs is written against
Read back what he removed as one short list, so a slip shows up before you build on it. read-cut.mjs labels a range
with the drifted words around it, so a trimmed pause can print as "شغلك وما". Before you report lost words,
re-transcribe that stretch of the new vo.mp4.
Hooks. List every hook he recorded (a line that could open the film) and keep them all in the cut: each version opens on a different one. If he recorded fewer hooks than versions, the extra version opens on his first instruction line (for example "open X and type Y") with a typed title stamp.
If he checked the cut in a 9k-montage studio/ project instead of hf/cut-review, read-cut.mjs does not read it: diff
studio/index.html against studio/.hyperframes/backup/, put each changed clip's range into work/keep.json
yourself, then run recut.mjs.
Light. If he asks to fix the light between the gates, follow 9k-montage craft §1 "Light" and save the approved
filter chain in work/grade.txt. recut.mjs cuts from the original take and bakes that file in; without it the
voiceover goes back to the ungraded picture. If versions already exist, run recut.mjs again, then render, vocheck.py
and deliver.sh for each. The chain is for SDR takes; on an HDR take (HLG/PQ) say so and tone-map first, never apply it as is.
All three use the same approved cut. They differ in structure: which blocks and reference clips go in, the order, the hook and the look. Caption style or polish alone is not a different version.
| A: full story | B: controversy first | C: explainer | |
|---|---|---|---|
| Opens on | the reference clip's most provocative line + a hook stamp | the claim he disputes, then his strongest rebuttal | him to camera asking the question (typed hook) |
| Content | everything, in order | rebuttal first, explainer after; shorter | drops the part that only makes sense with the reference |
| Look | punch 1.06; reference clips centred alone, or split | punch 1.10, faster SFX | his footage mirrored (reference clips never: burned-in text) |
Reference clips: transcribe the reference video (whisper-cli, words on), pick the lines he is reacting to (the
claim, the provocative number, the line his rebuttal answers), and cut each one to hf/shared/assets/c<n>-<topic>.mp4
with ffmpeg -ss <in> -to <out> (re-encoded, 9:16 centre crop or full 16:9 for the top panel). Then measure each
clip's LUFS for CLIP_LUFS. Keep the clip and the sentence whole: never start or end one mid-word.
Blocks come from the 9k registry first (<motion repo>/registry/README.md; it lists every block's variables).
Install them once with node <motion repo>/registry/install.mjs hf/shared, which brings every block, both components
and the fonts. build.mjs copies shared/compositions/ into every version. To pick up a registry change later, run
the same command again: it updates unedited files and keeps ones you edited. That gives you 9k-captions, 9k-hook-stamp, 9k-band,
9k-kicker, 9k-number-roll and 9k-verdict, plus 9k-split-layout for the host. Wire each block as a host with
data-variable-values. Write a custom scene in build.mjs only for a beat no block covers. If that beat will come back
in later films, add it to registry/src/items.mjs instead.
The installer brings no SFX. Copy the house set (pop-hand, fast-whoosh, mouse-click-2, dull-thud,
keyboard-typing-realistic, notification-ding, sideways-record-needle, bass-impact) from the last film's
hf/shared/assets/sfx/ (mdfind -name fast-whoosh.wav) into hf/shared/assets/sfx/.
A reel with no reference video (his own script, his own b-roll) keeps the three-version rule but not the
reaction layout. Read references/build.md → "A talk with b-roll" before you plan it.
Copy the template that fits to hf/build.mjs: templates/build.example.mjs for a reaction reel, or
templates/build.broll.mjs for a talk with b-roll (it has the full, broll, card, split and tags layouts). Rewrite its
content and keep its machinery. Read references/build.md first. Then run node build.mjs. Write the A/B/C
table into docs/plan.md. It is a record, not an extra gate: build straight away.
House rules for every version:
mirror: true on C flips only his footage. B-roll, reference
clips, cards, captions and graphics stay unflipped. Tell him which burned-in text in his shot reads backwards (mic logo).nowrap, stack inset 60 px): run node <skill>/scripts/capwidth.mjs after every build and shorten any line it flags. They stay inside
the safe band (y 288–1248); the one exception is the band under a full-frame b-roll cutaway (y 1180–1320, still above
the platform UI).references/build.md →
"A talk with b-roll".Verify each version before showing anything. <pin> is one HyperFrames version for the whole project: the latest at
the first build. Write it into each version's package.json and keep it for every later render.
cd hf/A && npx --yes hyperframes@<pin> check # 0 errors (line_unread and outside_safe_zone warnings are expected)
npx --yes hyperframes@<pin> snapshot --at <hook>,<each block cut>,<each scene mid> --no-end -o ../../out/snapA # LOOK at the contact sheet
Render in parallel, one subagent per version (he asked, Nov 2026): dispatch A, B and C at once. Each subagent runs, from its version folder:
npx --yes hyperframes@<pin> render -q delivery -o ../../out/final-<V>.mp4
ls -la ../../out/final-<V>.mp4; ffprobe -v error -show_entries format=duration -of csv=p=0 ../../out/final-<V>.mp4 # exists, full length
cd ../.. && /usr/bin/python3 <skill>/scripts/vocheck.py hf/<V>/index.html out/final-<V>.mp4 # must print ✓ (needs numpy: the system python has it, Homebrew's may not)
A render can print "Render complete" and exit 0 yet leave no file, so the subagent checks that the file exists and reports its length and the vocheck line. When all three have reported, the main session runs:
ffmpeg -nostats -i out/final-A.mp4 -af ebur128 -f null - 2>&1 | grep ' I:' | tail -1 # the mix; report it, it is not the voice proof (see below)
bash <skill>/scripts/deliver.sh . # finals next to the source
The mix's integrated LUFS reads a few dB above vo.mp4 once clips and SFX are in, so it does not prove his voice is
untouched. Pick one voiceover clip with no SFX, clip or b-roll over it; its data-media-start is the time in vo.mp4 and its
data-start the time in the render. Run ffmpeg -ss <t> -t <len> -i <file> -af volumedetect -f null - on both: the
mean_volume values must agree within 0.2 dB.
Show him: the three files, one line each on how they differ, and their lengths. STOP until he approves, or
apply his notes and re-verify.
After approval only (he may approve by asking for the cover). The cover always runs in its own subagent (he
asked, Nov 2026), which follows 9k-reel-cover (installed locally it may be named reel-cover-generator). The
subagent cannot ask him, so it picks the title, subtitle and tag itself and reports two alternatives he can swap in.
Brief it with what the reel says, the hooks the versions open on, and the source paths:
[ ]. Wrap Latin text that starts with a symbol
(/insights, ~/.claude) in U+2066…U+2069 (LTR isolate), or right-to-left order turns it into insights/.<project>/cover/, then save the final as cover/cover.png and run deliver.sh again.hf/, work/ and out/final-*, and runs deliver.sh only if all three finals exist.With the cover, offer a short post caption: 1–2 Arabic lines plus 2–4 hashtags.
| He… | Do |
|---|---|
| trims the cut again (cut-review or in words) | read-cut.mjs, recut.mjs, then node build.mjs, which remaps every time onto the new cut. Fix caption lines that lost words (VO_FIX), then check, snapshot the cut beats, render, vocheck.py, deliver.sh |
| edited a version in Studio / the HyperFrames desktop app | run npx hyperframes catch-up in that version folder and read .hyperframes/backup/. Put his edit into build.mjs before the next node build.mjs, which overwrites the version |
| asks to mirror a version | mirror: true on that variant flips only his footage (scaleX(-1) on the voiceover clips). B-roll, clips, captions and graphics stay as they are. Then node build.mjs <V>, check, render, vocheck.py, deliver.sh . <V>, and tell him which burned-in text now reads backwards (mic logo, keyboard) |
| has a Studio tab open while you regenerate | it can save its stale copy over yours. Hash the files after building, and re-check before rendering |
| asks to render again | first check whether anything changed since the last render (file times, catch-up). If nothing did, say so |
| Thought | Reality |
|---|---|
| "I'll write a hook / band / number-roll scene for this film" | Use the 9k registry block and set its variables. Hand-written copies drift from the house style |
| "I'll show a segment table and he edits cut.json" | He corrects the cut by dragging clips in Studio. Give him hf/cut-review |
| "Normalize to −14 LUFS / speed him up a little" | His voice stays as recorded. Only reference clips get gain and 1.2x |
| "The reference clip is just context, not in the reel" | In a reaction reel, the reference clips are the hook and the B-roll |
| "There's no reference video, so the three-version table doesn't apply" | It does: full story, punchline first, the short one. references/build.md → "A talk with b-roll" |
| "The b-roll is finished, I'll lay it under his voice as it is" | Re-time it to his word times and keep a clear band for captions first |
| "Three versions = same edit, different caption styles" | Different structure: hook, order, what's in |
| "The snapshots look right, so the render is right" | Snapshots can't hear. A stale voiceover looks identical. vocheck.py on every render |
| "I replaced vo.mp4 in shared/, the versions use it" | They are hard links to the old file. recut.mjs relinks; vocheck.py proves it |
| "Keep v1, deliver this one as -v2" | One final per version. deliver.sh sends the old one to the Trash |
| "Put the project in ~/films or an edit/ folder" | <yymmdd>-<slug>/ inside the source folder, as the live project |
| "Make the cover now while the versions render" | The cover comes after he approves the versions |
| "I'll render A, B, C one after another here" | One subagent per version, in parallel. The cover gets its own subagent too |
| "The render printed Render complete, so the file is there" | Check the file exists and its length before vocheck and deliver |
| "It's a 60px caption, it wraps to two lines, fine" | One line per Arabic chunk, at 52px. capwidth.mjs proves it |
| "The screen recording goes in as it is, full frame" | Crop it to the app window with broll.py so the UI is readable above the captions |
| "Quick question about titles/structure before I cut" | No questions before gate 1. Decide; the gates are where he corrects |
| "Regenerate to apply my fix" (after he used Studio) | catch-up first. Regenerating erases his edit |
| Step | Command (project root) |
|---|---|
| scaffold + ingest + cut | new-montage.sh, ingest.mjs --lang ar, cut.mjs (9k-montage) |
| cut-review project | node <skill>/scripts/cut-review.mjs |
| his trim → keep list | node <skill>/scripts/read-cut.mjs |
| voiceover from keep | node <skill>/scripts/recut.mjs |
| screen recording → b-roll | /usr/bin/python3 <skill>/scripts/broll.py <rec> <in> <out> <rate> hf/shared/assets/br-<name>.mp4 [skip] |
| build versions | cd hf && node build.mjs (from templates/build.example.mjs or build.broll.mjs) |
| one-line captions | node <skill>/scripts/capwidth.mjs |
| render | one subagent per version, in parallel |
| audio proof | /usr/bin/python3 <skill>/scripts/vocheck.py hf/A/index.html out/final-A.mp4 |
| deliver | bash <skill>/scripts/deliver.sh . |
| cover | its own subagent: 9k-reel-cover → cover/cover.png → deliver.sh |
| frames of any video | ffmpeg -i <v> -vf "fps=1/4,scale=240:-2,tile=7x3" -frames:v 1 sheet.png (9k-montage lib/sheet.mjs can exit silently with no file) |
references/build.md (opens in a new tab)scripts/broll.py (opens in a new tab)scripts/capwidth.mjs (opens in a new tab)scripts/cut-review.mjs (opens in a new tab)scripts/deliver.sh (opens in a new tab)scripts/read-cut.mjs (opens in a new tab)scripts/recut.mjs (opens in a new tab)scripts/vocheck.py (opens in a new tab)templates/build.broll.mjs (opens in a new tab)templates/build.example.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
4 skills in this plugin
/9k-montageUse when a creator hands over a video of themselves to edit in the 9k house style (ismail9k / 9k) — "do the montage", "edit this video", "مونتاج", "cut this", "add captions / motion graphics / zooms / SFX to my video", "package my short" — whether it's raw takes or a rough cut, a 9:16 short or 16:9 long-form. Use this instead of 9k-motion whenever existing talking-head footage is the input: it owns the editing judgment, and HyperFrames builds and renders what you see./9k-motionUse for any motion graphic in the 9k house style (ismail9k / 9k / the9klabs) — animation, animated segment, title card, lower third, intro, outro, end card, launch video, product promo, ad, showreel or explainer clip, whether it goes inside a 9k video or promotes a product. Also use when someone says "animate this", "make a promo", or "motion design" in a 9k project. Runs before hyperframes, remotion-create or motion-design. When existing footage of the creator is handed over to edit (montage, captions, cuts), use 9k-montage instead.Other plugins' skills for the same job
/9k-reel-coverUse when a creator wants an Instagram Reel / Short cover or thumbnail (9:16) for a script or a video of themselves in the 9k house style (ismail9k / 9k) — "make a reel cover", "cover for this video", "thumbnail for my short", "غلاف الريل", "cover للسكريبت". Agrees on a title and subtitle, relights one real frame of the video with Codex image generation into the 9k dark studio, then typesets the cover from a fixed template, so every cover on the grid looks like one series and none of the text is AI-drawn.Generated from the plugin's indexed repository (ismail9k/motion) — no native marketplace selected
npx claudepluginhub p/ismail9k-motion