/video-tools:bang-motionfrom video-tools
Builds cinematic motion graphics in the browser (promo videos, openers, intros, bumpers, kinetic typography, illustrated explainer videos in 16:9 or 9:16) with HTML + CSS + GSAP (+ Three.js when needed), so the result moves like real video, not like presentation slides. Use this skill whenever the user asks for a "promo video", "opener", "animated intro", "motion graphic", "bumper", "kinetic typography", "cinematic text animation", "explainer", "explainer video" (visual journalism, educational cartoon, collage), or shows a reference promo/explainer video and wants a web version of it, even if they never say "motion graphic". Also use it when the user complains that a web animation looks "like a PPT/presentation" and wants it more cinematic, wants to render a web animation to an MP4 file, or wants a cartoon/animated explainer built DIRECTLY in After Effects through the Higgsfield bridge/MCP.
Ships in video-tools. 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.
v1.19.0 · by Bang Tutorial · MIT. Change history is in the upstream CHANGELOG.md;
install instructions are in the upstream README.md. This copy is an English translation of the upstream skill.
This skill is for any AI coding agent (open Agent Skills format). It holds the laws and recipes for motion graphics that move like video, not like a presentation. Follow them before writing code.
The deliverable (index.html) needs only a modern browser plus internet for the CDNs
(GSAP, fonts). Python and Node are optional and used only for working tools:
scripts/serve.py (no-cache server, needed only when using local modules),
puppeteer (automatic snapshots/verification, scripts/export-frames.mjs → MP4).
If the user has neither: (1) still build a single file and open it with a double-click;
(2) verify visually with ?debug=1 (scrub panel) and manual screenshots at key
seconds; (3) get MP4 through screen recording (OBS / browser tab recording), and
explain that a screen recording can drop frames and that frame-by-frame rendering needs
Node. Never make a deliverable that needs npm install just to be WATCHED.
ffmpeg is optional too. Check first (ffmpeg -version); if it is missing:
| Need | With ffmpeg | Without ffmpeg |
|---|---|---|
| VO sync (sentence/paragraph boundaries) | silencedetect | scripts/vo-pauses.html: open it in the browser, pick the audio, copy SEG/PARA; same result (Web Audio, no install) |
| Audio duration/format | ffprobe | the DUR number from vo-pauses.html; the browser plays wav/mp3/m4a/ogg directly |
| MP4 export | merge the PNGs from export-frames.mjs | no MP4: offer a one-command install (winget install Gyan.FFmpeg / brew install ffmpeg) or screen recording |
| Studying a reference video (extract frames) | fps= + tile= | ask the user to send screenshots at key seconds, or open the video in the browser and capture at specific seconds |
Without ffmpeg the explainer flow is still complete up to VO sync; only the MP4 needs an install.
Default deliverable: no panel/player on screen, it plays immediately when opened
and restarts from the beginning when it ends (onComplete → play(0); if there is
sound, the audio loops too). Hidden controls: R restarts, Space pauses. The scrub/clock
panel appears only with ?debug=1 (a review tool), and ?clean=1 holds autoplay for
export. Sound? Try play() right away; if the browser blocks it, hold on frame 0 and
start on the first click, with no "tap to start" text. This is already built into both
starters.
Other models (and you, when tired) will fall into these patterns even after reading the laws below. Before delivering, check the CODE, not your feelings:
grep -c "class=\"scene\"\|<section" index.html: if there are ≥ 3 scenes
made of <section> elements switched on and off with autoAlpha/opacity,
that is a slide deck. Scenes must change because the WORLD/CAMERA moves
(the camera moves, whips to another corner, pushes through, the background changes),
not because a section is faded. Legitimate exception: cartoon stage
(references/cartoon-stage.md) uses a cut/96 px slide between stages.
That is allowed because each stage is fully alive (≥10 objects in action), not a
still picture being faded.
There is a visual through-line that persists: one subject (continuous action) OR one collage/paper/white world that the camera travels over (cartoon, photo, catalog, sketch). Full-bleed photos swapping with no shared world → PPT. One picture + one sentence per scene, swapping every scene → still a slideshow even if the camera moves: each scene has 3–5 elements that enter gradually per phrase (explainer.md "One scene = 3–5 elements").
Count text nodes per scene: eyebrow/kicker + title + body/credit = 3 levels → PPT. Maximum two: one big number/sentence + one world label. A document/stamp/date block with ≤ 3 short lines counts as an object, not a text level.
Ken Burns (scale 1.0→1.05 on a photo) as the only motion → PPT.
Motion every second must come from the BACKGROUND MOTION LANGUAGE chosen in the
style brief from the techniques.md §7c menu (camera breathing on a textured
background, drifting gradient, floating blobs, live grain, a light sweep per
segment, a large slowly rotating shape, rising particles, breathing grid, ghost
text drifting, Ken Burns + parallax…). Bars/lines/pieces crossing sideways
("lane", "range", "streak", horizontal particle rain) have ALREADY been used by two
projects in a row under different names. They are not a default; use them only
when the theme really is speed/flow, and never in two projects in a row.
Transitions that are only fade + scale bump + light leak on every cut → PPT template. Whip to another corner, cut to an instrument (map/speedometer/profile), push-through.
Explainers start from the starter for their STYLE: starter-explainer-cartoon,
-journalism, -catalog, -sketch (collage mode: the camera travels over
still assets), starter-explainer (continuous action: the world flows), or
starter-explainer-stage (cartoon stage: one stage per scene, jointed rig,
camera only inside the stage). The collage ones share one rig; the stage one
has a different rig. NOT from assets/starter-opener.html (text opener),
and not from scratch.
A miniature is a slide. The camera zooms < 1.08, so a house is thumb-sized and
empty ground fills half the screen → PPT even though everything moves.
Split the world into frame-sized stages rather than one big map to explore
(cartoon-stage.md Law 1).
Template skeleton (opener/promo). Check the rundown and code: the first
scene is text that grows and then exits left; three feature tiles/cards
side by side; an input box/searchbar being typed into; the order hook → feature →
feature → promise → logo → CTA. Two or more with no demand from the concept →
template, even with a new skin. Choose the skeleton again from
references/opener-concepts.md.
Fail even one point → rework before showing the user.
This skill is for web motion graphics in GENERAL. The explainer is only one kind; it has its own document because its structure differs, not because it is the main one.
Starters are named by category: starter-opener.html for openers, promos,
bumpers, intros, and kinetic typography; starter-explainer-*.html for explainers,
with a mode/style suffix (-cartoon, -journalism, -catalog, -sketch = collage;
no suffix = continuous action; -stage = cartoon stage). Cartoon stage is an
explainer mode (style 6), not a category of its own: its goal is still to explain
with VO, only the way it is produced differs.
| Kind | Usual length | Traits | Recipe |
|---|---|---|---|
| Opener / product promo | 25–40 s | one concept from the menu (the skeleton comes from the product, not a fixed order), one special moment, brand closing | references/opener-concepts.md + the workflow below + references/techniques.md |
| Bumper / ident / logo sting | 3–8 s | logo build-on, one signature move, done before the viewer notices | techniques.md (logo build-on, light leak) |
| Channel intro / outro | 5–12 s | channel name + the same signature move every episode | workflow below |
| Kinetic typography / lyrics | 15–60 s | text is the subject; split per word/letter; rhythm follows the audio | techniques.md (split + directional blur, per-word 3D pan) |
| Title / lower third / segment bumper | 2–6 s | a small element over footage, clean in and out, transparent background | techniques.md |
| Explainer / explainer video | 30–90 s | sourced facts, entities shown, changing viewpoints, five styles | references/explainer.md + the starter for each style |
For a flat educational cartoon explainer with characters (the sixth style, cartoon
stage), or a revision that feels like a slideshow/miniature, read
references/cartoon-stage.md: one stage per scene, zoom 1.08–1.95,
continuous inside a stage and a cut/96 px slide between them, a jointed rig with
manual transforms, zero captions, a bright flat palette. Distinguish sentence, visual
beat, framing, and stage change. To build it directly in After Effects, read
references/ae-bridge-higgsfield.md. This explainer-specific guidance sharpens the
opener rules below; the example fonts, scene counts, and effects are not universal
recipes.
The most common disease: the model lays out scenes like slides, with title + subtitle
The hard rules:
references/opener-concepts.md (one feature demoed, words
that swap, an object that transforms, shuffled cards, a tile grid…); two openers in
a row do not use the same way.techniques.md §3b).Read references/anti-ppt.md BEFORE designing scenes. It lists real violations
together with their fixes.
Not a single line reads the system clock. Every visual is a pure function of
tl.time() (the GSAP timeline time): spectrum, running numbers, particles, camera
shake (high-frequency sine, not Math.random()), the position of objects that
"flow" (tween DISTANCE, do not accumulate speed per frame). The consequence: scrubbing
is exact like an After Effects timeline, and frame-by-frame rendering to MP4 produces
identical images every time.
A common failure: an opener for a different product comes out with EXACTLY the skin of the previous product's opener: dark, blue accent, glow, nebula, the same font, because the model took its style from the starter. The animation can be good and it still fails: an opener is the face of a product, and two products must not share a face.
references/opener-concepts.md, one chosen with a reason from the product, then
concept · scene count · main object per scene · opening · closing;references/opener-concepts.md);techniques.md §7c menu. It is not the
same thing as the signature move, and not automatically "objects crossing";techniques.md §7e menu (flat, clay,
glossy, glass, isometric, realistic, neon line…);references/opener-concepts.md, "Photos
in openers");assets/starter-opener.html are PLACEHOLDERS. If any of them is still
visible in the result, the style was not derived. The WebGL background (nebula,
dust, grid, bloom) is only one background language out of eight; turn it off when
the style direction is different.references/opener-concepts.md are treated the same way: principles, not scripts
(skeleton Law #7).
Copying a reference's skin is a violation even when the user supplies it. Say so
in one sentence and then offer a version born from the theme.references/opener-concepts.md). A new color over the old scene order is still a
template.
Do not open old project folders for "examples". Only the rules in this skill may be
inherited.| Direction | Background | Typography | Signature motion | Good for |
|---|---|---|---|---|
| Cinematic dark | near-black gradation, WebGL particles/nebula, bloom only on objects | clean bold grotesk | push-through, light in front of the lens | creative tools, gaming, technology |
| Poster color-block | large solid color fields changing per scene, no gradation | very heavy display, giant letters cropped by the edge | block wipes, text hitting the frame edge | consumer apps, music, events |
| Editorial light | white/cream, wide empty space, thin lines | display serif + small grotesk | gentle slides, lines that draw, a calm camera | productivity, finance, SaaS |
| Paper & print | paper texture, collage cutouts, stamps, tape | handwriting + serif | objects fly in then land, tilted angles | education, community, food |
| Retro / analog | faded color, grain, scan lines, VHS frame | 70s–90s geometric | controlled glitch, rough zoom, freeze | nostalgia, music, entertainment |
| Brutalist mono | black and white, hard grid, ruled boxes | monospace + condensed | hard cuts, shifting blocks, blinking cursor | developer tools, technical |
| Playful pastel | stacked pastels, big round shapes | heavy rounded sans | elastic bounce, blooming shapes | kids, health, lifestyle |
| Luxury dark | black + gold/bronze, soft shadows, shine | tall wide-spaced serif | slow motion, sweeping beams, depth | fashion, automotive, property |
| Flat pop with photos | light neutral alternating with solid fields in the user's brand color; flat shapes and stickers derived from the geometry of the user's logo + soft 3D illustration | heavy rounded geometric sans + giant words cropped by the edge | cut-out people photos popping up from below, stickers bursting elastically, color fields sweeping/snapping on the beat | consumer apps, fintech, e-commerce, youth brands |
| Grainy gradient | dark/deep-color base; saturated 2–3 color gradient shapes glowing from within; fine grain over the whole frame | small clean grotesk, or minimal heavy display | shape layers slowly opening/rotating, the camera passing through a shape's hole, a guiding light orb | tech, AI, music, fintech, creative launches |
Two openers in a row using the same table row is a warning sign; pick another row or blend two rows in a way that has not been used.
Two openers with the same rig can end up very good or very bad purely because of
typography and contrast. The bad: every title in ALL CAPS weight 800 in the center,
entering the same way, over a field of white light brighter than the letters. The
good: sentence case weight 500, emphasis on keywords (e.g. a pill + star; that is one
project's signature, not a rule, and word highlight itself is optional), punctuation
only when needed, size/direction/position alternating, a calm background under the
text, a background that changes by segment. Full recipes with code: techniques.md
sections 1 and 1b. In short:
? for
a real question, a period for a deliberate style of two short sentences in a row,
! very rarely. The punctuation style is decided once in the style brief and kept
consistent; when used, it is a separate element that appears last.Identify the kind ("Kinds of work" table). Explainer → open
references/explainer.md and follow "Step zero" there: ONE question
containing the style (five choices + a recommendation), ratio, length, sound,
plus the length guard rail. Other kinds → continue; ask only what truly cannot be
derived from the brief (ratio, length, whether there is music/VO), in one question.
0b. Write the style brief (Law #3) and show it with the rundown. Without an
approved style brief, do not touch code.
Absorb references & brand sources. Ask for screenshots/clips of the reference if there are any; map per shot (duration, movement, transition type, attention order), only the RHYTHM, not the skin (Law #3). Colors, logo (the REAL vector paths, do not redraw), fonts, and feature claims come from the official sources of the PRODUCT being made, not from a reference, not from another project, not invented.
Write the rundown from the chosen concept, a table second | scene | sentence | visual. The number and kind of scenes follow the concept
(references/opener-concepts.md), not the pattern hook → feature → feature →
promise → logo → CTA. Total 25–40 seconds. Ask the user to approve this rundown
before writing code; reworking a rundown is cheap, reworking code is expensive.
Scaffold the architecture. Opener/promo/bumper/typography: copy
assets/starter-opener.html (1920×1080 stage, #world camera rig, a stateful
Three.js scene, timeline helpers) then IMMEDIATELY replace the color tokens, font,
and background language according to the style brief; the starter is deliberately
gray. Explainer: copy the starter that matches the style:
starter-explainer-cartoon/-journalism/-catalog/-sketch.html (collage
mode: camera into/settle/look/home over cutouts/photos, say/unsay per word, draw
annotations, push-through between scenes) or starter-explainer.html
(continuous action: the world flows, hero, world objects, map view, whip). All of
them already autoplay + loop with no player. The multi-file structure and the
explanation of each decision are in references/architecture.md.
Build scenes one at a time with the recipes in references/techniques.md
(per-letter split + directional motion blur, per-word 3D pan, transition menu, UI
mockups). Recipes are tools, not a shopping list: use only what the concept demands.
Verify VISUALLY, not just "the code runs". You cannot watch a video; you can
only see FRAMES. Capture 6–20 key seconds (the start of each scene, when text
appears, transitions) with scripts/snap.mjs (puppeteer, opens file://, no
server), assemble a contact sheet, and judge like a director: is text clipped?
overlapping? does text appear before the camera has finished? does it still feel
like a slide? Fix, capture again. DO NOT render all frames to check; that is
thousands of images and not verification. Render the full thing only for the MP4
export (step 6) when the user asks for it. Without Node: open ?debug=1, scrub
manually, take screenshots.
Deliver as ONE index.html that can be double-clicked. The final output must
not need a server/Node: CSS and JS are written INLINE in the file (a local
<script type="module" src="…"> is blocked by CORS when opened through file://,
an inline module is not), libraries from a CDN, assets (icons/images) relative in
the same folder. The no-cache server (scripts/serve.py) is only a WORKING tool
while editing, not a requirement for watching. No player on screen (see "Player");
mention ?debug=1 for scrubbing. Export MP4 only when the user asks for it:
scripts/export-frames.mjs renders every frame (60 fps) to PNG and then ffmpeg
merges them. This way is free of frame drops but expensive, so it is not a routine
step and not a checking tool.
Explainers only: VO script + a request to record: the closing message must
include the complete VO script and ask the user to record/generate it and send the
audio back to be synced. Details of the script format, recording tips, and retime
are in references/explainer.md → "Handover".
references/opener-concepts.md); the concept example was not copied
(opening/closing differ from its example, ≤ 1 ✦ moment, transformed, palette and
shapes from the user's brand)references/opener-concepts.md UI animation section); if the demo feels
static, important clicks are followed by the camera (close → click → pull
back/shift), not on every click (techniques.md §8)clip() (no autoplay/loop),
wrapped in an animated element, the source agreed with the user, the assets/
folder mentioned at handover, and the seconds containing clips were captured
(snap.mjs)?debug=1 for scrubbingDate.now() / Math.random() in the render path.cmd/.bat)transformOrigin/rotation on joints, no x/y tween
on a group that has a translate); each stage has ≥10 moving objects; zero
captions; raster heads have blink + expression variantsreferences/ae-bridge-higgsfield.md)vo-script.md is saved in the project folderindex.html opens directly through file:// (double-click) with no
server: inline CSS/JS, no local module srcfont-variant-numeric:tabular-nums + min-width so the container
does not change widthDetails and fixes are in references/techniques.md under "Traps":
a low bloom threshold → a white screen; an additive nebula → stacks up through the
bloom; a more specific CSS selector beats the initial opacity:0 state → the element
appears ahead of its animation; a JS module cached by the browser → edits "have no
effect" (use a Cache-Control: no-store server); a flat 3D object rotated fully on
the Y axis → becomes a single line (sway it, do not rotate fully); the default SVG
filter box clips the tail of a blur (widen x/y/width/height).
When After Effects is already open, the Higgsfield ae_* MCP bridge is connected, and
the user asks for an animation/explainer to be built in AE, build it directly with
bridge commands. Read references/ae-bridge-higgsfield.md: the comp skeleton through
one small Lottie, a CAM null per stage (anchor & position zeroed BEFORE parenting),
illustrations from code-made SVG → 2× PNG (scripts/ae/bridge/svg-assets.py +
svg2png.cjs), characters as real jointed AE shapes
(scripts/ae/bridge/character-rig.py, about 90 ops per character), body-part keyframes
in parent space, verification through contact sheets (a relay when r2.dev is blocked).
The cartoon stage laws still apply in full. The bridge cannot save/render and cannot
reorder layers; say so and create layers from back to front. A 10-stage build is about
1 hour, 0 credits.
| File | When to read |
|---|---|
references/cartoon-stage.md | CARTOON STAGE: one stage per scene, camera ≥1.08, cut/96 px slide, jointed rig + manual transforms, raster heads + local expressions, zero captions, flat palette |
assets/starter-explainer-stage.html | cartoon stage EXPLAINER: stage system + a camera per stage, J() joints, character() (vector or raster head), 96 px whoosh, a two-stage example |
scripts/head-expressions.py | a generated head → happy/worried/surprised variants + blink, made locally (pupil & mouth detection) |
references/ae-bridge-higgsfield.md | BRIDGE: building a cartoon stage directly in AE through the Higgsfield MCP: bridge limits, traps (null 960,540; parenting to a keyframed CAM; reorder breaks), CAM-per-stage architecture, native rig, contact sheet relay, handover |
scripts/ae/bridge/svg-assets.py, svg2png.cjs, character-rig.py | BRIDGE: illustration assets from code → SVG + manifest → 2× PNG (puppeteer); a ~90-op ae_batch generator for one jointed character |
references/anti-ppt.md | before designing scenes |
references/opener-concepts.md | OPENER/PROMO before the rundown: three candidate concepts, a menu of 19 concepts (including object relay, brand system showcase, claim → how → result, living UI ecosystem, flat pop with photos, through gradient shapes, and a product tour with claims, all derived from the brand's service/assets/product), layout-color-rhythm guidance, UI animation guidance for app/SaaS, photo-in-opener guidance (user input / generate via MCP), the feature menu, openings, closings, object-carried transitions without cuts, structure fingerprint: prevents a template skeleton |
references/explainer.md | when an explainer/explainer video is requested (cartoon + VO, photo visual journalism, white catalog, vintage sketch, or continuous action; default 16:9, 9:16 only when asked) |
references/architecture.md | when scaffolding / needing the reasons behind the structure |
references/techniques.md | when building scenes & effects (including shot size §3b, grainy gradient §7d, the object render style menu §7e, and video as footage layers §9b) |
references/roadmap.md | when developing this skill further |
assets/starter-opener.html | starting point for OPENER/promo: architecture + tools (8 text doors, optional transitions); DELIBERATELY without an example scene order, the skeleton comes from opener-concepts.md |
assets/starter-explainer.html | EXPLAINER continuous-action style (vector): flow mode (strip + hero + world objects) + map view + whip + a collage-mode example |
assets/starter-explainer-cartoon.html | collage cartoon EXPLAINER: cream paper + grain + stains, illustration cutouts, Bricolage + Caveat, color pills |
assets/starter-explainer-journalism.html | visual journalism EXPLAINER: black + grain, real photos + source tags, Barlow Condensed + Plex Mono, yellow/red highlighter, dashed annotations |
assets/starter-explainer-catalog.html | white catalog EXPLAINER: faint grid, photo cutouts, Archivo Black + Caveat + Inter, yellow highlighter |
assets/starter-explainer-sketch.html | vintage sketch EXPLAINER: sepia paper (CSS texture), multiply engraving cutouts, Playfair + Garamond + Cinzel, rust & gold |
scripts/serve.py | no-cache dev server (optional, needs Python; only when using local modules) |
scripts/snap.mjs | VERIFICATION: capture key seconds → contact sheet (optional, needs Node + puppeteer) |
scripts/vo-pauses.html | detects VO pauses in the browser (a replacement for ffmpeg silencedetect, no install) |
scripts/export-frames.mjs | EXPORT: render all frames → MP4, only when asked (optional, needs Node + puppeteer + ffmpeg) |
LICENSE (opens in a new tab)assets/starter-explainer-cartoon.html (opens in a new tab)assets/starter-explainer-catalog.html (opens in a new tab)assets/starter-explainer-journalism.html (opens in a new tab)assets/starter-explainer-sketch.html (opens in a new tab)assets/starter-explainer-stage.html (opens in a new tab)assets/starter-explainer.html (opens in a new tab)assets/starter-opener.html (opens in a new tab)references/ae-bridge-higgsfield.md (opens in a new tab)references/anti-ppt.md (opens in a new tab)references/architecture.md (opens in a new tab)references/cartoon-stage.md (opens in a new tab)references/explainer.md (opens in a new tab)references/opener-concepts.md (opens in a new tab)references/roadmap.md (opens in a new tab)references/techniques.md (opens in a new tab)scripts/__pycache__/head-expressions.cpython-313.pyc (opens in a new tab)scripts/__pycache__/serve.cpython-313.pyc (opens in a new tab)scripts/ae/bridge/character-rig.py (opens in a new tab)scripts/ae/bridge/package.json (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub pvsaravanan/agent-skills --plugin video-tools4 skills in this plugin
/bragTurn the current project website into a short, polished, shareable launch video using Hyperframes. Use when someone says "/brag", "let's brag about this", "make a launch video", "turn this into a video", or wants to share what they built. Reads the project code directly — no live URL or screenshots needed./brag-slimTurn a project directory or a website URL into a short, shareable launch video with music, motion, and share copy. One file, no bundled assets — built entirely by the model with the tools already on the machine. Use when someone says "/brag-slim", "let's /brag about this", "brag about a website", "make a launch video", or wants to show off what they built. If the /brag skill is also installed, let /brag handle those phrases; it hands off here on Opus 5.5./vox-explainerEnd-to-end pipeline for producing Vox-style explainer videos from a single topic prompt. One topic in, finished film out — script, keyframes (Seedream 5.0 Pro), animation (Gemini Omni Flash), voiceover (xAI TTS), music (MiniMax Music 2.6), all assembled locally with ffmpeg via the Atlas Cloud API. Use this skill whenever the user asks for an explainer video, a Vox-style video, a documentary short, an educational video essay, a "one prompt to video" pipeline, or wants to turn a topic/article/report into a narrated video with subtitles and music. Also trigger when the user mentions Atlas Cloud video pipelines, keyframe-to-animation workflows, or automated video essays — even if they don't say "Vox."