captions-overlay
What it does
This skill sets the rules for captions in HyperFrames videos. It is for video makers who want clean subtitles that do not disturb the picture.
When to use it
- βWhen you are adding subtitles to a talking-head or launch video.
- βWhen you need to decide whether a spoken phrase should be removed or kept on screen.
- βWhen you want captions that sit on top of the video without shifting the picture.
Skill link
https://github.com/heygen-com/hyperframes/blob/main/.agents/skills/captions-overlay/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βAdd captions to my launch video, but keep the picture centered and drop the filler words.β
5 new skills a week. 1 minute to read.
How it works
It sorts every spoken phrase into one of three groups: drop it, show it on a caption rail, or embed it as a rare highlight. The captions are laid over the video, so the frame stays whole.
Technical content (original SKILL.md)
Original text by the author, straight from 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
FAQ
What do drop, rail, and embed mean?
Drop removes filler words. Rail shows the words in a steady line. Embed is a rare highlight placed behind the subject.
Does it move the picture up to make room for captions?
No. Captions are an overlay, so the video keeps its full frame.
Does it work with HyperFrames?
Yes. It adds to the HyperFrames captions guide and applies on top of it.
Details
Original description by the author
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
Popularity
- GitHub stars
- 78k
- Ranking position
- #1727
- License
- Apache-2.0
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
cut-the-curve
78kTeaches your agent the transitions used in HyperFrames videos, such as smooth scene cuts, zoom-throughs, and staggered text entries.
motion-doctrine
78kGives your agent the core rules for making a multi-scene video feel like one continuous camera move instead of separate slides.
oversized-cursor
78kTeaches your agent to add a large, animated pointer to a video that guides the viewer's eye and makes clicks feel like they cause the next action.
seam-craft
78kExplains how to make scene-to-scene transitions in a HyperFrames video look clean, with no white flashes or see-through dips at the cut.
Similar skills
taste-application
280kHelps your agent create videos in a specific style. It can copy the editing rhythm from a reference video, generate new scenes, adjust colors, and edit everything together with other footage.
taste-distillation
280kLets your agent analyze videos to create a style pack. This includes colors, cutting rhythm, and visual elements that can be reused to create new videos with the same look.
ui-demo
280kHas your agent record polished UI demo videos. Useful for creating tutorials or showing how a web app works.