hyperframes
यह क्या करती है
यह स्किल AI को HTML लेआउट से एक छोटा एनिमेटेड वीडियो बनाने देती है, जैसे चार्ट, टेक्स्ट कार्ड या ब्रांडेड क्लिप। यह उन लोगों के लिए है जो डेटा या टेक्स्ट से व्याख्यात्मक और सोशल वीडियो बनाना चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप एक एनिमेटेड चार्ट, डैशबोर्ड या डेटा व्याख्या को वीडियो में बदलना चाहते हों।
- ✓जब आपको कोट कार्ड, काउंटडाउन या एनिमेटेड टेक्स्ट क्लिप चाहिए।
- ✓जब आप फ़ोटो-जैसे वास्तविक फ़ुटेज की बजाय आपके बताए लेआउट से वर्टिकल सोशल क्लिप बनवाना चाहते हों।
Skill का लिंक
https://github.com/spinabot/brigade/blob/main/skills/hyperframes/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“एक 15 सेकंड का वर्टिकल वीडियो बनाइए जिसमें हमारे तीन सबसे ज़्यादा बिकने वाले उत्पादों का बार चार्ट एनिमेट हो।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
AI एक HTML फ़ाइल लिखता है जिसमें एक टाइमलाइन हर चलते हिस्से को नियंत्रित करती है। एक रेंडरिंग टूल उस टाइमलाइन पर फ़्रेम-दर-फ़्रेम चलता है और फ़्रेम को MP4 में बदलता है, इसलिए एक ही इनपुट से हमेशा एक ही वीडियो बनता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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
अक्सर पूछे जाने वाले सवाल
क्या यह AI से बने फ़ुटेज के लिए है?
नहीं। फ़ोटो-जैसे वास्तविक या AI से बने फ़ुटेज के लिए कोई अलग वीडियो जनरेशन स्किल बेहतर है।
क्या एक ही इनपुट हमेशा एक ही वीडियो देता है?
हाँ। टाइमलाइन फ़्रेम-दर-फ़्रेम रेंडर होती है, इसलिए आउटपुट एक जैसा रहता है।
वीडियो की लंबाई कैसे तय होती है?
लंबाई फ़ाइल के भीतर की टाइमलाइन से आती है, इसलिए टाइमलाइन ही कुल अवधि तय करती है।
जानकारी
लेखक का मूल विवरण
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
लोकप्रियता
- GitHub स्टार
- 11k
- रैंकिंग में स्थान
- #11724
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
1password
11kयह आपके एजेंट को 1Password कमांड लाइन टूल सेट करना और सुरक्षित तरीके से साइन इन करना सिखाती है, फिर ज़रूरत पर संग्रहीत सीक्रेट पढ़ने या डालने देती है।
apple-reminders
11kयह आपके एजेंट को टर्मिनल से Apple Reminders देखने, जोड़ने, बदलने, पूरा करने और हटाने देती है, जिसमें सूचियाँ और तारीख के फ़िल्टर भी शामिल हैं।
bluebubbles
11kयह आपके एजेंट को BlueBubbles के ज़रिए iMessage भेजने और संभालने देती है, जिसमें टेक्स्ट, अटैचमेंट, टैपबैक रिएक्शन, संपादन और ग्रुप सेटिंग्स शामिल हैं।
camsnap
11kयह आपके एजेंट को उन नेटवर्क सिक्योरिटी कैमरों से स्नैपशॉट, छोटी क्लिप लेने या मूवमेंट पर नज़र रखने देती है, जो आप पहले से सेट कर चुके हैं।
मिलती-जुलती skills
blender-motion-state-inspection
280kयह 3D animations की बारीक details देखने देता है। poses, movements और character alignment जाँचने के लिए यह उपयोगी है।
manim-video
280kआपके एजेंट को animated explainer videos बनाने देता है। यह तकनीकी विषयों के लिए साफ़ graphs और diagrams बनाने के लिए Manim का इस्तेमाल करता है।
remotion-video-creation
280kआपके एजेंट को Remotion लाइब्रेरी के साथ React में वीडियो बनाने का तरीका बताता है। इसमें animations, audio, captions और दूसरे विज़ुअल एलिमेंट्स के बेस्ट प्रैक्टिस शामिल हैं।