hyperframes
Skill1 starsChanged 41 days agoMITView on GitHub
Create HyperFrames HTML video compositions — animations, title cards, overlays, captions, GSAP timelines, registry blocks/components, voiceovers, audio-reactive visuals, and scene transitions. Use when asked to build any HTML-based video content, write GSAP animations, add captions or subtitles, generate TTS narration, use registry blocks (hyperframes add), add transitions between scenes, or create any visual motion content. For CLI commands (init, lint, preview, render, transcribe, tts) and Minis rendering (hf-render.py), see the hyperframes-cli skill.
96 other projects use a version of this, 33 of them edited.
Adopted by
Most recently taken up by
- Ertinox7711/SGRR-AGI-V2edited, first seen Nov 29, 2026
- heymegabyte/claude-skillstheir own version, first seen Nov 29, 2026
- heymegabyte/agent-skillstheir own version, first seen Nov 29, 2026
- london160771/claude-skillstheir own version, first seen Nov 29, 2026
- panterdhd-boop/CLAUDE_SKILLStheir own version, first seen Nov 29, 2026
- ios3kov/codex-skillstheir own version, first seen Nov 29, 2026
Used with
Projects with it also use hyperframes-video-beats, cut-mistakes and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
nateherkaiSkillhyperframes-video-beats
Plan, write, time, style, and validate motion-graphic beats for long-form talking-head HyperFrames videos. Use when Codex is asked to add or improve visual beats, glassmorphism lower thirds, crumpled-paper full-screen takeovers, transcript-synced callouts, pacing coverage, YouTube retention graphics, or render-ready overlays in an existing HyperFrames video project.
Also in 6 projects that use this
nateherkaiSkillcut-mistakes
Agent 2 of the video editing pipeline. Finds and removes spoken mistakes — stutters, repeated words, false starts, and retakes (re-recorded lines) — from a talking-head recording. Use after cut-silences, when asked to cut mistakes, remove stutters / repeats / filler restarts, clean up flubs, or keep the best take. Works review-gated: it proposes every cut with context and a reason for approval, then renders only the approved cuts via ffmpeg. Requires a word-level transcript.
Also in 5 projects that use this
antoineblc99Skillshort-form-edit
Turn talking-head footage into a finished reel, YouTube Short, or short advertisement with curiosity-led openings, earned payoffs, story-driven cuts, transcript-synced motion graphics, moving B-roll, captions, subtle music, and synchronized sound effects. Use for short-form editing; use edit-video for long-form videos and cut-silences for pause removal alone.
Also in 5 projects that use this
MaikozortSkillstyle-sampling
Make a new episode in a proven video style - Collage Explainer, Finance Explainer, Animated Science Explainer, 3D Brand Explainer, 3D True Crime - on the person's topic. Use for "an episode of", "in the style of", "sample this style", 「用这个风格做一集」. One video to copy is reverse-any-video.
Also in 5 projects that use this
LangChainSkillhyperframes-keyframes
Use when a HyperFrames composition needs a punch-in, punch-out, zoom, reframe, Ken Burns treatment, camera move, visual match/whip handoff, or other seek-safe 2D/3D keyframes; also for GSAP, CSS keyframes, Anime.js, WAAPI, FLIP, paths, masks, SVG morph/draw, text trails, 3D depth, or `hyperframes keyframes` diagnostics. Don't use for broad scene strategy, brand design, media sourcing, captions, or general video planning.
Also in 20 projects that use this
MaikozortSkillreverse-any-video
Rebuild any video file as an editable HyperFrames project - motion graphics, talking heads, live action or AI-generated footage - checked against the original frame by frame. Use to reverse, recreate, remake, replicate or copy a video, or 「复刻这个视频」「照着这个视频做一个」.
Also in 5 projects that use this
- +1 more from nateherkai
Other versions96 projects use a version of this.
Word for word · 1
- OpenMinis/MinisSkills★ 638100% same
Edited · 33
- openai/plugins★ 8.4k82% same
- nateherkai/hyperframes-student-kit★ 2.2k84% same
- nateherkai/herk-edit-kit★ 1.5k84% same
- ChrisChen667788/wind-comic★ 72957% same
- boraoztunc/skills★ 47357% same
- notivn/AIEVv2★ 13683% same
- notivn/AIEV★ 13283% same
- itgoyo/hermes-skills★ 5382% same
- anton-abyzov/vskill★ 4757% same
- nateherkai/hyperframes-video-pipeline★ 2184% same
23 more not listed
Wrote their own version · 62
- heygen-com/hyperframes★ 92ksame name
- calesthio/OpenMontage★ 84ksame name
- OpenMontageInc/OpenMontage★ 84ksame name
- spinabot/brigade★ 11ksame name
- edenfunf/reelmimic★ 2ksame name
- Unclecheng-li/AI_Animation★ 1.7ksame name
- langchain-ai/design-agent★ 780same name
- EvovexAI/EvoFlow★ 709same name
- duyet/clickhouse-monitoring★ 306same name
- cafe3310/public-agent-skills★ 258same name
52 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository59 other files it gives its agents.
- answer-me-with-htmlSkill
- bilibili-hubSkill
- brand-docxSkill
- brand-pptxSkill
- brand-xlsxSkill
- browser-useSkill
- Clash 控制器Skill
- cloudflare-dnsSkill
- codex-imageSkill
- contact-vcard-extractorSkill
- data-cleaning-for-excelSkill
- deck-refreshSkill
- document-polisherSkill
- doubao-ttsSkill
- douyin-downloaderSkill
- evidence-chain-builderSkill
- exa-searchSkill
- excel-hygieneSkill
- formula-audit-checkerSkill
- free-ttsSkill
- frontend-designSkill
- fucai3d-latestSkill
- generative-ui-minisSkill
- github-sync-helperSkill
- hello-demoSkill
- ib-check-deckSkill
- inputs-calcs-outputs-designSkill
- maimai-hubSkill
- memos-apiSkill
- mermaid-to-vsdxSkill
- model-architecture-templateSkill
- nano-bananaSkill
- network-engineeringSkill
- notion-hubSkill
- openstreetmap-markerSkill
- packet-tracerSkill
- pdf-converterSkill
- pivot-table-builderSkill
- pktSkill
- production-agent-publicSkill
- qbt-hubSkill
- quark-hubSkill
- reverse-dcfSkill
- scenario-managerSkill
- self-improving-agentSkill
- spotify-hubSkill
- tavily-searchSkill
- tg-hubSkill
- twitter-downloaderSkill
- twitter-x-hubSkill
- webapp-testingSkill
- web-artifacts-builderSkill
- web-content-extractorSkill
- weibo-hubSkill
- whenpeakSkill
- xianyu-hubSkill
- xiaohongshu-hubSkill
- youtube-downloaderSkill
- ytmusic-hubSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
29 rules. 0 are common, 13 are distinctive, and 16 are very specific to this project.
0
Common
Most of the 90 edited versions we read keep these.
13
Distinctive
This author's own choices. Worth a look.
16
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 38
Before writing HTML, think at a high level:
- Distinctive: line 51
Before writing ANY composition HTML, you MUST have a visual identity defined.
- Distinctive: line 53
Check in this order:
- Very specific: line 64
Every composition must trace its palette and typography back to a DESIGN.md, visual-style.md, or explicit user direction.
- Very specific: line 269
All timelines start { paused: true } — the player controls playback
- Distinctive: line 273
Never create empty tweens to set duration
- Very specific: line 279
GSAP: Only animate visual properties (opacity, x, y, scale, rotation, color, backgroundColor, borderRadius, transforms).
- Distinctive: line 281
Animation conflicts: Never animate the same property on the same element from multiple timelines simultaneously.
- Very specific: line 285
Synchronous timeline construction: Never build timelines inside async/await, setTimeout, or Promises.
- Very specific: line 290
Use video for audio — always muted video + separate <audio>
- Very specific: line 292
Use data-layer (use data-track-index) or data-end (use data-duration)
- Very specific: line 294
Call play/pause/seek on media — framework owns playback
- Very specific: line 295
Create a top-level container without data-composition-id
- Very specific: line 296
Use repeat: -1 on any timeline or tween — always finite repeats
- Very specific: line 298
Use gsap.set() on clip elements from later scenes — they don't exist in the DOM at page load.
- Distinctive: line 303
Every multi-scene composition MUST follow ALL of these rules.
- Distinctive: line 305
ALWAYS use transitions between scenes: No jump cuts. No exceptions.
- Very specific: line 306
ALWAYS use entrance animations on every scene: Every element animates IN via gsap.from().
- Distinctive: line 334
Don't repeat an entrance pattern within a scene
- Distinctive: line 335
Avoid full-screen linear gradients on dark backgrounds (H.264 banding — use radial or solid + localized glow)
- Very specific: line 339
When no visual-style.md or animation direction is provided, follow house-style.md for aesthetic defaults.
- Very specific: line 344
Add crossorigin="anonymous" to external media
- Very specific: line 346
All files live at the project root alongside index.html.
- Distinctive: line 350
Read the full composition first — match existing fonts, colors, animation patterns
- Distinctive: line 351
Only change what was requested
- Very specific: line 378
Use --no-contrast to skip if iterating rapidly and you'll check later.
- Distinctive: line 382
After authoring animations, run the animation map to verify choreography:
- Distinctive: line 399
Read the JSON. Scan summaries for anything unexpected.
- Very specific: line 435
repeat safety rule: Never use repeat: -1. Calculate max repeats that fit within DURATION:
“Common” is measured: kept by at least 6 in 10 of the 90 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
HyperFrames
First time? Run the environment check before starting:
python3 /var/minis/skills/hyperframes-cli/scripts/check-env.pyThis verifies
minis-browser-use,ffmpeg, and required skills are installed. Ifhyperframes-cliskill is missing, install it:python3 /var/minis/skills/hyperframes-cli/scripts/install-skill.py \ hyperframes-cli --repo heygen-com/hyperframes --subdir skills
HTML is the source of truth for video. A composition is an HTML file with data-* attributes for timing, a GSAP timeline for animation, and CSS for appearance. The framework handles clip visibility, media playback, and timeline sync.
Approach
Before writing HTML, think at a high level:
- What — what should the viewer experience? Identify the narrative arc, key moments, and emotional beats.
- Structure — how many compositions, which are sub-compositions vs inline, what tracks carry what (video, audio, overlays, captions).
- Timing — which clips drive the duration, where do transitions land, what's the pacing.
- Layout — build the end-state first. See "Layout Before Animation" below.
- Animate — then add motion using the rules below.
For small edits (fix a color, adjust timing, add one element), skip straight to the rules.
Visual Identity Gate
<HARD-GATE>
Before writing ANY composition HTML, you MUST have a visual identity defined. Do NOT write compositions with default or generic colors.Check in this order:
- DESIGN.md exists in the project? → Read it. Use its exact colors, fonts, motion rules, and "What NOT to Do" constraints.
- visual-style.md exists? → Read it. Apply its
style_prompt_fulland structured fields. (Note:visual-style.mdis a project-specific file.visual-styles.mdis the style library with 8 named presets — different files.) - User named a style (e.g., "Swiss Pulse", "dark and techy", "luxury brand")? → Read visual-styles.md for the 8 named presets. Generate a minimal DESIGN.md with:
## Style Prompt(one paragraph),## Colors(3-5 hex values with roles),## Typography(1-2 font families),## What NOT to Do(3-5 anti-patterns). - None of the above? → Ask 3 questions before writing any HTML:
- What's the mood? (explosive / cinematic / fluid / technical / chaotic / warm)
- Light or dark canvas?
- Any specific brand colors, fonts, or visual references? Then generate a minimal DESIGN.md from the answers.
Every composition must trace its palette and typography back to a DESIGN.md, visual-style.md, or explicit user direction. If you're reaching for #333, #3b82f6, or Roboto — you skipped this step.
</HARD-GATE>
For motion defaults, sizing, entrance patterns, and easing — follow house-style.md. The house style handles HOW things move. The DESIGN.md handles WHAT things look like.
Layout Before Animation
Position every element where it should be at its most visible moment — the frame where it's fully entered, correctly placed, and not yet exiting. Write this as static HTML+CSS first. No GSAP yet.
Why this matters: If you position elements at their animated start state (offscreen, scaled to 0, opacity 0) and tween them to where you think they should land, you're guessing the final layout. Overlaps are invisible until the video renders. By building the end state first, you can see and fix layout problems before adding any motion.
The process
- Identify the hero frame for each scene — the moment when the most elements are simultaneously visible. This is the layout you build.
- Write static CSS for that frame. The
.scene-contentcontainer MUST fill the full scene usingwidth: 100%; height: 100%; padding: Npx;withdisplay: flex; flex-direction: column; gap: Npx; box-sizing: border-box. Use padding to push content inward — NEVERposition: absolute; top: Npxon a content container. Absolute-positioned content containers overflow when content is taller than the remaining space. Reserveposition: absolutefor decoratives only. - Add entrances with
gsap.from()— animate FROM offscreen/invisible TO the CSS position. The CSS position is the ground truth; the tween describes the journey to get there. - Add exits with
gsap.to()— animate TO offscreen/invisible FROM the CSS position.
Example
/* scene-content fills the scene, padding positions content */
.scene-content {
display: flex;
flex-direction: column;
justify-content: center;
width: 100%;
height: 100%;
padding: 120px 160px;
gap: 24px;
box-sizing: border-box;
}
.title {
font-size: 120px;
}
.subtitle {
font-size: 42px;
}
/* Container fills any scene size (1920x1080, 1080x1920, etc).
Padding positions content. Flex + gap handles spacing. */WRONG — hardcoded dimensions and absolute positioning:
.scene-content {
position: absolute;
top: 200px;
left: 160px;
width: 1920px;
height: 1080px;
display: flex; /* ... */
}// Step 3: Animate INTO those positions
tl.from(".title", { y: 60, opacity: 0, duration: 0.6, ease: "power3.out" }, 0);
tl.from(".subtitle", { y: 40, opacity: 0, duration: 0.5, ease: "power3.out" }, 0.2);
tl.from(".logo", { scale: 0.8, opacity: 0, duration: 0.4, ease: "power2.out" }, 0.3);
// Step 4: Animate OUT from those positions
tl.to(".title", { y: -40, opacity: 0, duration: 0.4, ease: "power2.in" }, 3);
tl.to(".subtitle", { y: -30, opacity: 0, duration: 0.3, ease: "power2.in" }, 3.1);
tl.to(".logo", { scale: 0.9, opacity: 0, duration: 0.3, ease: "power2.in" }, 3.2);Multi-scene compositions: one container per scene
When a composition has multiple scenes that appear sequentially (A exits, then B enters), never put all scenes' elements in a single shared flex container. Even though each element starts at opacity: 0, flex still allocates height for every child. With 5 scenes worth of content in one container, the container's total height far exceeds the stage height — flex justify-content: center then centers content relative to that oversized container, pushing the visible content outside the screenshot crop.
WRONG — all scenes in one flex container:
<div class="scene-content"> <!-- flex column, height:100% -->
<!-- Scene A elements -->
<div id="title-a" style="opacity:0">Title A</div>
<div id="body-a" style="opacity:0">Body A</div>
<!-- Scene B elements — also take up flex height even when invisible -->
<div id="title-b" style="opacity:0">Title B</div>
<div id="body-b" style="opacity:0">Body B</div>
<!-- Scene C ... -->
</div>RIGHT — each scene is its own absolute layer:
<!-- Scene A -->
<div class="scene" id="scene-a">
<div id="title-a" style="opacity:0">Title A</div>
<div id="body-a" style="opacity:0">Body A</div>
</div>
<!-- Scene B — zero height impact on Scene A -->
<div class="scene" id="scene-b">
<div id="title-b" style="opacity:0">Title B</div>
<div id="body-b" style="opacity:0">Body B</div>
</div>/* Each scene fills the stage independently */
.scene {
position: absolute;
inset: 0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 80px 120px;
box-sizing: border-box;
z-index: 2;
gap: 24px;
}This is the only correct pattern for sequential scenes. The position: absolute; inset: 0 on each scene container does NOT conflict with the "Layout Before Animation" guideline — that guideline bans absolute-positioning content elements (titles, cards, stats) at hardcoded pixel offsets. Scene containers that fill the full stage via inset: 0 are correct and required.
When elements share space across time
If element A exits before element B enters in the same area, both should have correct CSS positions for their respective hero frames. The timeline ordering guarantees they never visually coexist — but if you skip the layout step, you won't catch the case where they accidentally overlap due to a timing error.
What counts as intentional overlap
Layered effects (glow behind text, shadow elements, background patterns) and z-stacked designs (card stacks, depth layers) are intentional. The layout step is about catching unintentional overlap — two headlines landing on top of each other, a stat covering a label, content bleeding off-frame.
Data Attributes
All Clips
| Attribute | Required | Values |
id | Yes | Unique identifier |
data-start | Yes | Seconds or clip ID reference ("el-1", "intro + 2") |
data-duration | Required for img/div/compositions | Seconds. Video/audio defaults to media duration. |
data-track-index | Yes | Integer. Same-track clips cannot overlap. |
data-media-start | No | Trim offset into source (seconds) |
data-volume | No | 0-1 (default 1) |
data-track-index does not affect visual layering — use CSS z-index.
Composition Clips
| Attribute | Required | Values |
data-composition-id | Yes | Unique composition ID |
data-start | Yes | Start time (root composition: use "0") |
data-duration | Yes | Takes precedence over GSAP timeline duration |
data-width / data-height | Yes | Pixel dimensions (1920x1080 or 1080x1920) |
data-composition-src | No | Path to external HTML file |
Composition Structure
Sub-compositions loaded via data-composition-src use a <template> wrapper. Standalone compositions (the main index.html) do NOT use <template> — they put the data-composition-id div directly in <body>. Using <template> on a standalone file hides all content from the browser and breaks rendering.
Sub-composition structure:
<template id="my-comp-template">
<div data-composition-id="my-comp" data-width="1920" data-height="1080">
<!-- content -->
<style>
[data-composition-id="my-comp"] {
/* scoped styles */
}
</style>
<script src="https://cdn.jsdelivr.net/npm/gsap@3.14.2/dist/gsap.min.js"></script>
<script>
window.__timelines = window.__timelines || {};
const tl = gsap.timeline({ paused: true });
// tweens...
window.__timelines["my-comp"] = tl;
</script>
</div>
</template>Load in root: <div id="el-1" data-composition-id="my-comp" data-composition-src="compositions/my-comp.html" data-start="0" data-duration="10" data-track-index="1"></div>
Video and Audio
Video must be muted playsinline. Audio is always a separate <audio> element:
<video
id="el-v"
data-start="0"
data-duration="30"
data-track-index="0"
src="video.mp4"
muted
playsinline
></video>
<audio
id="el-a"
data-start="0"
data-duration="30"
data-track-index="2"
src="video.mp4"
data-volume="1"
></audio>Timeline Contract
- All timelines start
{ paused: true }— the player controls playback - Register every timeline:
window.__timelines["<composition-id>"] = tl - Framework auto-nests sub-timelines — do NOT manually add them
- Duration comes from
data-duration, not from GSAP timeline length - Never create empty tweens to set duration
Rules (Non-Negotiable)
Deterministic: No Math.random(), Date.now(), or time-based logic. Use a seeded PRNG if you need pseudo-random values (e.g. mulberry32).
GSAP: Only animate visual properties (opacity, x, y, scale, rotation, color, backgroundColor, borderRadius, transforms). Do NOT animate visibility, display, or call video.play()/audio.play().
Animation conflicts: Never animate the same property on the same element from multiple timelines simultaneously.
No repeat: -1: Infinite-repeat timelines break the capture engine. Calculate the exact repeat count from composition duration: repeat: Math.ceil(duration / cycleDuration) - 1.
Synchronous timeline construction: Never build timelines inside async/await, setTimeout, or Promises. The capture engine reads window.__timelines synchronously after page load. Fonts are embedded by the compiler, so they're available immediately — no need to wait for font loading.
Never do:
- Forget
window.__timelinesregistration - Use video for audio — always muted video + separate
<audio> - Nest video inside a timed div — use a non-timed wrapper
- Use
data-layer(usedata-track-index) ordata-end(usedata-duration) - Animate video element dimensions — animate a wrapper div
- Call play/pause/seek on media — framework owns playback
- Create a top-level container without
data-composition-id - Use
repeat: -1on any timeline or tween — always finite repeats - Build timelines asynchronously (inside
async,setTimeout,Promise) - Use
gsap.set()on clip elements from later scenes — they don't exist in the DOM at page load. Usetl.set(selector, vars, timePosition)inside the timeline at or after the clip'sdata-starttime instead. - Use
<br>in content text — forced line breaks don't account for actual rendered font width. Text that wraps naturally + a<br>produces an extra unwanted break, causing overlap. Let text wrap viamax-widthinstead. Exception: short display titles where each word is deliberately on its own line (e.g., "THE\nIMMORTAL\nGAME" at 130px).
Scene Transitions (Non-Negotiable)
Every multi-scene composition MUST follow ALL of these rules. Violating any one of them is a broken composition.
- ALWAYS use transitions between scenes. No jump cuts. No exceptions.
- ALWAYS use entrance animations on every scene. Every element animates IN via
gsap.from(). No element may appear fully-formed. If a scene has 5 elements, it needs 5 entrance tweens. - NEVER use exit animations except on the final scene. This means: NO
gsap.to()that animates opacity to 0, y offscreen, scale to 0, or any other "out" animation before a transition fires. The transition IS the exit. The outgoing scene's content MUST be fully visible at the moment the transition starts. - Final scene only: The last scene may fade elements out (e.g., fade to black). This is the ONLY scene where
gsap.to(..., { opacity: 0 })is allowed.
WRONG — exit animation before transition:
// BANNED — this empties the scene before the transition can use it
tl.to("#s1-title", { opacity: 0, y: -40, duration: 0.4 }, 6.5);
tl.to("#s1-subtitle", { opacity: 0, duration: 0.3 }, 6.7);
// transition fires on empty frameRIGHT — entrance only, transition handles exit:
// Scene 1 entrance animations
tl.from("#s1-title", { y: 50, opacity: 0, duration: 0.7, ease: "power3.out" }, 0.3);
tl.from("#s1-subtitle", { y: 30, opacity: 0, duration: 0.5, ease: "power2.out" }, 0.6);
// NO exit tweens — transition at 7.2s handles the scene change
// Scene 2 entrance animations
tl.from("#s2-heading", { x: -40, opacity: 0, duration: 0.6, ease: "expo.out" }, 8.0);Animation Guardrails
- Offset first animation 0.1-0.3s (not t=0)
- Vary eases across entrance tweens — use at least 3 different eases per scene
- Don't repeat an entrance pattern within a scene
- Avoid full-screen linear gradients on dark backgrounds (H.264 banding — use radial or solid + localized glow)
- 60px+ headlines, 20px+ body, 16px+ data labels for rendered video
font-variant-numeric: tabular-numson number columns
When no visual-style.md or animation direction is provided, follow house-style.md for aesthetic defaults.
Typography and Assets
- Fonts: Just write the
font-familyyou want in CSS — the compiler embeds supported fonts automatically. If a font isn't supported, the compiler warns. - Add
crossorigin="anonymous"to external media - For dynamic text overflow, use
window.__hyperframes.fitTextFontSize(text, { maxWidth, fontFamily, fontWeight }) - All files live at the project root alongside
index.html; sub-compositions use../
Editing Existing Compositions
- Read the full composition first — match existing fonts, colors, animation patterns
- Only change what was requested
- Preserve timing of unrelated clips
Output Checklist
npx hyperframes lintandnpx hyperframes validateboth pass- Contrast warnings addressed (see Quality Checks below)
- Animation choreography verified (see Quality Checks below)
Quality Checks
Contrast
hyperframes validate runs a WCAG contrast audit by default. It seeks to 5 timestamps, screenshots the page, samples background pixels behind every text element, and computes contrast ratios. Failures appear as warnings:
⚠ WCAG AA contrast warnings (3):
· .subtitle "secondary text" — 2.67:1 (need 4.5:1, t=5.3s)If warnings appear:
- On dark backgrounds: brighten the failing color until it clears 4.5:1 (normal text) or 3:1 (large text, 24px+ or 19px+ bold)
- On light backgrounds: darken it
- Stay within the palette family — don't invent a new color, adjust the existing one
- Re-run
hyperframes validateuntil clean
Use --no-contrast to skip if iterating rapidly and you'll check later.
Animation Map
After authoring animations, run the animation map to verify choreography:
node skills/hyperframes/scripts/animation-map.mjs <composition-dir> \
--out <composition-dir>/.hyperframes/anim-mapOutputs a single animation-map.json with:
- Per-tween summaries:
"#card1 animates opacity+y over 0.50s. moves 23px up. fades in. ends at (120, 200)" - ASCII timeline: Gantt chart of all tweens across the composition duration
- Stagger detection: reports actual intervals (
"3 elements stagger at 120ms") - Dead zones: periods over 1s with no animation — intentional hold or missing entrance?
- Element lifecycles: first/last animation time, final visibility
- Scene snapshots: visible element state at 5 key timestamps
- Flags:
offscreen,collision,invisible,paced-fast(under 0.2s),paced-slow(over 2s)
Read the JSON. Scan summaries for anything unexpected. Check every flag — fix or justify. Verify the timeline shows the intended choreography rhythm. Re-run after fixes.
Skip on small edits (fixing a color, adjusting one duration). Run on new compositions and significant animation changes.
References (loaded on demand)
- references/captions.md — Captions, subtitles, lyrics, karaoke synced to audio. Tone-adaptive style detection, per-word styling, text overflow prevention, caption exit guarantees, word grouping. Read when adding any text synced to audio timing.
- references/tts.md — Text-to-speech with Kokoro-82M. Voice selection, speed tuning, TTS+captions workflow. Read when generating narration or voiceover.
- references/audio-reactive.md — Audio-reactive animation: map frequency bands and amplitude to GSAP properties. Read when visuals should respond to music, voice, or sound.
- references/css-patterns.md — CSS+GSAP marker highlighting: highlight, circle, burst, scribble, sketchout. Deterministic, fully seekable. Read when adding visual emphasis to text.
- references/typography.md — Typography: font pairing, OpenType features, dark-background adjustments, font discovery script. Always read — every composition has text.
- references/motion-principles.md — Motion design principles: easing as emotion, timing as weight, choreography as hierarchy, scene pacing, ambient motion, anti-patterns. Read when choreographing GSAP animations.
- visual-styles.md — 8 named visual styles (Swiss Pulse, Velvet Standard, Deconstructed, Maximalist Type, Data Drift, Soft Signal, Folk Frequency, Shadow Cut) with hex palettes, GSAP easing signatures, and shader pairings. Read when user names a style or when generating DESIGN.md.
- house-style.md — Default motion, sizing, and color palettes when no style is specified.
- patterns.md — PiP, title cards, slide show patterns.
- data-in-motion.md — Data, stats, and infographic patterns.
- references/transcript-guide.md — Transcription commands, whisper models, external APIs, troubleshooting.
- references/dynamic-techniques.md — Dynamic caption animation techniques (karaoke, clip-path, slam, scatter, elastic, 3D).
- references/transitions.md — Scene transitions: crossfades, wipes, reveals, shader transitions. Energy/mood selection, CSS vs WebGL guidance. Always read for multi-scene compositions — scenes without transitions feel like jump cuts.
- transitions/catalog.md — Hard rules, scene template, and routing to per-type implementation code.
- Shader transitions are in
@hyperframes/shader-transitions(packages/shader-transitions/) — read package source, not skill files.
GSAP Quick Reference
gsap.to(targets, vars) — to current state. gsap.from() — from vars. gsap.fromTo() — explicit start+end. gsap.set() — instant.
Key vars: duration (s), ease ("power2.out", "expo.out", "back.out(1.7)", "elastic.out(1,0.3)", "sine.inOut"), stagger (number or {amount, from}), repeat (never -1 — calculate finite count), yoyo, immediateRender.
Transform aliases: x/y/z (px), xPercent/yPercent (%), scale/scaleX/scaleY, rotation, rotationX/Y, skewX/Y, transformOrigin. Use autoAlpha over opacity (also sets visibility:hidden at 0).
Timeline position parameter: 0 (absolute), "+=0.2" (after end), "-=0.1" (before end), "<" (same start as prev), "<0.2" (0.2s after prev starts), "label".
repeat safety rule: Never use repeat: -1. Calculate max repeats that fit within DURATION:
repeat: Math.floor((DURATION - startTime) / cycleDuration) - 1Full GSAP reference: gsap/SKILL.md — timelines, easing, stagger, performance, effects.
Registry Blocks & Components
Install reusable blocks/components via hyperframes add <name> (or on Minis: curl the registry JSON and copy files manually).
hyperframes add data-chart # block (standalone sub-composition)
hyperframes add grain-overlay # component (snippet to paste in)Blocks → wire via data-composition-src in index.html:
<div data-composition-id="data-chart"
data-composition-src="compositions/data-chart.html"
data-start="2" data-duration="15"
data-track-index="1" data-width="1920" data-height="1080"></div>Components → paste HTML/CSS/JS snippet directly into your composition.
Browse catalog: curl -s https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/registry.json
Full registry reference: hyperframes-registry/SKILL.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

