/reelkit:reel-mographfrom reelkit
Turns code-driven GSAP animations into motion-graphics films via headless Chromium frame rendering, motion-blur supersampling, sound-design from SFX manifests, and ffmpeg grade+mux. For animated typography, kinetic UI, or brand launch films.
Ships in reelkit. 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.
None: SKILL.md is the whole skill.
Build films that are drawn in code, not filmed. Deterministic, frame-perfect, buttery. Each film is one self-contained HTML page; the renderer steps it frame by frame.
1. Author the film as an HTML page. Copy templates/mograph.index.html to
<film>/index.html. It MUST expose four globals the renderer drives:
window.__duration — film length in secondswindow.__seek(t) — set the GSAP timeline to exactly time t (use tl.seek(t) / tl.pause())window.__ready — set true once fonts + images are loadedwindow.__audio — array of {type, t, g?} sound cues (type resolves via sfx manifest)window.__scenes — array of {t, label} scene cuts (one line; powers scripts/tweak.html
scene ticks and export_timeline.js EDL/markers — always export it)
Animate with GSAP. Keep everything full-bleed (no dead margins). Drive lines/words on the beat.2. Preview before rendering (cheap sanity check):
node ${CLAUDE_PLUGIN_ROOT}/scripts/shot.js <film>/index.html /tmp/pv 1.8 4.8 7.5 ...
Screenshot 10–14 timestamps covering every scene + climax + endcard; it prints DONE errs=[...]
which MUST be []. Montage the stills into a contact sheet and READ it like a director: layout,
readability (shoot t and t+1.8 for key lines — same settled frame = long-enough hold), no ghost
text, endcard spacing. Iterate here — it's ~100× cheaper than a render.
3. Full render at supersample 2 (true motion blur):
node ${CLAUDE_PLUGIN_ROOT}/scripts/render_mograph.js <film>/index.html <film>/frames 1080 1920 30 2
Renders at fps×ss; ffmpeg later blends every ss frames (tmix) into real motion blur.
Faster: use render_par.js <...> <workers> to split frames across N pages (~N× speedup; the
default worker count is RAM-aware). Both print a STATS line (frames, elapsed, s/frame) when done.
See the README "Parallel rendering" section for the per-RAM concurrency budget and running multiple
films across sessions/machines (each film is independent — split via the FILMS env in render_all.sh).
4. Build the sound-design track (no music bed — pure SFX from a CC0 manifest):
node ${CLAUDE_PLUGIN_ROOT}/scripts/build_audio.js <film>/index.html <film>/audio.wav
Reads window.__audio cues, resolves each type through sfx/manifest.json, applies per-hit
pitch + pan so repeats never sound identical, over a subtle ambient bed. For beat-locked reels
pass MUSIC_BED=<track> — the track becomes the bed itself (prominent, cues sit on its beats,
master loudnormed to −14 LUFS). No SFX library? scripts/gen_sfx.sh synthesizes a deterministic,
license-clean kit with ffmpeg alone (templates/sfx.manifest.example.json shows the manifest shape).
5. Grade + mux (one ffmpeg pass — see templates/mograph.build.sh):
ffmpeg -y -framerate 60 -i <film>/frames/%05d.png \
-vf "tmix=frames=2:weights='1 1',fps=30,eq=...,curves=...,noise=...,vignette=PI/4.5,format=yuv420p" \
-c:v libx264 -crf 17 -preset slow <film>/silent.mp4
ffmpeg -y -i <film>/silent.mp4 -i <film>/audio.wav -c:v copy -c:a aac -b:a 192k -shortest <film>/<name>.mp4
6. Batch many films — render STRICTLY SERIALLY (one Chromium at a time on low-RAM machines).
Adapt templates/render_all.sh: loop films, kill stray Chromium between each, wipe frames/
after each to free disk, recompress anything >60 MB, copy finals to the delivery folder, retry once.
Load skills/cinematography for the look and templates/brandkit.json for the brand system.
For 30s campaign reels, load skills/reel-scripting FIRST (music-first beat grid, bar-addressed
script, motion vocabulary, sound budget) and skills/asset-casting if real photos are needed. Then:
brandkit.safe_area (top 10% / bottom 18% / sides) — platform UI covers the edges.scripts/captions.py (sits in the bottom safe area).MUSIC=bed.mp3 STING=sting.wav to the build → a beat-matched bed under the SFX + a closing stab. (Biggest perceived-quality lift.)__seek per frame), not screen-recording → frame-perfect, machine-independent.ffmpeg, Node with playwright (run npx playwright install chromium once), a sfx/manifest.json.
${CLAUDE_PLUGIN_ROOT}/LESSONS.md — RAM/serial-render limits, frame cleanup, >60MB recompress,
font/image readiness gotchas. Append new fixes you discover.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub shubhagarwal1/reelkit --plugin reelkit6 skills in this plugin
/asset-castingHarvest hi-res, license-safe photos from the open web (Wikimedia Commons + Openverse, no API keys) and curate them like a casting director. Use when a reel needs real photography (crowds, events, people, venues) and you have no client footage. Produces a per-reel curated folder with a license manifest ready for attribution./camera-movesHiggsfield-style cinematic camera moves (crash zoom, dolly, orbit, push-in, pull-back, handheld) on STILL photos, via monocular depth + a WebGL parallax shader — deterministic, beat-lockable, zero credits. Use when a reel needs "filmed" energy on photography: hero shots, montage beats, climax punch-ins. Composes with the mograph rig (same GSAP timeline, same __seek contract)./cinematographyLighting, camera-angle, lens, and mood vocabulary for video. Use whenever generating or selecting footage, or grading a reel — it makes generation prompts specify real DP language (Rembrandt key, golden hour, low hero angle, shallow DoF) instead of flat defaults, drives shot-selection scoring, and maps a brand mood to a concrete lighting + grade recipe. Both reel-liveaction and reel-mograph load this for the look./reel-liveactionBuild a vertical live-action hype/promo reel from real footage + photos, modeled on a reference music video. Use when the user has video clips and/or a reference song/video and wants a beat-matched, character-driven reel with big kinetic text composited BEHIND the subject (text-behind-subject), a cinematic grade, and song + voice both loud. Covers audio forensics (demucs/whisper/librosa), person matting (rembg), and ffmpeg compositing./reel-scriptingMusic-first, beat-locked production scripting for motion-graphics reels — and the multi-agent workflow for building several reels in parallel without quality loss. Use BEFORE reel-mograph when the job is a campaign (one or more 30s reels): pick the track, extract the real beat grid, write a bar-addressed production script per reel, then build each reel in an isolated dir with preview-only self-verification and render centrally.Other plugins' skills for the same job