hyperframes: Skill for Claude Code

.agents/skills/motion-doctrine/SKILL.md

motion-doctrine is a skill for Claude Code from heygen-com/hyperframes. It costs 187 tokens per session (2,392 once invoked), scanned A, original, Apache-2.0.

A set of rules for planning movement in HyperFrames animations and videos. It coordinates how one scene exits, how the next scene enters, and how elements move within scenes.

In plain words
What is it for?
Use it before composing HyperFrames animations, especially for scene transitions, text arrivals, group movement, cursor actions, captions, and launch or explainer videos. It defines the planning order for movement, seams, and visual causes.
Why use it?
It prevents each scene from feeling like an isolated slide and keeps visual momentum across the whole video. It also routes different animation jobs to the techniques meant to handle them.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: installed under .agents/ (shared by several agents).

This is heygen-com/hyperframes's own configuration. It tells Claude Code how to work on hyperframes itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything hyperframes configures →

Part of the hyperframes plugin — 22 skills, 1 hook, 1 MCP server shipped together

About the project

HyperFrames is an open-source framework that turns HTML, CSS, media, and timed animations into deterministic MP4 videos. It is used locally, by coding agents, and in hosted authoring workflows to create rendered videos from web-based designs. Its catalogue add-ons provide skills, agents, instructions, hooks, settings, and a plugin for agent-driven video production.

heygen-com/hyperframes · 93,401 stars · on GitHub · hyperframes.studio

Reuse

Borrowing it

Nothing to install: this file belongs to heygen-com/hyperframes. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/heygen-com/hyperframes/main/.agents/skills/motion-doctrine/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/heygen-com/hyperframes

Made for: Claude Code.

Or install hyperframes, the plugin that ships this one along with the rest of its 22 skills, 1 hook, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for motion-doctrine

README.md
[![agentmods](https://agentmods.dev/badge/skills/heygen-com/hyperframes/motion-doctrine/github.svg)](https://agentmods.dev/skills/heygen-com/hyperframes/motion-doctrine)
Your own site
<a href="https://agentmods.dev/skills/heygen-com/hyperframes/motion-doctrine"><img src="https://agentmods.dev/badge/skills/heygen-com/hyperframes/motion-doctrine/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for motion-doctrine

Your own site · 80×15
<a href="https://agentmods.dev/skills/heygen-com/hyperframes/motion-doctrine"><img src="https://agentmods.dev/badge/skills/heygen-com/hyperframes/motion-doctrine.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 187 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,392 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 24 Aug 2026
  • Snyk pass 24 Aug 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Prompt Injection · line 20
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 21
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 127
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00187 $0.02392
Opus 5.5 $0.00075 $0.00957
Sonnet 5.5 $0.00037 $0.00478
Haiku 4.5 $0.00019 $0.00239

Measured 2mo ago against content hash d4d20aa33a57, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

motion-doctrine scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/seam-gate.mjs, scripts/seam-stamp.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/motion-doctrine/SKILL.md · 176 lines

How it starts

The opening of the file, as written. The whole thing — 176 lines — stays where its author put it; the contents beside it link to each section on 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

Read the full file on GitHub · 176 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · +2 lines d4d20aa33a57
  2. 3mo ago First seen · 174 lines · 187 tokens per session scan A 04ef48092fd5

Subscribe to this mod's changes

motion-doctrine is a skill published in the GitHub repository heygen-com/hyperframes (93,401 stars, last pushed today), licensed Apache-2.0. It adds 187 tokens to every session and 2,392 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

motion-doctrine compared with skills from other repositories

motion-doctrine next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
motion-doctrineheygen-com/hyperframesSkill93ktodayApache-2.0A187Claude Code
html-to-videowx4766/html-to-videoSkill21313d agoMITA400Claude Code, Codex
motion2codelovisdotio/motion2codeSkill3671mo agoMITA187Claude Code, Codex
remotionoyi77/1ai-skillsSkill19todayMITA54Claude Code
audio-reactive-animationoyi77/1ai-skillsSkill19todayMITA67Claude Code
validate-motionMasterPlayspots/motionspecSkill26d agoMITA52Claude Code, Codex
audit-motionMasterPlayspots/motionspecSkill26d agoMITA56Claude Code, Codex