captions-overlay
Skill này làm gì
Skill này đặt các quy tắc về phụ đề trong video HyperFrames. Nó dành cho người làm video muốn phụ đề gọn gàng và không làm rối hình ảnh.
Khi nào nên dùng
- ✓Khi bạn thêm phụ đề cho một video nói trước máy quay hoặc video giới thiệu.
- ✓Khi bạn cần quyết định một cụm từ nói có nên xóa hay giữ trên màn hình.
- ✓Khi bạn muốn phụ đề nằm trên video mà không làm dịch chuyển khung hình.
Liên kết skill
https://github.com/heygen-com/hyperframes/blob/main/.agents/skills/captions-overlay/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Hãy thêm phụ đề cho video ra mắt của tôi, nhưng giữ hình ảnh ở giữa và bỏ các từ đệm.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill chia mọi cụm từ được nói vào một trong ba nhóm: bỏ đi, hiển thị trên thanh phụ đề, hoặc nhúng như một điểm nhấn hiếm. Phụ đề được đặt chồng lên video, nên khung hình luôn giữ nguyên.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Bỏ, rail và nhúng nghĩa là gì?
Bỏ là xóa các từ đệm. Rail là dải chữ ổn định ở một chỗ cố định. Nhúng là điểm nhấn hiếm đặt phía sau chủ thể.
Nó có đẩy hình ảnh lên để nhường chỗ cho phụ đề không?
Không. Phụ đề là lớp phủ, nên video giữ nguyên khung hình đầy đủ.
Nó có hoạt động với HyperFrames không?
Có. Nó bổ sung cho hướng dẫn phụ đề của HyperFrames và áp dụng trên nền đó.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 78k
- Vị trí xếp hạng
- #1727
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
cut-the-curve
78kDạy agent của bạn các kiểu chuyển cảnh dùng trong video HyperFrames, như chuyển cảnh mượt, zoom xuyên qua và chữ xuất hiện so le.
motion-doctrine
78kCho agent của bạn các quy tắc cốt lõi để làm một video nhiều cảnh trông như một cú máy liên tục, thay vì các slide rời rạc.
oversized-cursor
78kDạy agent của bạn thêm một con trỏ lớn, có hoạt họa vào video để dẫn mắt người xem và làm cho các cú nhấp trông như gây ra hành động kế tiếp.
seam-craft
78kGiải thích cách làm chuyển cảnh trong video HyperFrames trông gọn gàng, không có chớp trắng hoặc chỗ mờ xuyên thấu ở đường cắt.
Skill tương tự
taste-application
280kGiúp agent tạo video theo phong cách cụ thể: sao chép nhịp dựng từ video mẫu, tạo cảnh mới, chỉnh màu và ghép với các đoạn có sẵn.
taste-distillation
280kGiúp agent phân tích video để tạo style pack gồm màu sắc, nhịp cắt và yếu tố hình ảnh, tái sử dụng để tạo video mới cùng phong cách.
ui-demo
280kGiúp agent ghi lại video demo giao diện chỉn chu. Hữu ích để tạo hướng dẫn hoặc cho thấy một ứng dụng web hoạt động ra sao.