Creates short promotional videos as code using HyperFrames (HTML + GSAP rendered to MP4). Handles voiceover, captions, sound effects, and mix loudness for product spots, feature demos, and game trailers.
Ships in promo-video. 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.
A video is a web page that HyperFrames renders frame by frame: an index.html composition, one paused GSAP
timeline, and a soundtrack built from stems. Everything is a pure function of time, so a render is reproducible and
a one-word change is a re-render, not a re-edit.
The method comes from four finished videos: two 30–33 s product spots with voiceover, a 36 s how-to for one module of a product, and a 30 s music-led game trailer with recorded gameplay. Pick the shape that fits:
| Shape | Carried by | Mix targets (integrated) |
|---|---|---|
| Voiceover spot: one story told by a voice, product UI doing the work, captions | voice | voice −14 LUFS, music bed −36, SFX −26, mix −12 |
| Music-led trailer: supers on a beat grid, footage, no voice | music | music −16, SFX −22, mix −14 |
Both: true peak ≤ −1 dBTP after a test AAC encode, 1920×1080, 60 fps, an end card held about 2 s.
| Path | Does |
|---|---|
scripts/new-project.sh <slug> | creates ~/promo-videos/<slug> (or $PROMO_VIDEO_HOME) from the template and scripts, vendors GSAP 3.14.2 and Inter, starts README.md and facts.md; refuses inside a git repository |
assets/index.html, assets/scene.js | the template: an 8 s working composition, hook → product does one task (typing, cursor, click, result) → end card, with one camera, frame(t), a cue log and a caption layer |
assets/script.json | example voiceover script (say, group, chunks, gap_after, burn) |
scripts/probe.mjs | serves the project, reports errors, --cues exports the SFX cue log, --shots saves review frames (videos seeked) |
scripts/tts.mjs | ElevenLabs take with character timestamps; --line re-takes one line; --dry-run |
scripts/voice-test.mjs | the same script lines read by 3–4 candidate voices, for picking by ear; prints the credits first |
scripts/build_vo.py | splits the take into lines, re-spaces them, masters the voice, writes word timings |
scripts/build_captions.py | caption chunks + .srt/.vtt; fails the build on Netflix rule breaks |
scripts/sfx.py | 17 deterministic synthesized UI sounds (pop, click, tick, whoosh, ding, …) |
scripts/build_mix.py | voice + back-timed music + SFX from cues → audio/mix.wav; fails if the AAC true peak is above −1 dBTP |
scripts/record-canvas.mjs | records a live canvas + its WebAudio from a scripted input plan |
scripts/cut_clips.py | trims, fixes the frame rate, crops and scales recordings into composition clips |
scripts/deliver.sh | versioned web encodes (H.264 MP4, VP9 WebM, poster) |
scripts/audiolib.py, scripts/browser.mjs | shared helpers (ffmpeg/numpy audio, headless Chrome lookup) |
Requirements: Node 22+, Python 3 with numpy, ffmpeg with libx264, libvpx and libopus. HyperFrames runs through
npx; the browser scripts reuse the puppeteer-core it installs and its chrome-headless-shell
(npx -y [email protected] browser ensure downloads one). Tested with HyperFrames 0.8.111, GSAP 3.14.2,
ffmpeg 8.1, Python 3.9, numpy 2.0.
curl -L; never open a third party's (competitors, shops, links in
example data). Made-up URLs and e-mails use example.com or a .test domain only, never a real-looking one.
See references/story.md.references/story.md, "Concepts before production").tts.mjs --dry-run and voice-test.mjs --dry-run print characters
and credits). Revise until the user says go; every rewrite after the take costs a re-take.bash <skill>/scripts/new-project.sh <slug> and run the build loop once on the
untouched template, so a broken toolchain shows up before your content does. Keep to the layout and names in
"Projects and files" below.references/footage.md), take clean screenshots, rebuild UI from the product's
CSS and real data, vendor fonts and the official logo. Draw illustrations yourself.voice-test.mjs samples of
the real script, then tts.mjs, build_vo.py, build_captions.py. The printed total becomes data-duration. Key every visual beat to word times (references/audio.md).index.html and scene.js, following
references/composition.md. Log a cue for every sound with cue(t, type, {gain}).probe.mjs --cues, then build_mix.py. Report the measured loudness, not the targets.probe.mjs --shots, then lint and check, then the render, then
frames extracted from the final MP4. Look at them; check samples and can miss a shot. Hold the frames against
"What a good result looks like" below and fix what fails before showing the user.references/delivery.md), and write the project README: sources and licenses, what is made up, measured
loudness, what it cost, posting notes, rebuild steps.The tools above make a video correct. These make it worth watching; check every review pass against them.
references/composition.md, "Motion").export HYPERFRAMES_NO_TELEMETRY=1 HYPERFRAMES_SKIP_SKILLS=1 # no telemetry, no skills update check
HF="npx -y [email protected]" # pin the version you tested with
node scripts/tts.mjs && python3 scripts/build_vo.py && python3 scripts/build_captions.py # voice spots only
node scripts/probe.mjs --cues audio/cues.json # SFX cue log from the scene
python3 scripts/build_mix.py # → audio/mix.wav, audio/loudness.json
node scripts/probe.mjs --shots every:0.5 --out review/frames
$HF lint . # 0 errors
$HF check --samples 24 --timeout 15000 --caption-zone "x0=0;y0=.86;x1=1;y1=1" .
$HF render --quality delivery --fps 60 --output renders/<slug>-v1.mp4 . # add --video-frame-format png for pixel art / UI footage
Rerun from the step you changed: a scene edit that moves a cue needs --cues and build_mix.py again; a script
edit needs the whole voice chain. The render embeds audio/mix.wav as it is on disk.
Details and the migration steps are in references/projects.md.
$PROMO_VIDEO_HOME/<slug>/ (default ~/promo-videos/<slug>/), one per video. All of
its languages and formats stay in that one project.README.md, facts.md, script.md, index.html, assets/, audio/, scripts/, optional
research/, capture/ and concepts/, then review/ (scratch), renders/ (deliverables) and archive/
(rejected versions). No other top-level directories.renders/<slug>[-<lang>][-<variant>]-v<N>.mp4, sidecar captions with the same stem. A file that
has been sent or posted is never overwritten; the next cut is the next version..env. tts.mjs reads ELEVENLABS_API_KEY from the environment or a .env file and never
prints it. Never put a key in a prompt, a script, a log or a README. Do not read .env*, credentials or keys in
the product's repository while researching it.hyperframes publish, upload, or post without the user's
explicit go-ahead for that destination. Record a platform, date and URL only after the post is live and you
have opened it.new-project.sh), the ElevenLabs API, and the product's own domains. probe.mjs blocks every request that is not
the local composition; record-canvas.mjs only loads the plan URL's host plus the hosts listed in its allow.
Do not widen either to make a page load; add a host to allow only after the user confirms it belongs to the
product. Made-up addresses use example.com or .test (references/story.md).Math.random, no clocks, no infinite repeats, no network at render time. Seed every RNG.document.fonts.ready.then(build). A synchronous build, or one gated on
document.fonts.load(), rendered blank frames.@font-face with a vendored file, or lint fails with font_family_without_font_face.
Subset fonts miss glyphs (Google's latin subset has no → or ✓): draw those as SVG.<video> needs an id, or the renderer freezes it (media_missing_id). Write videos as static markup:
ones created from JS may not be discovered. HyperFrames controls the opacity of active clips, so animate a
wrapper <div>. Overlapping clips need different data-track-index values.scene.js. Reading them from the root at script time threw under
check.immediateRender: false to every fromTo after the first one on the same element and property. Otherwise
its from values are applied when the timeline is built and show before the tween starts.build_mix.py does that and checks.render --resolution only supersamples. A 9:16 or 4:5 version is its own composition with its own framing.check with data-layout-ignore on content layers: with everything ignored it reports
"Timeline did not advance" and checks nothing. Use data-layout-allow-overflow and
data-layout-allow-occlusion where an overlap is intended.snapshot sends frames to Gemini when GEMINI_API_KEY is set; pass --describe false unless the user wants that.references/story.md: facts sheet, concepts for client work, story shapes for voice spots and music-led trailers, beat grids, captions rules, accessibility, other aspect ratios.references/composition.md: HyperFrames structure, the timeline and frame(t), one camera, motion and easing, cursor, video clips, fonts, SVG and text gotchas, checks.references/audio.md: ElevenLabs voiceover and re-takes, music licensing and back-timing, synthesized SFX, rendering a game's own audio offline, the mix and the AAC guard.references/footage.md: recording canvas gameplay with input plans, cutting clips, clean page screenshots, rebuilding a product's UI from its CSS and real states.references/projects.md: where projects live, the directory layout, render names and versions, publication
records, finishing a project, moving an old project into the layout.references/delivery.md: the review loop, render settings, platform notes (X, YouTube, LinkedIn, DEV.to, self-hosted website), the project README and publication records.assets/index.html (opens in a new tab)assets/scene.js (opens in a new tab)assets/script.json (opens in a new tab)references/audio.md (opens in a new tab)references/composition.md (opens in a new tab)references/delivery.md (opens in a new tab)references/footage.md (opens in a new tab)references/projects.md (opens in a new tab)references/story.md (opens in a new tab)scripts/audiolib.py (opens in a new tab)scripts/browser.mjs (opens in a new tab)scripts/build_captions.py (opens in a new tab)scripts/build_mix.py (opens in a new tab)scripts/build_vo.py (opens in a new tab)scripts/cut_clips.py (opens in a new tab)scripts/deliver.sh (opens in a new tab)scripts/new-project.sh (opens in a new tab)scripts/probe.mjs (opens in a new tab)scripts/record-canvas.mjs (opens in a new tab)scripts/sfx.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
video-generation, promo-video, hyperframes, gsap-animation, voiceover, captioning
Other plugins' skills for the same job
/promo-video:promo-videofrom promo-video
npx claudepluginhub freema/ai-skills --plugin promo-video