/dissect:dissectfrom dissect
Reverse-engineers online videos into frame-accurate blueprints for recreating their style, editing, and motion. Measures cuts, motion, palette, beat grid, sound cues, and more.
Ships in dissect. 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.
Turn a reference video into a blueprint that a person or an AI can follow to make a new video in the same format, then check the new video against the reference. Three parts:
scripts/dissect.py downloads the video and measures it frame by frame: every cut and transition (type and length in frames), hidden cuts inside shots, camera and element motion with numbers, on-screen text with times, boxes and cap heights, palette and brightness over time, the beat grid, sound cues and loudness, the transcript with word timings and the voice. It draws four kinds of labelled frame sheets and writes measured.md, the measured blueprint sections ready to paste.dissect.py check <render> --ref <folder> scores a rebuild against the reference and prints concrete fixes in frames.Rebuilds from v2 blueprints score far closer to the original than from v1 (62 → 82 out of 100 on the same brief), and the builders said the frames mattered most: one frame per shot and the transition strips. So look at the sheets, and ship them with the blueprint.
One or more links or file paths, optionally with quick or deep (as /dissect, they arrive as $ARGUMENTS). No link: ask for one.
uv run <this skill's folder>/scripts/dissect.py "<link or file>" [--depth quick|standard|deep] [--out <folder>]
./dissections/<date>-<platform>-<title>/ unless --out or $DISSECT_OUT sets a folder. The script prints a JSON summary with the folder, sheets_in_reading_order, measured, timeline and the draft path to write. Progress goes to stderr. Run it in the background for anything over a minute and wait for it.quick for batches of 4+ (~36 shot frames, 48 timeline tiles, base model, OCR every other sample). standard is the default. deep for maximum detail on a short video (more tiles, more transition strips, medium model).--timeline-minutes N); --no-timeline skips it and gives the v1 output only.--max-minutes N).--lang hi (or es, pt, ...) if facts.md shows the wrong language.uv: run python3 <skill>/scripts/doctor.py. It checks every requirement and prints install commands. Ask before installing anything.AVFFrameReceiver being implemented twice (two bundled copies of ffmpeg's device library) can be ignored.If the download fails, the JSON gives the reason (status) and what to do (fix); references/downloading.md has platform notes.
--cookies-from-browser chrome (or their browser).facts.md in full: platform stats, pace, speech and voice, sound, audience signals, the shot list with what's said in each shot, the transcript, and a "Timeline" summary.measured.md in full. Its first block, Timing facts, lists every cut, continuous boundary, change inside a shot, fade and brightness step in frames; every claim you write about timing must agree with it. Aspect conversions says what a centre crop to other aspects keeps. The other blocks (shots, sheets, camera, transitions, type, palette, brightness, speech, sound) go into the blueprint verbatim.data/timeline.json when you need a detail the tables leave out (per-shot speed curves, element tracks, all text reads, every beat). Its notes say what is uncertain.Read them with the Read tool. Every tile is labelled with its shot, time and frame (S3 0:04.2 f126).
sheets/hook.jpg: the first 3 s at 0.25 s steps (deep: 5 s at 6 per second). What the viewer sees before deciding to stay.sheets/shots*.jpg: one frame per shot, from its middle; S7+ = just after a change inside shot 7; S7? = after an uncertain change (a cut, or just shake, smoke, a flash). This is the film's picture vocabulary: framing, type, materials, layout.sheets/transitions-*.jpg: 14 consecutive frames around each transition and change inside a shot, the change frame outlined, titled with the measured type and length. This is how the moves are actually built: the blur on a whip, the frames of a dissolve, a mask, a dip to black, a morph. Trust what you see here over a low-confidence label.sheets/timeline-*.jpg: the whole film at fixed steps. Use it for text animation (word-by-word, karaoke highlight, typing, counters), element moves between cuts, and anything after the hook the shot sheet misses.sheets/most-replayed.jpg (YouTube, if present) and sheets/cover.jpg.For each shot write down what you see: shot type and framing; on-screen text, its look, position and how it animates; overlays; motion between tiles; look (grade, light, set, materials); and how it hands off to the next shot. Line the pictures up with the words (facts.md and the Speech timing block): what goes on screen while each line is spoken is the heart of the format.
Don't re-measure. The numbers are done; your value is interpretation and construction notes. Pull extra frames with ffmpeg only for a specific question the sheets can't answer. A short film should take 15–25 minutes from link to blueprint.
references/field-guide.md has vocabulary for hooks, beats, shots, captions, retention devices and sound, plus benchmarks. Skim it before writing.
Answer from evidence (times, frames, numbers):
Mark readings "(inferred)". When a heuristic disagrees with the frames, trust the frames, keep the number, and say both.
assets/blueprint-template.md to the draft path the script printed (<slug>.blueprint.draft.md in the dissection folder) and fill it plate by plate. Its writer notes are the rules; the key ones:
{{measured:KEY}} line once, where the template puts it. Don't retype measured tables; cite them ("the ×1.39 push in shot 4, plate 5").{{PRODUCT}} {{BRAND_FONT}} {{BRAND_BG}} {{BRAND_ACCENTS}} {{LOGO}} {{CTA_URL}} for a product film; {{TOPIC}} {{HOST}} {{CHANNEL_LOOK}} {{CTA}} for a creator video). Match the reference's light, not its hues.plan.json next to it:{
"why_it_works": "2-3 sentences citing measured times, frames or values",
"scales": [{"shot": 1, "scales": "fixed | scales | optional", "why": "max 8 words"}],
"avoid": ["4-8 things the film deliberately leaves out"],
"routes": {"minimum": {"stack": ["Remotion"], "builds": "...", "gives_up": "..."},
"full": {"stack": ["Blender", "Remotion"], "builds": "...", "handoffs": ["Blender → Remotion: PNG sequence with alpha, 1920×1080, 30 fps"]}},
"recipe_prompt": "150-230 words, rules below"
}
scales, one per measured shot: fixed keeps its length at any film length (hook, beat-locked sting, end-card hold), scales stretches with it, optional goes in the 15 s cut. The signature move is never optional; the fixed shots must add up to well under 15 s.
Recipe prompt: our own runnable prompt for Claude Code or any coding agent to make a NEW film in this format. It opens "Make a s film for {{PRODUCT}} in the format of . Brand: font {{BRAND_FONT}}, background {{BRAND_BG}}, accents {{BRAND_ACCENTS}}, logo {{LOGO}}, call to action {{CTA_URL}}." It tells the agent to load <slug>.timeline.json first and build to its shot frames, camera numbers, type boxes and cue frames (beat grid only if steady); output 1080p in the film's aspect (1920×1080, 1080×1920, 1080×1080) at the reference's fps, H.264 MP4; the render stack from the toolkit with the Minimum route as fallback; the beats with times and shot numbers, the signature move in a few numbers, type at or above the phone minimum, the sound and the loudness target; a narration-led film's word count, pace and caption rule; a text call to action (no QR codes or store badges unless asked); asset honesty; never the reference's hex colours, fonts, logo or music; and to finish by running dissect.py check.
3. Assemble and fix:
uv run <skill>/scripts/dissect.py assemble <dissection folder>
It writes <slug>.blueprint.md (measured blocks pasted in, scales filled, length-cut and aspect tables added, recipe appended) and <slug>.timeline.json (the timeline plus your plan), and prints warnings: missing parts, recipe rule breaks, and contradictions between your prose and the measurements. Fix every CONTRADICTION and FIX warning in the draft and assemble again.
Keep quotes from the video under about 15 words each and paraphrase the rest; the full transcript stays in data/ for the user's own reference. Describe voices and looks as archetypes; never tell the reader to clone a real person's voice, face or name.
When the user (or you) has built a video from the blueprint:
uv run <skill>/scripts/dissect.py check <render.mp4> --ref <dissection folder> [--target x|youtube|tiktok|web] [--json]
It measures the render (cuts, brightness curve, motion, loudness, format) and scores it out of 100 against the reference's timeline: cuts 35, brightness curve 20, motion 15, pace 10, loudness 10, format 10. The fixes are in the render's own frames ("Cut 2 lands 4 f late at f131; move it to f127"). Work through the top fixes, re-render, check again. As a guide, the original film scores about 93–95 against itself, a faithful rebuild 80+, a loose one around 60. Different on purpose (another aspect, a planned 15 s cut) is fine: say so rather than chase the score.
--keep-video keeps it), so a dissection is a few MB.Measure one after another, never in parallel (transcription and the timeline pass are CPU-heavy). Use quick for 4 or more. Write a blueprint for each, then formula.md next to the folders: what stays the same across them (the real format), what varies and what the best performer did differently (views per follower, likes per 1,000 views), and one merged template.
assets/blueprint-template.md (opens in a new tab)references/downloading.md (opens in a new tab)references/field-guide.md (opens in a new tab)scripts/assemble.py (opens in a new tab)scripts/check.py (opens in a new tab)scripts/dissect.py (opens in a new tab)scripts/doctor.py (opens in a new tab)scripts/plates.py (opens in a new tab)scripts/timeline.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub 0xpratzyy/dissect --plugin dissectOther plugins' skills for the same job