captions-overlay
できること
このスキルは、HyperFrames 動画の字幕のルールを定めます。映像を邪魔しない、きれいな字幕がほしい動画制作者向けです。
使う場面
- ✓トーキングヘッドや製品発表の動画に字幕を付けるとき。
- ✓話し言葉の一言が、削除すべきか画面に残すべきかを判断する必要があるとき。
- ✓映像をずらさず、その上に乗る字幕がほしいとき。
スキルのリンク
https://github.com/heygen-com/hyperframes/blob/main/.agents/skills/captions-overlay/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“製品発表の動画に字幕を付けてください。映像の中央は保ち、つなぎ言葉は削除してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
話されたすべての言葉を、3つのグループのどれかに振り分けます。削除する、字幕の帯に表示する、または珍しい強調として埋め込む、のいずれかです。字幕は映像の上に重ねるため、画面全体が保たれます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Captions Overlay Doctrine
Overlay doctrine — supplements the upstream
/hyperframesskill'sreferences/captions.md. Applies ON TOP of it; do not expect it folded into the upstream skill.
Two ideas combine here. First, the caption model — every spoken phrase is drop,
rail, or embed, and embed is the scarce earned peak, not the default. Second, the
overlay law — a caption line is composited ON TOP of the film as an overlay; it is
NOT a reserved zone, so you never shift content up or leave a dead band to "make room"
for it. The two reinforce each other: because captions ride as an overlay (the verbatim
rail in front, the occasional embed behind the subject), the composition keeps its full
frame and centers on the true vertical center.
The caption model — drop / rail / embed
Every spoken phrase is one of three things:
| What | How it's shown | |
|---|---|---|
| drop | filler — um/uh, stutters, self-corrections | not shown |
| rail | the default — ordinary spoken content (verbatim) | clean lower-third subtitle, in front, readable. A punch word can get an inline emphasis highlight (accent colour / active-word pop) — it stays on the rail. |
| embed | a promoted peak — the headline beat | one big word composited behind the subject (matte occlusion), designed entrance + exit |
The rail carries most of the text; embed is the scarce, earned peak — ≤1 per beat, never two adjacent/co-visible, spaced ≥ a beat apart. A short clip → usually one embed; a long explainer → ~one per section. Embedding every word is the common mistake.
This is the default shape (rail = the verbatim lower-third; embed = the climax composited behind the subject). A pure-cinematic treatment drops the rail and makes everything embed-style — use it only for pure-cinematic asks, never for explainer / voiceover where the words must read.
Rail-first, embed-scarce (the load-bearing rules)
- Rail-first for talking-head / explainer. Don't embed the whole transcript — most text is the rail; embed only peaks. Embedding everything is the default mistake.
- Embed is scarce + spaced. ≤1 embed per sentence/beat, never two adjacent or
co-visible, ≥ a beat apart, at most one
apex. climax = per-beat peak, not "the single payoff of the entire clip."
The overlay law — captions are NOT a reserved band
In a composed video with captions enabled, the caption line is a small, minimal word-by-word line composited as an overlay layer ON TOP of the whole film (a single text line, bottom-centered, roughly the bottom ~5-8% of canvas height). It is an overlay, not a reserved zone:
- Center the composition on the TRUE vertical center — y = H / 2 (landscape 540, portrait 960). Do not shift content up to "make room" for captions; a composition centered at 0.42 × H with a dead lower band is the bug, not the fix.
- Content may extend to the canvas bottom. Full-bleed subjects, rails, and backgrounds all welcome.
- One soft courtesy rule: avoid parking critical small readable text (a URL line, a legal line, a sub-caption) exactly in the bottom ~80px center span where the caption line sits — the overlay would fight it. Large imagery / cards / ambient content under the captions is fine; the caption skin is designed to read over content.
- There is no machine keep-out gate (the old
captions.mjs keepoutcheck is retired). Snapshot review judges caption-over-content legibility visually.
When captions are disabled: identical positioning freedom — the overlay simply doesn't exist.
Why these two rules are one doctrine
The model says the rail rides in front and an embed is a rare word composited behind the subject — both are layers added to footage that ships untouched. The overlay law says the caption line is a laye
よくある質問
drop、rail、embed とは何ですか?
drop はフィラーの言葉を削除すること、rail は言葉を一定の帯に表示すること、embed は被写体の後ろに置く珍しい強調のことです。
字幕のために映像を上にずらしますか?
いいえ。字幕はオーバーレイなので、動画は全体のフレームを保ちます。
HyperFrames で使えますか?
はい。HyperFrames の字幕ガイドに追加する形で、その上に適用されます。
詳細
作者による元の説明
Overlay doctrine for captions in HyperFrames videos — the caption MODEL (drop / rail / embed) and the rule that captions are an OVERLAY composited on top of the film, never a reserved bottom band you shift content up to avoid. Load when adding captions/subtitles to a talking-head or launch video, when deciding whether a phrase should be dropped, ride the verbatim rail, or be promoted to a scarce embedded climax, when laying out a composition that will carry captions (do NOT reserve a keep-out band), or when centering a composition on the true frame center under captions. Applies ON TOP of the
repo: heygen-com/hyperframes
人気
- GitHubのスター
- 78k
- ランキング
- #1727
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
cut-the-curve
78kHyperFrames 動画で使われるトランジションを教えます。滑らかなシーンの切り替え、ズームスルー、ずらして表示するテキストの動きなどを含みます。
motion-doctrine
78k複数のシーンからなる動画を、別々のスライドではなく、ひとつながりのカメラの動きのように感じさせるための基本ルールをエージェントに与えます。
oversized-cursor
78k動画に大きく動くポインターを追加して、視聴者の視線を誘導し、クリックが次の動きの原因に見えるように演出するよう、エージェントに教えます。
seam-craft
78kHyperFrames 動画のシーンからシーンへのトランジションを、切り替え部分で白いちらつきや透けた落ち込みがなく、きれいに見えるようにする方法を説明します。
似ているスキル
taste-application
280kエージェントが、特定のスタイルの動画を作成するのを助けます。参考動画の編集のリズムを真似したり、新しいシーンを生成したり、色味を調整したりして、他の素材と合わせて編集できます。
taste-distillation
280kエージェントが動画を分析して、スタイルパックを作成できるようにします。色味、カットのリズム、ビジュアル要素などを含み、同じ雰囲気の新しい動画を作るときに再利用できます。
ui-demo
280kエージェントに、洗練されたUIのデモ動画を録画させます。チュートリアルの作成や、Webアプリの動作の紹介に役立ちます。