Communitygithub.com

motion-master

The complete house video-editing and motion-design system with two editing styles. SOCIAL VIRAL (reels, Shorts, TikTok, podcast clips, talking head): face-tracked camera, original footage colours, our own 2D animated B-roll (paper-monochrome style, no stock clips), light leak / white flash / dip transitions (no lens flare), background music, big-emphasis-word captions. PRODUCT EXPLAINER (SaaS explainers, demos, UI videos from scratch): static, zoom-to-element and 3D camera moves, realistic minimal UI, Apple-style product text. Every category has rules per style. Builds on the HyperFrames and Remotion engine skills (loads them alongside, rules mapped to both). Use it EVERY time a video is created, edited, captioned or animated (HyperFrames, Remotion, GSAP, CSS, Three.js, Blender), before any new video (it asks the style first), and when the user mentions reels, shorts, podcast clips, explainers, demos, B-roll, stock footage, face tracking, reframing, transitions, light leaks, UI animati

What is motion-master?

motion-master is a Cursor agent skill that the complete house video-editing and motion-design system with two editing styles. SOCIAL VIRAL (reels, Shorts, TikTok, podcast clips, talking head): face-tracked camera, original footage colours, our own 2D animated B-roll (paper-monochrome style, no stock clips), light leak / white flash / dip transitions (no lens flare), background music, big-emphasis-word captions. PRODUCT EXPLAINER (SaaS explainers, demos, UI videos from scratch): static, zoom-to-element and 3D camera moves, realistic minimal UI, Apple-style product text. Every category has rules per style. Builds on the HyperFrames and Remotion engine skills (loads them alongside, rules mapped to both). Use it EVERY time a video is created, edited, captioned or animated (HyperFrames, Remotion, GSAP, CSS, Three.js, Blender), before any new video (it asks the style first), and when the user mentions reels, shorts, podcast clips, explainers, demos, B-roll, stock footage, face tracking, reframing, transitions, light leaks, UI animati.

Works with~Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/WEBTROS/motion-master-video-editing-skill/tree/HEAD/skills/motion-master

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

Motion Master

One editing system. Two styles. Six categories, each with rules for both styles. It combines the house skills: smooth-keyframes (the animator's pass) and caption-styles (the two text styles), plus camera, elements, colour and transitions - and it builds on two engines: HyperFrames (/hyperframes, /hyperframes-cli, /hyperframes-registry, /media-use) and Remotion (/remotion:remotion-best-practices and its sub-skills).

Engine - load it with this skill

Motion Master says what the video looks and moves like; the engine skill says how to build and render it. Load both every time.

  • HyperFrames is the default (all templates and scripts here are built for it). Load /hyperframes first and follow its contract and work loop; use /hyperframes-registry before hand-building any transition or overlay, and /media-use for music, SFX and footage treatment.
  • Remotion when the person asks for it, the project already uses it, or the video lives inside a React app / is data-driven. Load /remotion:remotion-best-practices and follow its router (create, markup, captions, multimedia, studio, render).
  • Every house rule (camera, captions, B-roll, colour, transitions, music, keyframes, check, render) mapped to both engines: references/engines/build-engines.md. Read it before building.
  • Say which engine you picked when you confirm the plan in Step 0. Style rules come from Motion Master; code rules come from the engine.

Step 0 - ask first (every new video)

Before planning anything, ask these two questions (use AskUserQuestion when it's available), unless the person has already answered them:

  1. Which editing style do you want?
    • Social viral - Instagram / Reels / Shorts / TikTok style: we edit your footage (talking head, podcast, interview) with face-tracked camera, B-roll, transitions and big-word captions.
    • Product explainer - from scratch: a SaaS explainer, software demo or UI video, built with animated UI, camera moves and clean product text.
  2. What is the video for? (platform, audience, the one thing a viewer should remember / do, length)

Engine: HyperFrames unless the person asks for Remotion or the project already uses it (see "Engine" above).

Then confirm what you understood in a few plain sentences before building. If the footage or script is missing, ask for it.

Step 1 - follow the style's map

Social viral (edit the person's footage)

CategoryRule in one lineReadTools
CameraFace always centred: auto face-tracking, smooth glide, snap on cuts, optional punch-ins on emphasisreferences/camera/social-camera.mdscripts/face-track.py
CaptionsSocial captions: one big emphasis word chosen by meaning, small words around it, word-by-word blur reveal on speech; placed a little below the middle (not dead-centre), a very light black gradient from the bottom behind them, always inside the Instagram safe areareferences/captions/social-captions.md, references/captions/build-hyperframes.mdscripts/group-words.mjs
Elements / B-rollA-roll = the speaker; B-roll = our own 2D animations only (paper-monochrome style: off-white paper, greyscale cut-out objects, kinetic text, one accent) covering most of the video. No stock video or stock photos. No AI slopreferences/elements/social-broll.mdHyperFrames (SVG/CSS)
ColourSpeaker footage keeps its original look - never grade, dim or change contrast. Render with --sdr and check brightness vs source. B-roll = paper greyscale + one accent; captions stay whitereferences/colour/accents.mdrender --sdr, signalstats
TransitionsA-roll ↔ B-roll with light leak, white flash, dip to black - cut under the peak. No lens flarereferences/transitions/social-transitions.mdregistry items
MusicStock background music bed under every reel, ~-20 dB under the voice, fades out with the videoreferences/audio/social-music.md/media-use, browser (free music sites)
KeyframesAnimator's pass on everything that movesreferences/keyframes/animators-pass.mdscripts/curve.mjs

Template: assets/templates/social-reel.html (camera + B-roll + transitions + captions wired together). Captions only: assets/templates/social-captions.html.

Order of work:

  1. Transcript with word times (npx hyperframes transcribe, or the person's SRT/JSON).
  2. face-track.py → camera.json (+ cut list). Check preview.mp4.
  3. accent-colors.py → palette.json (only for the light-leak tint).
  4. group-words.mjs --cuts … → captions.json (hero words chosen by meaning - check them).
  5. Beat sheet: which lines get a 2D animation beat (most of them - 55-70 % of the runtime), what object / text / accent, which transition. Show it before building.
  6. Pick the background music (references/audio/social-music.md); ask before downloading unless already allowed.
  7. Build the 2D beats as full-frame paper scenes from the template, then Step 2. Render with --sdr.

Product explainer (build from scratch)

CategoryRule in one lineReadTools
CameraMix of static shots, smooth zoom in/out on the UI element the voice names, and 3D moves; one move at a time, hold after landingreferences/camera/product-camera.mdfocus() / wide() in the template
Captions / textProduct text: one centred line at a time, blur / rise / slide / camera-pass / pop / mask, gradient only on big wordsreferences/captions/product-text.mdassets/templates/product-text.html
Elements / UIRealistic, minimal, sleek UI; only what the script needs; nothing floating; readable (≥ 28 px)references/elements/product-ui.md/unslop for screens
ColourBrand palette: one background, one ink, one accent, one gradient for big typereferences/colour/accents.md (product section)-
TransitionsMotion, not effects: camera carry, blur dissolve, push, match cut, text bridgereferences/transitions/product-transitions.md-
KeyframesAnimator's pass on everything that movesreferences/keyframes/animators-pass.mdscripts/curve.mjs

Template: assets/templates/product-explainer.html (text line → 3D entrance → static hold → zoom to a KPI → pan to a button → cursor click → pull back while a chart draws → brand word). Text only: assets/templates/product-text.html.

Order of work:

  1. Script → scenes: for each line, what is on screen, which camera shot (static / zoom / 3D), which text line.
  2. Show the scene list before building.
  3. Build the UI for each scene (the person's real product if there is one), then the camera, then the text, then Step 2.

Step 2 - check before render

  1. node <motion-master>/scripts/curve.mjs audit <project> - fix every flag, or mark a deliberate one with // curve-ok: <reason>.
  2. HyperFrames: npx hyperframes check - fix errors; read warnings (first_frame_empty on a text-first opening is a choice - say so). Remotion: open npx remotion studio --no-open in the in-app browser and npx remotion still the key frames.
  3. HyperFrames: npx hyperframes snapshot --at "<key moments>" (Remotion: the stills) and look: faces centred, captions readable and off the face, B-roll matches the words, transitions peak on the cut, UI text readable, nothing floating or random.
  4. Render (HyperFrames --sdr for social footage; Remotion /remotion:remotion-render), then watch it once start to finish and compare the speaker's brightness with the source (references/colour/accents.md).

Always

  • No AI slop. Every element answers "what word in the script does this show?". No random particles, glows, orbs, emoji, sparkles, filler cards, vague stock footage.
  • Media is never transformed directly: pans, zooms and pushes go on a wrapper around the <video> / <img>.
  • Keyframes follow the animator's pass in both styles (arrivals ease out with a long tail, exits ease in, moves between rests ease in-out, nothing linear except spins, progress and constant drifts).
  • Ask before downloading anything (stock clips, models, fonts): name, site, size, licence.
  • Captions in social style stay white; colour lives in B-roll and graphics.
  • Social viral: never change the speaker footage's colour, contrast or brightness; no lens flare; B-roll is our own 2D animation (never stock clips); always a background music bed; captions a little below the middle (never dead-centre), over a very light bottom black gradient, always inside the Instagram safe area (y 288-1248, x 120-888).

Scripts (all in <motion-master>/scripts/)

ScriptDoesNeeds
face-track.py <video> --out camera.json [--size 1080x1920] [--zoom 1.15] [--face-y 0.42] [--preview preview.mp4]cut detection + face tracking → smooth camera keys per shotPython, opencv-python, numpy
accent-colors.py <video> [--out palette.json] [--swatch palette.png]3 accent colours from the gradePython, opencv-python, numpy
group-words.mjs <transcript.json> [--cuts 2.37,7.27] [--duration 23.1] [--out captions.json]groups words into captions and picks the hero wordNode
curve.mjs audit | bezier | ae | preset | chainkeyframe audit + After Effects ↔ cubic-bezier toolsNode

Related Skills