Install
$ agentstack add skill-saranambiar-hyperframes-video-agent-skills-hyperframes-scene-builder ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
HyperFrames Scene Builder
Use this skill when implementing or revising a HyperFrames scene. This skill assumes HyperFrames is the render engine and the scene source is HTML/CSS/JS.
Project Conventions
Prefer this layout for video projects:
compositions/
renders/
assets/
snapshots/
assembly/
captions/
tools/
Use one composition per meaningful scene or reusable sub-scene. Keep files small enough to inspect and diff.
Composition Rules
- Define an explicit composition root with
data-composition-id,data-width,data-height, and timing metadata where the project uses it. - Register GSAP timelines under the matching composition ID.
- Scope selectors to the composition root when scenes are nested.
- Avoid global selectors that can mutate other sub-compositions.
- Prefer reusable HTML/CSS components for repeated cards, labels, charts, rings, logo rows, and panels.
- Keep media paths relative to the composition project.
GSAP Timeline Rules
- Use paused timelines for deterministic seekable animation.
- Place important moments at named labels or exact seconds.
- Use
setfor initial state. - Use
fromTowhen CSS transforms already exist. - Avoid accidental opacity-only transitions when the request asks for physical or material motion.
- Avoid bounce/rebound unless the user explicitly asks for it.
- Keep final frame stable enough for proof extraction.
Render Loop
Typical commands:
npx hyperframes preview
npx hyperframes lint
npx hyperframes render --composition compositions/scene-name.html --output renders/scene-name.mp4 --fps 24 --quality draft --workers 2
Use higher FPS or quality only when the scene is approved or when testing frame-rate-specific motion.
Visual QA
After rendering:
- Extract first-frame, key-beat, and final-frame PNGs.
- Compare reference-image scenes against the final frame, not only the opening frame.
- Check text fit at desktop/video resolution.
- Check that hidden duplicated frames in following scenes are updated.
- Check theme colors in CSS, SVG fills/strokes, and inline styles.
Common Fixes
- If a scene transition forgets a new label or visual, patch the next scene's carryover frame too.
- If timeline objects appear too early, verify initial
opacity, path progress, and node visibility. - If path points appear before the line reaches them, reveal points on line-progress milestones.
- If text gets clipped by a ring or card, reduce the full system scale instead of only shrinking the label.
- If product UI is cropped after a zoom, use no-crop or dynamic crop rather than a fixed aggressive crop.
Output
Return changed composition files, render command used, render path, and proof frame paths.
File Organization Guidance
Prefer:
- One HTML file per scene.
- Small sub-compositions for reusable sections.
- Shared design tokens near the top of the file.
- Component functions or repeated class patterns for repeated visuals.
- Asset paths that are easy to replace.
Avoid:
- One giant file for a full video.
- Inline magic numbers without comments for timeline-critical values.
- Duplicated colors that should be tokens.
- Hidden copies of final frames without comments.
- Global CSS that affects all mounted scenes.
Timeline Authoring Checklist
For every timeline:
- Set all initial states at time
0. - Name or comment important cue times.
- Keep object reveal order aligned to narration.
- Use path progress for charts and line drawings.
- Reveal graph points when the path reaches them.
- Keep labels visible long enough to read.
- Add final ambient motion only after main layout lands.
- Avoid animations after the final hold unless ambient and subtle.
Text And Layout QA
Before rendering final:
- Check long words fit their containers.
- Check captions will not cover key scene text.
- Check chart labels do not overlap paths.
- Check logo rows have spacing and no separator artifacts unless intended.
- Check cards and tables are not oversized.
- Check final frame matches reference scale.
- Check mobile is not relevant unless output is responsive web, not fixed video.
Render Strategy
Use draft renders while iterating:
- Lower worker count if GPU/Chrome becomes unstable.
- Use exact requested FPS for final.
- Render only changed scenes after a surgical edit.
- Keep old renders until the replacement is verified.
- Generate proof frames from the rendered MP4, not only browser screenshots.
HyperFrames-Specific Risks
Watch for:
- Timeline ID mismatches.
- Unscoped selectors in nested compositions.
- GSAP overwriting existing CSS transforms.
- CDN or font loading differences between preview and render.
- Video/image assets not resolving in render workers.
- Large files becoming hard for agents to inspect.
Component Patterns
Useful reusable scene components:
GlassPanelLogoRowCaptionSafeAreaChartFramePathCurvePointRevealCameraSwipeFinalFrameCarryoverCTAStack
These do not need to be formal JS classes. They can be CSS classes, HTML snippets, or helper functions as long as future agents can find and reuse them.
Proof Frame Checklist
Extract:
- First frame.
- First major reveal.
- Midpoint of main animation.
- User-requested timestamp.
- Final frame.
- Next-scene carryover start if relevant.
Handoff Format
Report:
- Composition path.
- Render path.
- FPS and duration.
- Proof frame paths.
- Known lint warnings.
- Whether warnings are pre-existing or introduced.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: saranambiar
- Source: saranambiar/hyperframes-video-agent-skills
- License: Apache-2.0
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.