BB

bangtutorial/bang-motion

Developer tools
3K stars Quality 72 Trend 67MIT

Agent skill for browser motion graphics — openers, promos, bumpers, kinetic typography, and five explainer styles that move like video, not slides. Single index.html output.

Overview

Openers, promos, product demos, kinetic typography, and explainers — built as a single index.html that plays like video, not like slides. Ask an AI agent for "a video" and you usually get : one section per idea, a title, a photo, a fade between them. Bang Motion encodes what a working motion designer insists on — one continuous world, a camera that actually moves, a subject that persists, text that lives inside the scene — as , plus starters that make the right architecture the easy path. It also stops every project from looking the same. The look is through a required style brief, the structure is , and nothing is inherited from the starter or copied from a reference. Every deliverable is one index.html: double-click to play, autoplay + loop, ?debug=1 for a scrub bar, and an optional frame-by-frame export to MP4. Each frame below is a built for this README with . The portrait, product photos, port photo, engraving, and cartoon cutouts were generated with GPT Image 2.

README


Why

Ask an AI agent for “a video” and you usually get slides: one section per idea, a title, a photo, a fade between them. Bang Motion encodes what a working motion designer insists on — one continuous world, a camera that actually moves, a subject that persists, text that lives inside the scene — as rules an agent can check in its own code, plus starters that make the right architecture the easy path.

It also stops every project from looking the same. The look is derived from your brand through a required style brief, the structure is chosen from a menu of concepts, and nothing is inherited from the starter or copied from a reference.

What you can make

Output Typical length
🎬 Openers & promos product launches, app promos, campaign spots, teasers 15–40 s
🖥️ Product & SaaS demos UI assembled and used on screen, camera following the clicks 20–60 s
🔤 Kinetic typography lyric-style statements, event announcements, manifestos 10–30 s
📺 Bumpers, idents, channel intros short brand moments that loop 3–10 s
🧭 Explainers six explainer styles, optional voice-over sync, 16:9 or 9:16 30–120 s
🎥 Video layers your own or generated clips placed like footage — inside devices, frames, and masks, locked to the timeline —
🎞️ After Effects builds cartoon explainers built directly inside AE through the Higgsfield MCP bridge —

Every deliverable is one index.html: double-click to play, autoplay + loop, ?debug=1 for a scrub bar, and an optional frame-by-frame export to MP4.

Each frame below is a single static scene built for this README with fictional brands and data. The portrait, product photos, port photo, engraving, and cartoon cutouts were generated with GPT Image 2.5; everything else is HTML, CSS, and SVG. Real projects take their palette, type, and imagery from your brand.

The menus behind the looks

flowchart LR
  A[Briefproduct, logo, audience,length, ratio] --> B[Style brief3 concept candidates,palette with sources]
  B --> C{You approve}
  C --> D[Assetsyour photos & logoor generated via MCP]
  D --> E[Buildindex.html]
  E --> F[Verify framessnap.mjs / ?debug=1]
  F --> G[Your feedback]
  G --> E
  G --> H[DeliverHTML · MP4 · voice-over sync]
  1. Brief the agent. Name the product, attach the logo or site, say who it is for, the length, and the ratio. Mention a style if you have one in mind — the name is enough.
  2. Approve the style brief. The agent answers with three concept candidates, one recommendation, a structure fingerprint, and a palette where every color states its source. Change anything before a line of code is written.
  3. Settle the assets. Your own photos and logo come first. If you have none, the agent can generate them through an image MCP (fictional faces, logos added in code) — or pick a concept that needs no photos.
  4. Let it build. You get one index.html. The agent captures key seconds and checks them against the rules before handing over.
  5. Review and iterate. Open it, scrub with ?debug=1, and describe what feels off. Feedback lands on the same file.
  6. Deliver. Keep the HTML, export MP4 with scripts/export-frames.mjs, or send a voice-over and the timeline re-times itself to it.

Tip: start each new video in a new chat. The skill is read when it is first invoked, and a long chat keeps earlier decisions in context.

Example prompts

Make a 30-second opener for my note-taking app. Logo and screenshots attached.
Build a 45-second product tour of our HR dashboard in the "product tour with claims" style, 16:9.
Promo for a ticketing app in the flat pop with photos style — generate fictional people, 9:16, 20 seconds.
Kinetic typography for our festival announcement: "City of Sound, 3 nights, 48 stages". Loud, color-block.
Explain how a container port works in 60 seconds, visual journalism style, no voice-over.
Promo for our editing app with a screen recording playing inside a laptop mockup, 30 seconds. Clip attached.
A cartoon explainer on why volcanoes erupt, for kids, 9:16, I will send a voice-over later.

Getting better results

  • Say which style, not which scenes. “Grainy gradient” gives you the look; listing a reference’s scenes gives you a copy.
  • Hand over real brand material — logo, site, app screenshots, photos. The palette and shapes are derived from it.
  • Want one specific moment? Ask for it explicitly; otherwise the agent composes new ones.
  • Keep text short. Openers carry one feeling, explainers one argument.

Install

Bang Motion follows the open Agent Skills layout: a folder with SKILL.md (frontmatter + instructions), references/, assets/, scripts/. It also ships as a Claude Code plugin.

As a plugin (Claude Code)

/plugin marketplace add bangtutorial/bang-motion
/plugin install bang-motion@bang-motion

Update later with /plugin marketplace update bang-motion.

Manual (any agent)

git clone https://github.com/bangtutorial/bang-motion
Agent Where it goes
Claude Code ~/.claude/skills/bang-motion (Windows: C:\Users\\.claude\skills\bang-motion)
Codex CLI your Codex skills folder, or add to AGENTS.md: “For motion graphics / explainers, read and follow bang-motion/SKILL.md.”
Gemini CLI · Cursor · others copy into the project and reference SKILL.md from GEMINI.md, .cursor/rules, or the system prompt
Plain chat (no agent) paste SKILL.md + the relevant file in references/ as instructions; attach a starter from assets/

Install one copy only. Two copies with the same skill name (for example a plugin and a manual folder) conflict, and the plugin wins.

The skill triggers on requests like “make an opener…”, “promo video…”, “explainer…”, or a complaint that a web animation “looks like PowerPoint”.

Requirements

To… You need
Watch the result a browser + internet (GSAP and fonts load from a CDN). Nothing else.
Verify frames automatically Node + puppeteer (scripts/snap.mjs) — optional; ?debug=1 works by hand
Export MP4 Node + puppeteer + ffmpeg (scripts/export-frames.mjs) — optional
Sync to voice-over ffmpeg, or nothing: scripts/vo-pauses.html detects pauses in the browser
Use video clips MP4 (H.264) or WebM files in assets/ — optional
Generate images any image MCP the agent can call — optional
Build in After Effects After Effects + the Higgsfield MCP bridge — optional

A deliverable never needs npm install to be watched.

How the rules work

  • Style brief before code — concept, structure fingerprint, palette with sources, display font, background surface and motion, render family, transitions, one special moment.
  • Structure from a menu — three concept candidates per project, at most two “canonical” components, and a different fingerprint from the previous video.
  • Examples are principles, not scripts — openings and endings differ from the concept’s example, signature moments are transformed, and the example’s colors and shapes never carry over.
  • Living typography — sentence case, emphasis by order, size, or pause; word highlights and punctuation only when they add meaning.
  • A background that never sits still — a chosen background motion, and color changes with a visible trigger.
  • Video as footage layers — clips follow the timeline clock, so scrubbing and MP4 export stay frame-accurate.
  • A camera that works — breathing drift, motivated push-throughs, and in UI demos a camera that follows the important clicks.
  • Structural anti-slide checks — no fading sections, a persistent subject or world, at most two text levels, varied transitions with real depth.
  • Readable on phones — no text under 30 px on a 1080-wide stage.

Full detail lives in SKILL.md and references/.

Repository layout

SKILL.md                         rules & workflow (read by the agent)
.claude-plugin/                  plugin + marketplace manifests
references/
  opener-konsep.md               19 opener concepts, UI animation, photos in openers
  anti-ppt.md                    slide patterns → fixes
  techniques.md                  typography, camera, transitions, backgrounds, render families
  explainer.md                   explainer styles, camera recipes, VO re-timing
  kartun-panggung.md             cartoon stage explainers
  architecture.md                stage, camera rig, determinism, export
  ae-bridge-higgsfield.md        building inside After Effects via the MCP bridge
  roadmap.md                     where the skill is heading
assets/
  starter-opener.html            opener / promo architecture (GSAP + Three.js)
  starter-explainer*.html        one starter per explainer style
scripts/
  snap.mjs                       verify: capture key seconds
  export-frames.mjs              export: frame-by-frame PNG → MP4
  vo-pauses.html                 voice-over pause detection, no ffmpeg needed
  serve.py                       no-cache dev server (optional)
  ae/bridge/                     After Effects bridge helpers
docs/gallery/                    README preview images

FAQ

Contributing

Issues and pull requests are welcome. When you add a rule, describe which failure it prevents and offer it as a menu option rather than a single “right answer”. Bump version in SKILL.md and the plugin manifests, and add a line to CHANGELOG.md.

License

MIT © 2026 Bang Tutorial

View the full README on GitHub

Recommended Tools

Try a different keyword or remove a filter.

Install

npx skillfish add bangtutorial/bang-motion
New to MCP? Start with the mcpskill.org guide →