Communitygithub.com

vijayahnlu/reels

HyperFramesレジストリからブロックとコンポーネントを検索、インストール、配線します。CRTスキャンライン、グリッチ、粒子状ノイズなどの名前付きビジュアルを手動で作成する前に使用してください。

reels とは?

このスキルは、HyperFramesレジストリにホストされた約400の既製ブロックとコンポーネントを検索、インストールし、HyperFramesコンポジションに配線するためのCLIツールです。開発者は、CRTスキャンラインやグリッチ、チャート、コードウィンドウなどの名前付きビジュアルを手動で作成する前に、まずこのスキルを使ってレジストリを検索する必要があります。検索はローカルで実行され、`catalog --query`コマンドで意図に基づいてランク付けされ、`hyperframes add <name>`でインストールします。ブロックとコンポーネントのインストールパス、配線方法、および新しいアイテムをコントリビュートするためのワークフロー(アイデア→スキャフォールド→ビルド→PR)をカバーしています。日本語や中国語のプロジェクトでは、検索クエリは常に英語で記述する必要がある点が重要なルールです。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/vijayahnlu/reels/tree/HEAD/.claude/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 "reveal a headline one line at a time"
npx hyperframes add caption-clip-wipe

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

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

インストール可能性はランキングの後、その前に適用されるわけではありません:ベクターが運ぶがこのレジストリが提供できない名前は結果から除外され、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 9 individual skills — each has its own dedicated page.

vijayahnlu/reels

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.

vijayahnlu/reels

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`.

vijayahnlu/reels

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.

vijayahnlu/reels

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.

vijayahnlu/reels

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`.

vijayahnlu/reels

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.

vijayahnlu/reels

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.

vijayahnlu/reels

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`.

vijayahnlu/reels

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.

関連スキル