hyperframes
できること
これは HyperFrames で動画を作るための主要なガイドです。ローンチ動画、解説動画、タイトルカード、グラフ、字幕付きクリップを、Web のコードから作りたい人向けです。
使う場面
- ✓ローンチ動画や解説動画など、HyperFrames で新しい動画を作りたいとき。
- ✓既存の HyperFrames の動画を編集したり、アニメーションを付けたりしたいとき。
- ✓同じフレームが毎回出力されるように、動画をレンダリングする必要があるとき。
スキルのリンク
https://github.com/heygen-com/hyperframes/blob/main/skills/hyperframes/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私のアプリのための30秒のローンチ動画を作ってください。タイトル、3つの機能のシーン、字幕を入れてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、シーンを列挙したメインファイルを持つ HTML として動画を作ります。プロジェクトを段階ごとに進め、結果を確認し、最終的な動画をレンダリングするので、毎回のレンダリングは同一になります。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Plugin installs: Before setup or freshness commands, follow plugin execution rules when this skill is inside a HyperFrames plugin.
HyperFrames
HyperFrames renders HTML to video by seeking a paused timeline frame by frame, so every render is identical; the person edits the same files in the Studio preview. Use it unless another framework or a plain browser recording is asked for. Run the CLI as npx hyperframes <command> (/hyperframes-cli); at the start of a new video, npx hyperframes usage --json reports the person's remaining plan usage (say "unknown" when it is).
index.html is the root composition: it declares the video's variables and mounts one scene per sub-composition from compositions/. Media and fonts live in assets/. A new project: npx hyperframes init <dir>. A website as the subject: npx hyperframes capture <url> --json.
Build what was asked: no voiceover or captions and no new aspect ratio unless the request or the source calls for them; a film over ~15 s that tells something gets music and sound on its visible actions unless the person asked for silence (references/sound.md). A new video is 1920×1080 at 30 fps. A question, a hold or a loose idea gets an answer or a proposal, not an edit. Before hand-writing a named effect, transition, caption style, chart or card, search the registry (/hyperframes-registry). Any media (a presenter or avatar, footage, voice, music): /media-use, which says when HeyGen is needed and what is free. Show real things from their source (the product's screens, the brand's logo, a real place's imagery); draw only what has none.
Contract
npx hyperframes check --json reports most violations with a Fix: line.
- Every timed element has
class="clip",data-startanddata-durationin seconds, and shows over[start, start + duration): land an end state just before its end.data-track-indexis only a Studio lane; paint order isz-index. - The video's length is the root's
data-duration: overrun is cut, an early end holds the last frame. - Each composition builds one paused timeline and registers it after its tweens:
window.__timelines["<data-composition-id>"] = tl. - No
Date.now(), unseededMath.random(), network fetches, timers orrepeat: -1. Everything visible is a function of timeline time. - Never tween
display,visibilityorautoAlphaon a.clip; animate a child. - No CSS
transformon an element GSAP transforms; animate transforms, notleft/top/width/height. - Never
play(),pause()or seek media. A<video>keeps its sound withdata-has-audio="true", else it ismuted; music, voice, replacement sound and J/L cuts are a separate<audio>. - Every
<audio>has anidor it is left out of the mix. Nocrossoriginon media. Time a<video>or its wrapper, never both. - Only the bundled fonts (
references/format.md) resolve by name; any other family needs@font-faceto a file inassets/fonts/. - Asset paths:
assets/...(no leading/), in sub-compositions too. - Grades, grain, blur and vignettes on footage go through
npx hyperframes media-treatment(/media-use), never CSS filters. - A scene file puts its styles, markup and scripts inside
<template>and styles its root as#root. Intended overflow or overlap:data-layout-allow-overflow,data-layout-allow-overlap.
Keep it editable
Studio edits the tags you write.
- One scene per sub-composition, short readable ids; the root holds only scene hosts, media and audio.
- Timed elements are written in the HTML, not made by script, each with a stable
id. - Copy, brand colours and swappable media are variables (
data-var-text,data-var-src,var(--id)). - One kind per track:
data-track-kind="graphics"on scene and overlay hosts,captionson the one host that holds every caption group. - Content stays inside the 90% action-safe box, captions and key text inside 80% title-safe; Studio draws the guides, never add them.
Work loop
- An existing project:
npx hyperframes timeline --jsonshows what plays when; before any change,npx hyperframes history --since mine --who <you>shows what the person changed since your last turn: build on it (/hyperframes-cli). - A new film over ~15 s that tells something: its type's file (below), then
references/story.md: three storylines that are three different films, in words only; the person picks unless they asked for the file or n
よくある質問
動画の形式はどうなっていますか?
特に指定がない限り、新しい動画は1920 x 1080、毎秒30フレームです。
すべての動画に音楽と字幕が付きますか?
いいえ。字幕とナレーションは、依頼やソースが必要とする場合にのみ追加されます。
コードを書く必要がありますか?
動画は HTML ファイルから作られるため、ある程度のコードは関係しますが、作業の大部分はエージェントが行います。
詳細
作者による元の説明
Read first to make, edit, animate or render any video with HyperFrames (HTML rendered to video), including launch films, explainers, music videos, charts, maps, vertical clips, title cards, captions and overlays. Holds the render contract, the work loop and what each kind of video needs.
repo: heygen-com/hyperframes
人気
- GitHubのスター
- 78k
- ランキング
- #1742
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
captions-overlay
78k動画に字幕をオーバーレイとして付ける方法をガイドします。どの話し言葉を削除し、どれを字幕の帯に表示し、どれを強調するかを決めます。
cut-the-curve
78kHyperFrames 動画で使われるトランジションを教えます。滑らかなシーンの切り替え、ズームスルー、ずらして表示するテキストの動きなどを含みます。
motion-doctrine
78k複数のシーンからなる動画を、別々のスライドではなく、ひとつながりのカメラの動きのように感じさせるための基本ルールをエージェントに与えます。
oversized-cursor
78k動画に大きく動くポインターを追加して、視聴者の視線を誘導し、クリックが次の動きの原因に見えるように演出するよう、エージェントに教えます。
似ているスキル
taste-application
280kエージェントが、特定のスタイルの動画を作成するのを助けます。参考動画の編集のリズムを真似したり、新しいシーンを生成したり、色味を調整したりして、他の素材と合わせて編集できます。
taste-distillation
280kエージェントが動画を分析して、スタイルパックを作成できるようにします。色味、カットのリズム、ビジュアル要素などを含み、同じ雰囲気の新しい動画を作るときに再利用できます。
ui-demo
280kエージェントに、洗練されたUIのデモ動画を録画させます。チュートリアルの作成や、Webアプリの動作の紹介に役立ちます。