Communitygithub.com

laviedezidane/hyperframes-skill

HyperFrames レジストリからブロックとコンポーネントを検索、インストール、ワイヤリングして合成を構築します。

hyperframes-skill とは?

このスキルは、HyperFrames レジストリから再利用可能なブロックとコンポーネントを検索、インストール、配線するためのものです。ブラウザ、エフェクト、トランジションを手作りする前にまずこのスキルを使用することで、既存の約400のアイテムを活用し、開発時間を大幅に短縮できます。サポートされている機能には、`hyperframes add` を使ったアイテムのインストール、`hyperframes catalog` を使ったクエリベースの検索、インストールされたアイテムを `index.html` に配線する作業、さらには新しいブロックやコンポーネントをレジストリにコントリビュートするためのテンプレートのスキャフォールディングが含まれます。検索は意図に基づいて行われ、`--query` オプションで自然言語クエリをサポートし、ローカルで動作し、データは外部に送信されません。インストール場所や配線方法は設定可能で、`hyperframes.json` でパスをカスタマイズできます。このスキルは、HyperFrames プラグイン環境とスタンドアロン環境の両方をサポートします。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/laviedezidane/hyperframes-skill/tree/HEAD/.agents/skills/hyperframes-registry

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

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

ドキュメント

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

HyperFrames レジストリ

レジストリは、hyperframes add <name> でインストール可能な再利用可能なブロックとコンポーネントを提供します。

  • ブロック — スタンドアロンのサブコンポジション(独自の寸法、持続時間、タイムラインを持つ)。ホストコンポジション内で data-composition-src を使用してインクルードします。
  • コンポーネント — エフェクトスニペット(独自の寸法を持たない)。ホストコンポジションのHTMLに直接ペーストします。

クイックリファレンス

hyperframes add data-chart              # ブロックをインストール
hyperframes add grain-overlay           # コンポーネントをインストール
hyperframes add captions                # captions タグが付いたすべてのブロックをインストール
hyperframes add shimmer-sweep --dir .   # 特定のプロジェクトをターゲット
hyperframes add data-chart --json       # マシンリーダブルな出力
hyperframes add data-chart --no-clipboard  # クリップボードをスキップ(CI/ヘッドレス)

インストール後、CLIは書き込まれたファイルと、ホストコンポジションにペーストするスニペットを出力します。スニペットは出発点です。ブロックを配線する際には、data-composition-id(ブロックの内部コンポジションIDと一致する必要があります)、data-start、data-track-index 属性を追加する必要があります。

位置引数の値は、最初に正確なアイテム名として解決されます。アイテムが一致せず、値がタグである場合、コマンドはそのタグを持つすべてのブロックをインストールします。レジストリの依存関係は、要求されたアイテムの前にインストールされます。hyperframes add はブロックとコンポーネントにのみ機能します。例については、代わりに hyperframes init <dir> --example <name> を使用してください。

インストール場所

ブロックはデフォルトで compositions/<name>.html にインストールされます。コンポーネントはデフォルトで compositions/components/<name>.html にインストールされます。

これらのパスは hyperframes.json で設定可能です:

{
  "registry": "https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry",
  "paths": {
    "blocks": "compositions",
    "components": "compositions/components",
    "assets": "assets"
  }
}

詳細は install-locations.md を参照してください。

ブロックの配線

ブロックはスタンドアロンのコンポジションです。ホストの index.html で data-composition-src を使用してインクルードします:

<div
  data-composition-id="data-chart"
  data-composition-src="compositions/data-chart.html"
  data-start="2"
  data-duration="15"
  data-track-index="1"
  data-width="1920"
  data-height="1080"
></div>

主要な属性:

  • data-composition-src — ブロックHTMLファイルへのパス
  • data-composition-id — ブロックの内部IDと一致する必要があります
  • data-start — ブロックがホストタイムラインに現れる時間(秒)
  • data-duration — ブロックが再生される時間
  • data-width / data-height — ブロックのキャンバス寸法
  • data-track-index — Studioタイムラインの行。表示用。レイヤリングにはCSS z-index を使用します

詳細は wiring-blocks.md を参照してください。

コンポーネントの配線

コンポーネントはスニペットです。そのHTMLをコンポジションのマークアップに、CSSをスタイルブロックに、JSをスクリプトに(存在する場合)ペーストします:

  1. インストールされたファイルを読み取ります(例:compositions/components/grain-overlay.html)
  2. HTML要素をコンポジションの <div data-composition-id="..."> にコピーします
  3. <style> ブロックをコンポジションのスタイルにコピーします
  4. <script> の内容をコンポジションのスクリプトにコピーします(タイムラインコードの前)
  5. コンポーネントがGSAPタイムライン統合を公開している場合(スニペットのコメントブロックを参照)、それらの呼び出しをタイムラインに追加します

詳細は wiring-components.md を参照してください。

ディスカバリー

CLIを主要なディスカバリーサーフェスとして使用します。ブラウジングよりも意図による検索を優先してください: レジストリには目でスキャンできる以上のアイテムが含まれているため、名前やタグでリストアップして一致させるのは遅い方法であり、作者の表現があなたの表現と異なる場合に失敗します。

# ビートが行うべきことに対してカタログ全体をランク付け
npx hyperframes catalog --query "見出しを一行ずつ表示する"
npx hyperframes add caption-clip-wipe

検索はローカルで実行され、何も送信しません。デフォルトではアイテムの名前、タイトル、説明と共有される語彙でランク付けされるため、あなたの言葉を再利用したアイテムのみが見つかります。--on-device は、一度モデルをダウンロードした後、意味でランク付けします。--json を使用すると、エンベロープがどのティアが応答したかを示すので、ランキングが行われたと想定するのではなく、それを確認してください。

ビデオの言語に関係なく、常に英語でクエリを実行してください。 カタログは英語で書かれており、両方のティアがそのようにインデックスを作成します(オンデバイスモデルも英語のみです)。別のスクリプトでのクエリは検索可能な用語を生成せず、何も返しません。これは日本語や中国語のプロジェクトで間違えやすい点です。ブリーフ、キャプション、ナレーションがすべてその言語であり、クエリも自然にそれに従うからです。動き を英語で説明し、画面上のコピーはビデオが必要とする言語で記述してください。クエリが クエリに検索可能な単語がありません を返した場合、これはルールの問題であり、コンポーネントの欠落ではありません。ギャップレポートの対象にはなりません。

インストール可能性はランキングの後、その前に適用されるわけではありません。ベクターが運ぶがこのレジストリが提供できない名前は結果から除外され、dropped にカウントされます。したがって、dropped がゼロでない場合、2つの世代が異なることを意味します。オフラインティア、同意ゲート、および古いインデックスの更新方法については、/hyperframes-cli を参照してください。

検索の代わりにブラウズやフィルタリングを行うには:

npx hyperframes catalog
npx hyperframes catalog --type block
npx hyperframes catalog --type component
npx hyperframes catalog --type block --tag social
npx hyperframes catalog --json
npx hyperframes catalog --human-friendly

通常のテーブルと --json モードでは一致するもののみがリストされ、選択した名前を hyperframes add <name> でインストールします。--human-friendly はインタラクティブなピッカーを開き、選択したアイテムを即座にインストールします。CIやエージェントのワークフローでは、--json の後に明示的な add を優先してください。

カタログにないものを報告する

検索結果に適切なものがない場合、手動で動きを作成する前にその旨を伝えてください:

npx hyperframes feedback --search-miss "<実行したクエリ>" --wanted "<必要な動き>" --tier <応答したティア>

catalog --query はこの行を事前に入力して出力し、--json はそれを report_gap として保持します。そのため、何も適合しないと判断した時点で既に手元にあります。

どちらのティアでも、結果に適切なものがない場合は必ず報告してください。 オンデバイスティアが応答したかどうかを待たないでください。同意が必要な33 MBのダウンロードが必要なため、エージェントの実行は明示的にオプトインしない限り words になります。on-device でゲートすると、ほぼすべてのレポートが沈黙します。--tier 値が一緒に送られるため、語彙ミスと意味ミスを区別できます。必要としたエフェクトを説明し、想像したアイテム名を説明しないでください。返ってくるのは構築する価値のある動きのリストであり、存在しないアイテムを名前で報告しても何も学べません。これがクエリをどこかに送信する唯一のパスであり、そのため検索が自動的に行うのではなく、別個の意図的なコマンドになっています。評価は含まれず、評価指標に届くことはありません。

これがカタログ全体の需要シグナルです。これをスキップすると、遭遇したギャップはインストール数の推測に依存することになり、誰もインストールできなかった動きを見ることはできません。

CLIが設定されたレジストリに到達できない場合、フォールバックとして生のマニフェストを検査します:

curl -s https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/registry.json

CLIが到達できないレジストリは、ディスカバリーのためにカタログを空にしません。以前にフェッチされたマニフェストは、再検証に失敗しても24時間の更新ウィンドウを超えて提供され続けるため、catalog と catalog --query はディスク上の最後のコピーに対してリストとランキングを実行します。

add は、昨日インストールしたアイテムであってもネットワークを必要とします。 キャッシュされるのはマニフェストのみで、アイテムの実際のファイルはインストールのたびにフェッチされます。したがって、オフラインでは検索したり、アイテムが何であるかを確認したりできますが、インストールはファイルフェッチで失敗します。ユーザーにオフラインインストールを約束しないでください。

各アイテムの registry-item.json には、名前、タイプ、タイトル、説明、タグ、寸法(ブロックのみ)、持続時間(ブロックのみ)、ファイルリストが含まれています。

タイプとタグによるフィルタリングの詳細については、discovery.md を参照してください。

新しいブロックまたはコンポーネントのコントリビュート

新しいレジストリアイテム(キャプションスタイル、VFXブロック、トランジション、ロワースリー、または再利用可能なコンポーネント)を作成し、上流へのPRとして送信する場合(既存のものをインストールするのではなく)、contributing.md の完全なアイデア→スキャフォールド→ビルド→検証→プレビュー→出荷のワークフローに従ってください。コピーペースト可能なスターターテンプレート(キャプション/VFX/コンポーネント/registry-item.json)は templates.md にあります。

Individual skills in this repo

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

laviedezidane/hyperframes-skill

Add captions or subtitles to an existing single-subject talking-head video without editing the footage. Use for plain verbatim captions, cinematic captions embedded behind the subject, VFX captions, “炸/特效/酷炫字幕,” or a named identity from the 35-style catalog. Route by visual identity, not by backend engine. The quiet `anchor` rail is the default; embed every word only when the user explicitly wants a fully cinematic treatment. The workflow runs locally end to end, including transcription and subject matting; split multi-shot footage before applying it.

laviedezidane/hyperframes-skill

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.

laviedezidane/hyperframes-skill

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.

laviedezidane/hyperframes-skill

Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated motion-first unit, including an animated title. Route fresh creation through hyperframes before using this skill.

laviedezidane/hyperframes-skill

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.

laviedezidane/hyperframes-skill

Use when audio already placed in a HyperFrames composition needs to be mixed: fade-in/fade-out, crossfade, track gain or volume, volume automation, ducking, a music bed that fights a voiceover (voiceover carve), effects on a track (EQ, compressor, limiter, gate, saturation, delay, reverb, chorus, phaser, bitcrush), automation envelopes drawn on a track's volume or any effect parameter, or one submix bus carrying a chain, a fader and an automation clock for several tracks at once (`<hf-audio-group>`). Don't use for sourcing or generating audio — finding BGM, SFX, or making a voiceover is `/media-use`. Don't use for clip timing or track layout, which is `/hyperframes-core`.

laviedezidane/hyperframes-skill

Use the HyperFrames CLI development loop: init, add, catalog, capture, lint, check, snapshot, compare, grade-compare, preview, play, present, beats, keyframes, single or batch render, publish, cloud, cloudrun, feedback, lambda, doctor, browser, info, upgrade, skills, compositions, timeline, history, clean, docs, benchmark, telemetry, transcribe, auth, tts, and remove-background. Also use when diagnosing build or render failures. validate, inspect, and layout are deprecated aliases; use check. Covers local, HeyGen-hosted cloud, AWS Lambda, and Google Cloud Run rendering.

laviedezidane/hyperframes-skill

The HyperFrames composition contract — build one renderable project. Use for composition structure, the `data-*` timing attributes, `class="clip"`, tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.

laviedezidane/hyperframes-skill

Non-animation creative direction for HyperFrames videos. Use for design spec (frame.md / design.md) handling, palettes, typography, narration, beat planning, audio-reactive visuals, composition patterns, and brand / style decisions. For atomic motion patterns and scene blueprints, use `hyperframes-animation`.

laviedezidane/hyperframes-skill

Use when a HyperFrames composition needs a punch-in, punch-out, zoom, reframe, Ken Burns treatment, camera move, visual match/whip handoff, or other seek-safe 2D/3D keyframes; also for GSAP, CSS keyframes, Anime.js, WAAPI, FLIP, paths, masks, SVG morph/draw, text trails, 3D depth, or `hyperframes keyframes` diagnostics. Don't use for broad scene strategy, brand design, media sourcing, captions, or general video planning.

laviedezidane/hyperframes-skill

Mandatory entry point: read this first for any request to make, create, edit, animate, or render a video, animation, or motion graphic, including a promo, explainer, captioned clip, title card, overlay, slideshow or interactive deck, Remotion port, or any HyperFrames HTML composition. Also use it to inspect, diagnose, validate, preview, publish, or batch-render an existing HyperFrames project. Inputs may be a website URL, GitHub PR, Figma design or URL, text or brief, existing footage, or music. It resumes project state, captures intent when applicable, selects and installs the owning workflow, and routes domain capabilities. HyperFrames is the default output framework unless the user explicitly chooses another framework for the deliverable or asks only to record a browser session.

laviedezidane/hyperframes-skill

Use when working with a person on a HyperFrames project in Studio: first, whether their message asks for a change at all (questions, loose ideas and "don't change anything" get an answer and a plan, not an edit); for a new film, the plan, storyboard and build order that the HyperFrames launch films follow; and how the timeline should be laid out so it reads well (one caption track, one element kind per track, every scene a sub-composition) and where captions and key content may sit (safe zones). Don't use for how to perform an individual edit (split, trim, retime, volume, copy, swap): that is `creator-editing-recipes.md` in `/hyperframes-core`.

laviedezidane/hyperframes-skill

Agent Media OS for a HyperFrames project. Resolve BGM, SFX, image, icon, brand logo, voice, color grade, or LUT into a frozen local file or paste-ready block + ledger record (one verb, `resolve`); generate via TTS / music / image models when the catalog misses; produce voiceover, transcription, captions, and background removal through one shared audio engine; operate on media (cut / reframe / transform); and reuse assets across projects. Also use for vague feedback that real footage looks dark, flat, boring, should feel retro/camcorder/print/ASCII, needs privacy, or needs a media reveal. When the host app provides its own music or sound-effect tools, use those for music and sound effects; `resolve --type bgm|sfx` needs the heygen CLI. When `HEYGEN_API_BASE` is set, HeyGen calls go through that host with no CLI sign-in.

laviedezidane/hyperframes-skill

A short, design-led motion graphic where motion is the message — kinetic typography, stat count-up, chart/data-viz hit, logo sting / brand lockup, lower-third / callout / social overlay, animated map (highlight regions, connect places, zoom to a location), animated tweet / news-article / headline, webpage / UI animation (scroll, cursor, callouts), or fusing a real image's geometry into a chart. Usually under 10s (up to ~30s), no narration or live-action subject; renders to MP4 or transparent overlay. Longer / narrated / multi-scene → /general-video. Unclear → /hyperframes.

laviedezidane/hyperframes-skill

Turn a music track (an audio file, a video to pull audio from, or a track generated from a mood brief) into a beat-synced video — lyric video, slideshow, or kinetic promo. The music drives all pacing; any user-supplied images/videos are cut onto the same beat grid, and a complete video needs zero assets. Narrated pieces → the input-matched workflow (see /hyperframes). Unclear → /hyperframes.

laviedezidane/hyperframes-skill

Turn a product or marketing URL, pasted script, or brief into a product launch / promo video — SaaS promos, feature reveals, product demos, app and company launches. Use when the user wants to market, launch, promote, or reveal a product; the default for any commercial URL. Site tours / showcases of a website route here too — the brief carries the show-it-as-is intent. Unclear → /hyperframes.

laviedezidane/hyperframes-skill

Turn a GitHub pull request (a PR URL, owner/repo#N, or 'this PR' in a checked-out repo) into a code-change explainer video — changelog, feature reveal, fix, or refactor walkthrough built from the diff, commits, and files: the input is a code change, not a website. Not a product promo (/product-launch-video) or a no-PR topic explainer (/faceless-explainer). Unclear → /hyperframes.

laviedezidane/hyperframes-skill

Port an existing Remotion (React) composition''s source to HyperFrames HTML. Use ONLY on an explicit ask to port/convert/migrate/translate a Remotion source — one-way, Remotion-only. A passing Remotion mention, reference-only code, or "make something like my Remotion video" is a fresh build (/general-video). Unclear → /hyperframes.

laviedezidane/hyperframes-skill

Author a HyperFrames slideshow — a presentation, pitch deck, or interactive deck with discrete slides, fragment reveals, branching, hotspot navigation, and built-in presenter mode with speaker notes; also converts an existing page into a deck. Output is a navigable deck, not a rendered MP4. If the user didn't explicitly ask for a slideshow, confirm before authoring. Unclear → /hyperframes.

laviedezidane/hyperframes-skill

Package an existing talking-head / interview / podcast video with timed, designed GRAPHIC OVERLAY cards — kinetic titles, lower-thirds, data callouts, quotes, side panels, picture-in-picture — synced to the transcript, on a 16:9 / 9:16 / 4:5 canvas of your choice; the clip plays untouched underneath. Trigger on "graphic overlays", "on-screen graphics", "package / dress up my video". Not plain subtitles (/embedded-captions). Unclear → /hyperframes.

関連スキル