Communitygithub.com

heygen-com/hyperframes

motion-graphics

hyperframes とは?

モーション・グラフィックス・スキルは、AIエージェントが短く、デザイン主導でナレーションなしのモーション・グラフィックを作成するための自律的なワークフローを提供します。このスキルは、資産(アセット)を最初に取得し、実際の素材を基にショットをデザインし、再利用可能なカタログコンポーネントを使用して構築する、アセットファーストのアプローチを採用しています。主な機能には、検索駆動型とフォーム型のカテゴリ(キネティックタイプ、統計、チャート、ロゴリビール、ウェブページ、ニュース、ツイートなど)が含まれ、プロジェクトの種類に応じて最適なワークフローを選択できます。Claude Codeやその他のAIエージェントと連携し、計画、ソース、デザイン、ビルド、検証、承認、レンダリングの各フェーズを自動化することで、高速で高品質なモーション・グラフィック・プロジェクトの制作を実現します。

対応~Claude Code~Codex CLI✓Cursor✓Gemini CLI
npx skills add https://github.com/heygen-com/hyperframes/tree/main/skills/motion-graphics

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

プラグインのインストール: セットアップまたは更新コマンドの前に、このスキルがHyperFramesプラグイン内にある場合は、プラグイン実行ルールに従ってください。スタンドアロンインストールの場合は、以下の更新手順を維持してください。

まず、このスキルを最新の状態に保ってください — 実行前にユーザーに確認してください: npx hyperframes skills update motion-graphics。すべてが最新の場合は高速なno-opです。そうでない場合は、このスキルと、それが依存するコアドメインスキルを、それらに依存する前に更新します。

figma ソース: 構築元のロゴ/アセット/アニメーションがfigma.comのURLから来る場合は、最初に /figma を実行してください — アセットのエクスポート、ブランドトークン、およびグラフィックがFigma Motionのインポートである場合はMotion→GSAP変換 — 次にその出力から構築します。生のMCPツールを直接介してFigmaを操作しないでください。それはSVGサニタイゼーション、.media/manifest.jsonlの来歴、およびブランドトークンのvar()バインディングをスキップするため、後でブランド変更が行われても、完全な再インポートなしでは伝播できません。

motion-graphics — ディスパッチエントリ

正面玄関は /hyperframes です。 このスキルは、短く、デザイン主導で、ナレーションなしのモーション・グラフィックを作成します(モーションがメッセージです。約10秒未満、ナレーションなし)。それより長いもの、ナレーション付き、またはマルチシーンのもの — または不確かな場合 → 最初に /hyperframes を読んでください:インテントレイヤーがすべてのルート決定を所有します。

このワークフローは自律的設計です — 最大でも1つの明確化質問(agents/director.md)の後、中間レビューなしで検証まで構築します。インテントレイヤー(/hyperframes → references/intent-interview.md)は、実行形状に関する質問なしに直接ここにルーティングします。ストーリーボードとコンパニオンセッションは、このような短い作品にはほとんど価値を追加しません。レンダリングは依然としてユーザーがゲートします:チェックとプルーフスナップショットが合格した後、../hyperframes/references/brief-contract.md からの標準的な「プレビューするか、それともレンダリングするか?」の質問を尋ねます。BRIEF.md が存在する場合は、ディレクターの質問の前にそれを読んでください。

短いデザイン主導のモーション・グラフィック。アセットファースト:ショットをデザインする前に、アセット戦略を決定し実際の素材をソーシングし、次に持っているものを中心にショットをデザインし、カタログ機能を再利用して構成します。すべてのアーティファクトは PROJECT_DIR = videos/<project-name>/(ステップ0で作成)に配置されます。以下のすべてのパスは、それを基準にした相対パスです。

フェーズ実行主要アーティファクト詳細フロー
initBashhyperframes.jsonステップ0
planサブエージェント — 検索するか決定? + 分類 + アセット戦略shot-plan.json(ドラフト:カテゴリ、asset_needs クエリ、概要)agents/director.md (パート1)
source ◇Bash — メディア使用解決 (asset_needs が空の場合はスキップ)assets/ + assets/index.mdphases/source/guide.md
designサブエージェント — 解決されたアセットを中心としたショットデザインshot-plan.json (最終: ブロック + レイアウト + モーション + 位置)agents/director.md (パート2)
buildサブエージェント — 再利用ファーストな構成compositions/index.htmlagents/builder.md
verifyBash — lint, check, プルーフスナップショット; 失敗時に修復snapshots/contact-sheet.jpgステップ5
approveプレビューまたはレンダリングを尋ねる; 回答を待つ明示的なレンダリング承認ステップ6
renderBash — hyperframes render (MP4、またはオーバーレイの場合は --format webm/mov)renders/video.mp4 または透明オーバーレイステップ6

◇ source は、選択されたカテゴリがアセットを宣言している場合にのみ実行されます。純粋なコード/テキストカテゴリ(例:kinetic-type、ほとんどの charts/stat)は asset_needs: [] を持ち、計画から直接デザインにスキップします。

カテゴリ — 検索判断による分割

plan の最初の判断は:検索が必要かどうか? です。このフォークはカテゴリを2つのグループに分割します。その後、特定のカテゴリが選択されます — 検索駆動型の場合は、検索が返すコンテンツのタイプによって決定されます。各カテゴリは categories/<id>/module.md(その計画とビルドルール)です。共有のモーションボキャブラリは references/motion-vocabulary.md(→ hyperframes-animation ルール/ブループリント + レジストリブロック)にあります。

フォームカテゴリ — 検索不要。ユーザーがコンテンツを提供します:

カテゴリインテント依存先
kinetic-typeパンチライン / 引用 / タイトル、モーションファーストテキストcaption-* ブロック + アニメーションルール
stat単一のヒーロー数字 / カウントアップ + リングapple-money-count / rules/{counting-dynamic-scale, stat-bars-and-fills}
chartsデータからの棒 / 折れ線 / 円 / レース / %data-chart ブロック
logo-revealロゴスティング / ブランドロックアップ (ユーザーロゴ)logo-outro / rules/svg-path-draw
lower-thirds名前 / タイトルバー、コールアウト、ソーシャルオーバーレイcaption-* + レジストリオーバーレイブロック
maps地理的モーション — 地域をハイライト、場所を接続、場所にズームイン (ベクターレーン、またはベイクされたベースマップレーン)us-map / world-map ファミリー + bake-basemap.mjs

検索駆動型カテゴリ — 最初に検索し、次にコンテンツタイプでアニメーション化 (RWAパス):

返されるコンテンツカテゴリアニメーション
ウェブページ / リンクwebpageウェブページ / UIアニメーション (スクロール、リビール、カーソル、コールアウト)
ニュース記事news見出しリビール + ソースカード + キーファクトコールアウト
ツイートtweetアニメーションツイートカード
画像 / エンティティasset-fusionアセットの形状が チャートになる (RWAダイジェティックフュージョン)

ビルド順序:一度に1つずつ、カバレッジファースト(ラフでも可)。kinetic-type はプロトタイプから移植。残りはこれに従います。

前提条件

macOS Apple Silicon または Linux x64。システムツール: brew install node ffmpeg。npx hyperframes doctor を一度実行。macOS GPUレンダリング: export PRODUCER_BROWSER_GPU_MODE=hardware。

オプションのキー(設定されていない場合はローカルフォールバック)— メディア使用を介してアセットをソーシング/生成するカテゴリにのみ必要:

キー使用目的フォールバック
GEMINI_API_KEY / GOOGLE_API_KEY画像生成 (メディア使用解決)生成をスキップ / 検索のみ
(asset_scout / 検索プロバイダー)webpage/news/tweet + asset-fusion 実在アセット検索カテゴリはアセットフリーに低下

フロー

ステップ0 — 初期化

cwdはエージェントワークスペースルート。すべてのアーティファクトを PROJECT_DIR = videos/<project-name>/ の下に書き込みます。<project-name>: ユーザーが指定したディレクトリを使用し、そうでない場合はインテントから短いケバブケース名 (<subject>-motion) を使用します。ワークスペースのベース名やタイムスタンプは使用しないでください。

$PROJECT_DIR/hyperframes.json が存在しない場合のみ:

PROJECT_DIR="${MOTION_GRAPHICS_DIR:-videos/<project-name>}"
mkdir -p "$(dirname "$PROJECT_DIR")"
npx hyperframes init "$PROJECT_DIR" --non-interactive --example=blank --skill=motion-graphics

init はインストールされているスキルをGitHub上の最新と比較し、いずれかが古い場合はグローバルセットを更新します。

制約: ワークスペースルートで hyperframes init を決して実行しないでください。PROJECT_DIR 内に別の hyperframes/ をネストしないでください。すべてのBashコマンド(マスター + サブエージェント)は、(cd "$PROJECT_DIR" && ...) サブシェルです — 裸の cd は絶対に使用しないでください。

ステップ1 — 計画 (サブエージェント: ディレクター パート1)

1つのサブエージェントをディスパッチします。プロンプト = agents/director.md 全文 + ## Dispatch context (SKILL_DIR / PROJECT_DIR / ユーザーのリクエスト / Schema: <SKILL_DIR>/references/shot-plan-ir.md)。以下のことを実行する必要があります:

  1. 決定: これには検索が必要か? (最初のフォーク)
    • いいえ → フォームカテゴリ (kinetic-type / stat / charts / logo-reveal / lower-thirds) を選択。コンテンツはユーザーが提供。asset_needs: []。
    • はい → 検索計画 を asset_needs[] に出力 (ニュース / ウェブ / ツイート / 画像; 二極クエリ)。特定の 検索駆動型カテゴリ (webpage / news / tweet / asset-fusion) は、ステップ2で返されるコンテンツタイプによって確認され、ステップ3で確定されます。
  2. ドラフト shot-plan.json を書き込みます (エンベロープ + 選択されたフォームカテゴリ または 検索インテント + asset_needs + 1段落のショット概要)。スキーマ: references/shot-plan-ir.md。

検証: [ -s "$PROJECT_DIR/shot-plan.json" ] && echo ok || echo missing。

ステップ2 — ソース ◇ (Bash: メディア使用、条件付き)

shot-plan.json.asset_needs が空でない場合、アセットを解決します (検索 / 生成 / 取得 → フリーズされたプロジェクトローカルパス + 台帳)。phases/source/guide.md を参照 (media-use resolve をラップ。検索駆動型カテゴリはニュース/ウェブ/ツイート/画像検索を使用)。asset_needs が空の場合は、ステップ3にスキップします。

# 参考 — phases/source/guide.md を参照
(cd "$PROJECT_DIR" && node <SKILL_DIR>/phases/source/resolve.mjs --plan ./shot-plan.json --out ./assets)

優雅に低下: 検索/プロバイダーが利用できない場合、カテゴリはアセットフリーにフォールバックします (context.log に記録)。

ステップ3 — デザイン (サブエージェント: ディレクター パート2)

サブエージェントをディスパッチ (プロンプト = agents/director.md パート2 + 解決された assets/index.md (ステップ2が実行された場合) を含むディスパッチコンテキスト + catalog-map.md)。利用可能なアセットを中心にショットをデザインします: カタログブロック + hyperframes-animation ルール/ブループリント、レイアウト、モーション、ビート、および (asset-fusion の場合) element_positions + スポイトパレットを選択。shot-plan.json (content.block + content.customize + カテゴリごとのコンテンツ) を確定します。

ステップ4 — ビルド (サブエージェント: ビルダー、再利用ファースト)

サブエージェントをディスパッチ。プロンプト = agents/builder.md 全文 + ディスパッチコンテキスト (shot-plan.json, catalog-map.md, カテゴリの module.md, references/motion-vocabulary.md, references/builder-contract.md)。再利用ファースト: npx hyperframes add <block> + その場でカスタマイズ。ギャップ + アセットフュージョンアフォーダンスのみ手動で作成。出力 compositions/index.html はHFコントラクトを尊重 (一時停止されたGSAPタイムライン on window.__timelines, class="clip" + 安定したID, tl.seek(0), 決定論的)。

ステップ5 — 検証 (Bash → 失敗時に修復サブエージェント)

(cd "$PROJECT_DIR" && npx hyperframes lint .)
(cd "$PROJECT_DIR" && npx hyperframes check .)
(cd "$PROJECT_DIR" && npx hyperframes snapshot --at <proof-times>)

開始状態、シグネチャームーブ、最終ホールドを示すプルーフタイムを選択します。続行する前に、生成されたコンタクトシートまたはスナップショットシートを検査します。lint、check、またはスナップショットの失敗時に、修復サブエージェント (agents/finalize.md) を1回のインプレース修正パスのためにディスパッチし、失敗したゲートを再実行します。欠陥を隠すためだけに固定された期間を変更しないでください。

ステップ6 — 承認とレンダリング (Bash)

1つの質問をします: 「プレビューするか、レンダリングするか?」ユーザーがプレビューを選択した場合、Studioを開き、修正後に同じ承認ゲートに戻ります:

(cd "$PROJECT_DIR" && npx hyperframes preview --background)

明示的なレンダリングの回答があった場合のみレンダリング:

(cd "$PROJECT_DIR" && npx hyperframes render . --skill=motion-graphics -q high -o ./renders/video.mp4)
# 透明オーバーレイバリアント: --format webm (または mov)

出力が存在し、空ではなく、意図された期間であることを確認します。最終的なハンドオフは、アーティファクト名、実際の期間、コンポジションまたはフレームID、プルーフタイム、および検査されたコンタクトまたはスナップショットシートを指定します。フラグは /hyperframes-cli → references/preview-render.md にあります。

再開テーブル

状態続行する場所
shot-plan.json なしステップ1 (計画)
shot-plan.json に asset_needs があるが、assets/ なしステップ2 (ソース)
shot-plan.json 最終版だが、compositions/index.html なしステップ3/4 (デザイン+ビルド)
compositions/index.html 存在、プルーフスナップショットなしステップ5 (検証)
チェックとプルーフスナップショット合格、承認されたレンダリングなしステップ6 (承認)
承認されたレンダリング存在出力を検証して報告

デザインノート (メンテナー向け — 実行時はこれを読みません)

  • アセットファーストの根拠: ソーシングは前倒しで行われ、ショットデザインに情報を提供します (RWAフロー: 分析 → 検索 → レビュー → c

…

[翻訳のため切り詰められました]

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

general-video

>

heygen-com/animejs

Anime.js adapter patterns for HyperFrames. Use when writing Anime.js animations or timelines inside HyperFrames compositions, registering animations on window.__hfAnime, making Anime.js seek-driven and deterministic, or translating Anime.js examples into render-safe HyperFrames HTML.

heygen-com/claude-design-hyperframes

Use when running inside Claude Design specifically. Produces a valid, brand-accurate HyperFrames video draft using pre-valid skeletons. For Claude Code / Cursor / Codex, use the `hyperframes` skill instead.

heygen-com/contribute-catalog

Author a new HyperFrames registry block (caption style, VFX block, transition, lower third) or component (text effect, overlay, snippet) and ship it as an upstream PR to the hyperframes repo. Use ONLY when the user wants to CONTRIBUTE to the public catalog — for in-project caption/transition authoring use the `hyperframes` skill, for installing existing registry items use the `hyperframes-registry` skill.

heygen-com/css-animations

CSS animation adapter patterns for HyperFrames. Use when authoring CSS keyframes, animation-delay based timing, animation-fill-mode, animation-play-state, or CSS-only motion that HyperFrames must seek deterministically during preview and rendering.

heygen-com/gsap

GSAP animation reference for HyperFrames. Covers gsap.to(), from(), fromTo(), easing, stagger, defaults, timelines (gsap.timeline(), position parameter, labels, nesting, playback), and performance (transforms, will-change, quickTo). Use when writing GSAP animations in HyperFrames compositions.

heygen-com/hyperframes

Leaves sweep through the frame and part to reveal the headline. HyperFrames block, 1920×1080, 12s, 11 variables.

heygen-com/hyperframes

Render-correctness doctrine for scene-to-scene seams in HyperFrames launch videos — the prerequisites that make transitions composite correctly on the master timeline. Load when assembling the master timeline / index.html, when a white flash appears at a cut or crossfade seam (especially on dark films), when reasoning about why a transition opacity dip shows through, or when verifying the render-side mechanics of how overlapping scene wrappers blend. Covers the opaque stage-ground (#root background) white-flash guard and how the injector overlaps wrappers, holds final frames, ping-pongs tracks, and stamps lint-clean template code onto the master timeline. Does NOT contain the per-transition catalog — see the transition registry for individual transition entries.

heygen-com/hyperframes

The technique catalog: five velocity-matched SEAMS (zoom-through, INVERSE zoom-through, cut-the-curve, waterfall cut, rack-focus blur-cut) plus the two in-scene techniques — waterfall ENTRY (staggered arrival cascades for title cards / segment openers) and the nudge curve (slow-fast-slow three-phase group slides). Covers partial-travel (~12% of frame) velocity matching via mirrored power4 eases, the Z scale-sign rule, size-scaled blur (10px text / 18-20px full-frame), word-by-word staggered cuts, cascade pacing by element weight, and the 10/65/25 slide ratio. Read before authoring any transition, text-beat handoff, kinetic text entry, or group reposition. [depth, zoom, inverse-zoom, scale-sign, mirrored-zoom, rack-focus, pacing, velocity, cut-the-curve, waterfall, stagger, cascade, kinetic-text, title-card, segment-opener, nudge, slide, easing, group-motion, z-depth, motion-graphics, cinematic, transition, blur, directional-continuity]

heygen-com/hyperframes

Glass shards fly in through fog and tile themselves into the headline. HyperFrames block, 1920×1080, 12.16s, 19 variables.

heygen-com/hyperframes

A single feature card orbits a dot sphere on approved Blender camera motion. HyperFrames block, 1920×1080, 10s, 4 variables.

heygen-com/hyperframes

A wireframe portal bursts open, the title comes through, then its letters swap into a second phrase. HyperFrames block, 1920×1080, 8s, 9 variables.

heygen-com/hyperframes

An orbiting camera follows an ice logo as it breaks apart, reforms into two text moments, and fades. HyperFrames block, 1920×1080, 22.5s, 216 variables.

heygen-com/hyperframes

House-style oversized macOS cursor technique for HyperFrames launch videos. Load whenever a scene involves cursors or a pointer-led action, when kicking off a UI scene, when igniting a morph/transition/typing run with a click, or when a scene reads as static, dead, or stale and needs a cheap high-yield source of motion to carry the viewer's eye and segment them out of the stale state. Covers cursor size/look (incl. brand-motif cursors), the off-screen entry law, tip-targeting and the click tap, click-ignites-the-next-beat, and exit / cross-scene handoff.

heygen-com/hyperframes

name: embedded-captions

heygen-com/hyperframes

A chain of bevelled cuboids rides a travelling wave as a content carousel. HyperFrames block, 1920×1080, 6.666666666666667s, 40 variables.

heygen-com/hyperframes

A tiled headline surface flips cell by cell under a sweeping depth field to reveal the rear headline. HyperFrames block, 1920×1080, 8s, 18 variables.

heygen-com/hyperframes

Turn arbitrary text — an article, notes, a topic, a brief — into a faceless explainer video: there is no site or footage to capture, so the visuals are invented per scene (typography, abstract graphics, diagrams, data-viz). Use for topic explainers, concept breakdowns, how-tos, listicles. Not a video built from a website (/product-launch-video — promo or tour). Unclear → /hyperframes.

heygen-com/hyperframes

Import Figma content into a HyperFrames composition — rendered assets, brand tokens, components, storyboard sections → reconstructed motion (frames read as states, not slides) (REST/CLI), connector-assisted motion when available, and shaders from a connector or native export. Use when the user pastes a figma.com link or asks to bring a Figma design, frame, logo, brand, or animation into a video/composition.

heygen-com/hyperframes

GATEWAY — load FIRST before composing any HyperFrames animation or video. The high-level motion law that makes a multi-scene video feel like ONE continuous camera move instead of a stack of independently-animated slides. Covers the vector law (how you exit determines how you enter, incl. the Z scale-sign rule), the film's current, carrier elements, causal motion, the Seam Gate (build-gate enforcement), the ban on idle wobble (motion must PERFORM, not breathe), stillness-before-climax, and the sustained-motion routes. Routes to the low-level technique skills (cut-the-curve — the full catalog incl. waterfall entry + nudge curve, oversized-cursor, seam-craft). These rules SUPERSEDE generic / upstream motion guidance. [continuity, direction, vector, momentum, seam, transition, ease, performance, idle-motion, narrative-motion, film-grammar]

関連スキル