Communitygithub.com

キャプションオーバーレイ原則

組み込みキャプションワークフローのためのオーバーレイ原則 — キャプションモデル(ドロップ/レール/エンベッド)と、キャプションは動画の上に合成されるオーバーレイであり、コンテンツをずらして確保する予約領域ではないというルールを定めます。

キャプションオーバーレイ原則 とは?

このスキルは、AIエージェントがキャプションや字幕を扱う際の2つの核となる考え方を定義します。第一に、発話されたフレーズを「ドロップ」(フィラー、非表示)、「レール」(標準的な逐語的テキスト、前面表示)、「エンベッド」(昇格されたピーク、被写体の背後に合成)の3つに分類するキャプションモデルです。エンベッドは希少で獲得が難しいクライマックスであり、デフォルトではありません。第二に「オーバーレイ法」です。キャプション行は動画全体の上に合成されるオーバーレイ層であり、コンテンツを押し上げるための予約領域ではありません。そのため、構図は常に真の垂直中心(y = H/2)を基準とし、キャプションのためにデッドバンドを残すことはありません。このスキルは主にClaude CodeなどのAIエージェント向けで、`embedded-captions`スキルの上に適用します。これにより、キャプションは追加するレイヤーであり、確保するゾーンではないという一貫した設計が可能になります。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Alemoterani/auto-edit-hyperframes/tree/HEAD/vendor/hyperframes/.agents/skills/captions-overlay

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

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

ドキュメント

キャプションオーバーレイ原則 は何をしますか?

オーバーレイ原則 — 上位の embedded-captions スキルを補完します。このスキルの上に適用します。上位スキルに組み込まれているとは想定しないでください。

ここでは2つの考え方が組み合わされています。第一にキャプションモデル — すべての発話フレーズは drop、rail、embed のいずれかであり、embed は希少で獲得が難しいピークであり、デフォルトではありません。第二にオーバーレイ法 — キャプション行は動画の上に合成されるオーバーレイであり、予約領域ではありません。そのため、コンテンツを上にずらしたり、「場所を空ける」ためにデッドバンドを残したりすることはありません。この2つは相互に補強し合います。キャプションはオーバーレイとして配置されるため(逐語的なレールは前面に、まれにエンベッドは被写体の背後に)、構図はフルフレームを維持し、真の垂直中心を基準とします。

キャプションモデル — drop / rail / embed

すべての発話フレーズは3つのうちのいずれかです(embedded-captions からそのまま引用):

説明表示方法
dropフィラー — えーと/あー、言いよどみ、自己修正非表示
railデフォルト — 通常の発話内容(逐語的)クリーンな lower-third 字幕、前面表示、可読。パンチワードにはインラインの emphasis ハイライト(アクセントカラー / アクティブワード表示)を付けることができます — これはレール上に留まります。
embed昇格されたピーク — 見出しとなるビート被写体の背後に合成される大きな単語1つ(マットオクルージョン)、デザインされた出現と終了

レールがほとんどのテキストを担い、embed は希少で獲得が難しいピークです — ビートあたり ≤1、隣接または同時表示は不可、ビート間隔を空ける。ショートクリップ → 通常 embed は1つ。長い解説 → セクションあたり約1つ。すべての単語を embed にするのはよくある間違いです。

これは標準モードの形です(rail = 逐語的な lower-third、embed = 被写体の背後に合成されるクライマックス)。シネマティックモードではレールを廃止し、すべてを embed スタイルにします — 純粋な映画的依頼の場合のみ使用し、単語が読める必要がある解説 / ナレーションには決して使用しないでください。

レール優先、embed 希少(重要なルール)

embedded-captions の譲れないルールからの引用:

  • ** talking-head / 解説ではレール優先。** トランスクリプト全体を embed しないでください — ほとんどのテキストはレールです。embed はピークのみ。すべてを embed にするのがデフォルトの誤りです。
  • embed は希少かつ間隔を空ける。 文/ビートあたり ≤1、隣接または同時表示不可、ビート間隔を空け、最長で apex 1つ。climax = ビートごとのピークであり、「クリップ全体の単一の見せ場」ではありません。

オーバーレイ法 — キャプションは予約領域ではない

生成されたローンチ(製品発表)向け構図において、キャプションが有効な場合、ファイナライズは小さな最小限の単語単位のキャプション行を動画全体の上にオーバーレイ層として合成します(1行のテキスト、下部中央揃え、キャンバス高さの約5〜8%)。これはオーバーレイであり、予約領域ではありません(product-launch-video シーンエージェントの制約 #13 からそのまま引用):

  • 構図の中心を真の垂直中心 — y = H / 2(ランドスケープ 540、ポートレート 960)に合わせてください。キャプションの「場所を空ける」ためにコンテンツを上にずらさないでください。構図が 0.42 × H を中心とし、下部にデッドバンドがあるのはバグであり、修正ではありません。
  • コンテンツはキャンバスの下端まで広がって構いません。フルブリードの被写体、レール、背景もすべて許容されます。
  • 1つのソフトな礼儀ルール: キャプション行が配置される下部約80pxの中央範囲に、重要な小さな可読テキスト(URL行、法的表記、サブキャプション)を正確に配置しないようにしてください — オーバーレイが競合します。キャプションの下の大きな画像/カード/アンビエントコンテンツは問題ありません。キャプションスキンはコンテンツの上に読み取れるように設計されています。
  • 機械的なキープアウトゲートはありません(古い captions.mjs keepout チェックは廃止されました)。ファイナライズのスナップショットQAは、キャプションとコンテンツの重なりにおける可読性を視覚的に判断します。

キャプションが無効の場合: 同じ配置の自由 — オーバーレイが単に存在しないだけです。

これら2つのルールが1つの原則である理由

モデルは、レールは前面に配置され、embed は被写体の背後に合成されるまれな単語であると述べています — どちらもそのまま出荷される映像に追加されるレイヤーです。オーバーレイ法は、キャプション行は動画全体の上に合成されるレイヤーであり、レイアウトから切り出された帯ではないと述べています。したがって、キャプションパイプラインとローンチビデオパイプラインの両方において、キャプションは追加するオーバーレイであり、予約するゾーンではありません:

  • フルフレームを維持し、真の中心を基準とし、コンテンツを端まで広げます。
  • レール(または小さなオーバーレイキャプション行)に逐語的な単語を担わせます。
  • 真のピークでのみ単語を embed に昇格 — 希少、間隔を空け、同時に2つは不可。
  • 何も予約せず、キャプションとコンテンツの重なりにおける可読性をキープアウトゲートではなく視覚的に判断します。

Individual skills in this repo

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

Alemoterani/auto-edit-hyperframes

Turn a weekly changelog .md into a finished branded changelog video (square 1080, ~45-60s, Annie VO, animated brand background, mock-UI visualizations, lowkey captions). Use when the user provides a changelog/digest markdown and wants the weekly video, or says "changelog video". Self-contained — fonts, background, lexicon, and scripts ship in this skill.

Alemoterani/auto-edit-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]

Alemoterani/auto-edit-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]

Alemoterani/auto-edit-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.

Alemoterani/auto-edit-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.

Alemoterani/auto-edit-hyperframes

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

Alemoterani/auto-edit-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.

Alemoterani/auto-edit-hyperframes

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

Alemoterani/auto-edit-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.

Alemoterani/auto-edit-hyperframes

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

Alemoterani/auto-edit-hyperframes

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

Alemoterani/auto-edit-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.

Alemoterani/auto-edit-hyperframes

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.

Alemoterani/auto-edit-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.

Alemoterani/auto-edit-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.

Alemoterani/auto-edit-hyperframes

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.

Alemoterani/auto-edit-hyperframes

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.

Alemoterani/auto-edit-hyperframes

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

Alemoterani/auto-edit-hyperframes

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.

Alemoterani/auto-edit-hyperframes

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.

関連スキル