본문으로 건너뛰기
Skillpedia
모션 및 애니메이션11k · #11724

hyperframes

하는 일

이 스킬은 AI가 차트, 텍스트 카드, 브랜드 클립 같은 HTML 레이아웃으로 짧은 애니메이션 영상을 쓰도록 합니다. 데이터나 텍스트로 설명 영상과 소셜 영상을 만드는 사람들을 위한 스킬입니다.

사용하는 경우

  • ✓애니메이션 차트, 대시보드 또는 데이터 설명을 영상으로 만들고 싶을 때.
  • ✓인용 카드, 카운트다운 또는 애니메이션 텍스트 클립을 원할 때.
  • ✓사실적인 실사 영상이 아니라 설명한 레이아웃으로 세로형 소셜 클립을 만들고 싶을 때.

스킬 링크

https://github.com/spinabot/brigade/blob/main/skills/hyperframes/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/spinabot/brigade/blob/main/skills/hyperframes/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“우리 가장 잘 팔리는 제품 세 개의 막대 차트를 애니메이션으로 보여 주는 15초짜리 세로 영상을 만들어 주세요.”

매주 새 스킬 5개. 읽는 데 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:

  1. 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.
  2. 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×1920 for TikTok/Reels/Shorts, 1920×1080 for landscape, 1080×1080 for 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-rolled requestAnimationFrame loop — put all motion on the GSAP timeline. Off-timeline animation desyncs from the frame stepper.

Workflow

  1. Write the composition to the contract above with real data/text (never lorem).
  2. Call render_video with { 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 a MEDIA:<path> line.
  3. Deliver it with send_media({ path }).
  4. 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
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬