motion-doctrine
What it does
This skill sets the overall motion rules for HyperFrames videos with several scenes. It is for video makers who want the scenes to flow together instead of looking like stacked slides.
When to use it
- βWhen you are about to build an animated video with several scenes.
- βWhen your scenes look like separate slides that stop and start at every cut.
- βWhen you want the motion between scenes to feel smooth and connected.
Skill link
https://github.com/heygen-com/hyperframes/blob/main/.agents/skills/motion-doctrine/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βMy video scenes feel choppy. Make the motion flow like one continuous shot.β
5 new skills a week. 1 minute to read.
How it works
It explains how each scene's exit should set up the next scene's entry, keeping direction and speed consistent across cuts. It also sets checks to run before rendering.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Motion Doctrine (Gateway)
Read this before composing any animation. It decides WHAT happens at every seam and how every scene performs; the technique skills implement it. These rules supersede generic / upstream motion guidance. The failure this prevents: scenes authored in isolation β the eye's momentum dies at every cut, and scenes wobble in place between entry and exit.
Route map
| Decision (this skill) | Implementation skill |
|---|---|
| Seam transition choice + parameters + code | cut-the-curve Β§1β5 (the catalog) |
| Text / element entry cascades | cut-the-curve Β§6 (waterfall entry) |
| In-scene group repositioning (no cut) | cut-the-curve Β§7 (nudge curve) |
| Cursor-led action / scene kickoff / morph ignition | oversized-cursor |
| Seam render mechanics / white-flash guard | seam-craft |
| Product-launch / explainer / caption work | overlays text-beat-economics, brand-faithful, captions-overlay on top of the upstream skill |
Authoring order: vector ledger (ledger.json) β STAMP the master seams from it
(scripts/seam-stamp.mjs --ledger ledger.json --write index.html) β sustained-motion
route per phase β carriers and causes β build comps β VERIFY (scripts/seam-gate.mjs).
Hand-author only Tier-A morphs/match-cuts; stamped seams pass the gate by construction.
Part 1 β The Seam Law
The Vector Law
How Scene A exits determines how Scene B enters: same axis, same direction, matched speed, cut mid-motion on both sides.
- Axis β x stays x, y stays y, Z stays Z. Never trade axes across a cut.
- Direction β never mirror. On Z, direction = the SIGN of scale change: growing = push (camera forward), shrinking = pull (camera back). A receding exit answered by a grow-from-small entry is a mirrored vector β the most common violation, because grow-from-small is the default element entrance.
- Speed β entry initial velocity β exit final velocity, via mirrored eases (exit
power4.in+ entrypower4.out, same distance and duration; the incoming side picks up β₯50% through the notional path). Mechanics incut-the-curve. - Phase β the cut lands mid-motion on BOTH sides. Settling to rest before the cut, or starting from rest after it, is a dead beat.
The Current
Every film picks ONE dominant direction (house default: LEFT). Every ordinary seam uses it. Other vectors are RESERVED β spending one means something:
| Vector | Meaning |
|---|---|
| The current (LEFT) | "next beat" β neutral forward progress |
| Upward | elevation β a conclusion or reveal rises above what came before |
| Z forward (zoom-through) | pushing deeper into the same thought |
| Z backward (inverse zoom) | ARRIVAL β something bigger lands |
| Scale-burst (explode out) | leaving a world β a surface blasts past camera |
- Never run consecutive seams in opposing directions β ping-pong reads as an error.
- A direction change needs a visible cause (click / bounce / impact) or a chapter boundary.
The Vector Ledger
Write it before authoring any master timeline β as ledger.json at the project root
(schema: references/seam-gate.md). One row per seam: cut time, exit and entry vectors
(axis + signed direction; Z rows carry the scale sign), selectors, technique. Exit and
entry must match; if a row mismatches, fix the plan, not the easing. The verifier checks
row consistency statically before any runtime sampling.
Carriers
The eye follows objects, not abstractions. The strongest seams hand a concrete carrier across the cut at mat
FAQ
What does this skill do compared with the others?
It is the gateway rule set. Other skills, such as cut-the-curve, carry out the details.
What is the film's current?
It is the overall motion flow that carries the eye from one scene into the next.
Does it cover cursor animation?
It routes cursor-led actions to a separate skill for oversized cursors.
Details
Original description by the author
GATEWAY β load FIRST before composing any HyperFrames animation or video. The high-level motion law that makes a multi-scene video feel like ONE continuous camera move instead of a stack of independently-animated slides. Covers the vector law (how you exit determines how you enter, incl. the Z scale-sign rule), the film's current, carrier elements, causal motion, the Seam Gate (build-gate enforcement), the ban on idle wobble (motion must PERFORM, not breathe), stillness-before-climax, and the sustained-motion routes. Routes to the low-level technique skills (cut-the-curve β the full catalog in
repo: heygen-com/hyperframes
Popularity
- GitHub stars
- 78k
- Ranking position
- #1729
- License
- Apache-2.0
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
captions-overlay
78kGuides your agent on adding captions to a video as an overlay, deciding which spoken lines to drop, show on a rail, or highlight.
cut-the-curve
78kTeaches your agent the transitions used in HyperFrames videos, such as smooth scene cuts, zoom-throughs, and staggered text entries.
oversized-cursor
78kTeaches your agent to add a large, animated pointer to a video that guides the viewer's eye and makes clicks feel like they cause the next action.
seam-craft
78kExplains how to make scene-to-scene transitions in a HyperFrames video look clean, with no white flashes or see-through dips at the cut.
Similar skills
blender-motion-state-inspection
280kAllows inspection of details in 3D animations. It's useful for checking poses, movements, and character alignment in animations.
manim-video
280kLets your agent create animated explainer videos. It uses Manim to generate clear graphs and diagrams for technical concepts.
remotion-video-creation
280kGuides your agent in creating videos using React with the Remotion library. It covers best practices for animations, audio, captions, and other visual elements.