hyperframes
What it does
This skill has the AI write a short animated video from an HTML layout, such as a chart, a text card or a branded clip. It is for people making explainers and social videos from data or text.
When to use it
- βWhen you want an animated chart, dashboard or data explainer turned into a video.
- βWhen you want a quote card, countdown or animated text clip.
- βWhen you want a vertical social clip made from a layout you describe, rather than photo-realistic footage.
Skill link
https://github.com/spinabot/brigade/blob/main/skills/hyperframes/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
βMake a 15-second vertical video that animates a bar chart of our three best-selling products.β
5 new skills a week. 1 minute to read.
How it works
The AI writes a single HTML file with a timeline that controls each moving part. A rendering tool steps through that timeline frame by frame and encodes the frames into an MP4, so the same input gives the same video.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
hyperframes β HTML β deterministic MP4
The render_video tool renders an HTML composition you write into a pixel-exact
MP4. A headless Chrome steps a GSAP master timeline frame by frame, captures one
image per frame, and FFmpeg encodes them β so the same HTML always produces the same
video. This is the right tool for anything programmatic and data-driven; reach for
generate_video only when you need photoreal/AI-generated footage.
Great fits: animated bar/line/donut charts, KPI dashboards, "N facts about X" explainers, quote/announcement cards, kinetic typography, countdowns, before/after reveals, branded intros/outros, vertical social clips.
The composition contract (this is what makes or breaks a render)
Write ONE self-contained HTML document. Two things are mandatory and non-obvious:
- A paused GSAP timeline registered to
window.__timelines[<composition-id>]. HyperFrames seeks this timeline to render each frame. Total video duration =tl.duration()β you do NOT set duration with an attribute. data-*attributes on the root and on every timed element.
Root composition element β required: data-composition-id (must match the
window.__timelines key), data-width, data-height, data-start; plus
data-track-index.
Timed children β data-start + data-track-index on every one; visible
elements (<img>, text/graphic <div>s) also need class="clip"; <img> also
takes data-duration. Do not put data-duration on the root/composition β its
duration comes from the timeline.
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<!-- Load GSAP (see "GSAP + assets" below). -->
<script src="https://cdn.jsdelivr.net/npm/gsap@3/dist/gsap.min.js"></script>
<style>
body { margin: 0; }
.stage { width: 1080px; height: 1920px; position: relative; overflow: hidden;
background: #0b0b12; color: #fff; font-family: system-ui, sans-serif; }
.title { position: absolute; top: 220px; left: 80px; font-size: 96px;
font-weight: 800; opacity: 0; transform: translateY(24px); }
</style>
</head>
<body>
<div class="stage"
data-composition-id="promo"
data-width="1080" data-height="1920"
data-start="0" data-track-index="0">
<div class="title clip" data-start="0" data-duration="4" data-track-index="0">
Ship faster.
</div>
</div>
<script>
// A PAUSED timeline β HyperFrames drives playback by seeking it per frame.
const tl = gsap.timeline({ paused: true });
tl.to(".title", { opacity: 1, y: 0, duration: 0.7, ease: "power2.out" }, 0.4)
.to(".title", { opacity: 0, duration: 0.5, ease: "power2.in" }, 3.5);
// Register under the SAME id as data-composition-id. This is mandatory.
window.__timelines = window.__timelines || {};
window.__timelines["promo"] = tl;
</script>
</body>
</html>
- Vertical
1080Γ1920for TikTok/Reels/Shorts,1920Γ1080for landscape,1080Γ1080for square feed posts. - Frame rate is an engine default (the tool doesn't expose an fps flag) β author for smooth motion at 30fps.
GSAP + assets
The tool renders a single standalone index.html (no project scaffold), so the
composition must bring its own GSAP and assets:
- GSAP: load it via a
<script src="β¦gsap.min.js">(CDN as above) or paste the minified source inline. It must be defined before your timeline script runs. - Assets: embed images/fonts as
data:URIs so nothing depends on external files. - Determinism: never drive motion from
Date.now(),Math.random(),setTimeout, or a hand-rolledrequestAnimationFrameloop β put all motion on the GSAP timeline. Off-timeline animation desyncs from the frame stepper.
Workflow
- Write the composition to the contract above with real data/text (never lorem).
- Call
render_videowith{ html, output_name?, lint? }. It lints, renders in an isolated subprocess (a real render legitimately takes a minute or more), and returns a saved MP4 as aMEDIA:<path>line. - Deliver it with
send_media({ path }). - Handle failures by
errorType:composition_invalidβ read the lint message, fix the HTML, retry.render_failedβ read the stderr excerpt (bad timeline id, missing GSAP, etc.).render_timeoutβ the composition is too heavy; simplify or shorten it.render_unavailableβ the
FAQ
Is this for AI-generated footage?
No. For photo-realistic or AI-generated footage, a separate video generation skill is the better choice.
Does the same input always give the same video?
Yes. Because the timeline is rendered frame by frame, the output is deterministic.
How is the video length set?
The length comes from the timeline inside the file, so the timeline sets the total duration.
Details
Original description by the author
Author HTML compositions that the `render_video` tool turns into deterministic MP4 video β animated charts and dashboards, data explainers, text/quote cards, kinetic typography, product teasers, and branded short-form social clips. Use when the user asks Brigade to make, render, animate, or produce a video from data, text, or a layout (NOT photoreal/AI footage β that's `generate_video`).
repo: spinabot/brigade
Popularity
- GitHub stars
- 11k
- Ranking position
- #11724
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
1password
11kTeaches your agent to set up the 1Password command line tool and sign in safely, then read or inject stored secrets when they are needed.
apple-reminders
11kLets your agent view, add, edit, complete and delete Apple Reminders from the terminal, including lists and date filters.
bluebubbles
11kLets your agent send and manage iMessages through BlueBubbles, including texts, attachments, tapback reactions, edits and group settings.
camsnap
11kLets your agent take snapshots, short clips or watch for motion from network security cameras that you have already set up.
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.