diff --git a/skills/embedded-captions/CATALOG.md b/skills/embedded-captions/CATALOG.md
index 71dd062b05..6b0079ca4f 100644
--- a/skills/embedded-captions/CATALOG.md
+++ b/skills/embedded-captions/CATALOG.md
@@ -35,7 +35,6 @@ Routing procedure (replaces any mode decision):
| `stardust` | accumulating poem, condensing letters | words condense from dust and return to it | poetic / memory / science-wonder monologues | one clear column side (probe fails → fall back to `cream`) | theme.json → make-theme |
| `stomp` | full-frame takeover cards | hard-cut typographic takeover with a void before the drop | hooks, manifestos, ad openers — the words ARE the show | any (plate runs dimmed) | theme.json → make-theme |
| `lastpage` | manuscript rail + a blurred future-field | the future hangs unreadable in the room; one rack-focus reveals every faint line was the apex word | visionary thesis, prophecy-toned talks, trailers, literary content | mid/dark (the field needs air) | theme.json → make-theme |
-| `nightcity` | corrupted-UI rail + cover-letterform apex | body words boot through a corrupted-cyan frame into acid-yellow UI; the apex slams in BEHIND the subject set in the CP2077 cover replica typeface (cyan offset, baseline streak, circuit trace), tears in as displaced slices, lives as a glitching print | gaming / tech-edge / glitch culture / hype drops, "赛博朋克/游戏封面" asks | any (the lockup carries its own contrast); CP2077-adjacent content only (fan-kit terms) | theme.json → make-theme |
| `scoreboard` | split-flap chyron rail + departures-board apex | stadium split-flap mechanics — body words flip-cycle wrong words on tiles before clacking onto the real one; ROW counter + odometer chip furniture; the apex is a giant departures board behind the subject that locks the word letter-by-letter under floodlights and a crowd-flash, status ticker types on | sports, transit/travel, scores, countdowns, reveals, "翻牌/记分牌/机场大屏" asks | any (board + chyron bring their own dark metal contrast) | theme.json → make-theme |
| `transit` | LED departure-strip rail + illumination-wipe apex | amber dot-matrix station PA — body words light column-by-column (L→R LED wipe + arrival flicker) on a docked departure strip whose lines page by scroll-snap; platform tag, ticking clock, ⚠ DELAYED → ● ON TIME gag; the apex panel expands behind the subject inside a chasing LED-marquee border, the word illuminates column-by-column under a PA flash + ding pulses, then pages up and collapses | travel/transit, announcements, schedules, countdowns, retro-terminal, "LED屏/车站到站/点阵屏" asks | any (LED strip + panel bring their own dark contrast) | theme.json → make-theme |
| `vhs` | camcorder OSD rail + REC-FREEZE tracking-slam apex | tape playback — permanent lens vignette + OSD furniture (▶ PLAY, ● REC, blinking green timestamp); body words carry a permanent red/cyan misregistration fringe, arrive by tracking glitch and REWIND off with flat-white echoes + scrub lines (the deck flips PLAY→REW in dead air); the apex is REC FREEZE: 1-frame white tear + head-switching noise bar, the word slams in behind the subject as three sheared tracking bands that SNAP into register, misregistration breathes through the hold under tape weave + auto-iris, then rewinds off | retro / nostalgia / found-footage / home-video, '90s tech, music & lifestyle edits, "录像带/VHS/复古/DV" asks | any (backlight-comp scrim makes its own contrast on bright skies) | theme.json → make-theme |
@@ -65,8 +64,7 @@ Routing procedure (replaces any mode decision):
what should explode: a word (`ordnance`), the frame (`stomp`), a decode (`terminal`),
every beat (`loud`).
- **Named worlds** → direct hits: 控制台/终端 → `terminal`; 霓虹/招牌 → `neonsign`;
- 诗/星尘/记忆 → `stardust`; 军事/重击 → `ordnance`; 预言/未来/悬念揭示 → `lastpage`;
- 赛博朋克/游戏封面/夜之城 → `nightcity`.
+ 诗/星尘/记忆 → `stardust`; 军事/重击 → `ordnance`; 预言/未来/悬念揭示 → `lastpage`.
- **Scene constraints veto last**: luma > 180 kills cream/screen column looks
(→ `ink` or a rail/panel surface); dusk/dark unlocks `neon`/`neonsign`.
- **Unsure** → `anchor` (the conservative default: words read, scene safe, zero spectacle).
diff --git a/skills/embedded-captions/SKILL.md b/skills/embedded-captions/SKILL.md
index 45df255e20..e539421293 100644
--- a/skills/embedded-captions/SKILL.md
+++ b/skills/embedded-captions/SKILL.md
@@ -1,6 +1,6 @@
---
name: embedded-captions
-description: 'Add captions to a talking-head video. ONE catalog (CATALOG.md) of 32 visual identities behind two engines: column-flow (captions composited INTO the scene — matte occlusion + mix-blend; cream/ink/editorial/keynote/documentary/loud/neon/glitch/chrome/velocity) and themed constitutions (anchor/ordnance/terminal/neonsign/stardust/stomp/scoreboard/transit/vhs/arcade/dossier/laser/thunder/hologram/biolume/aurora/spectrum/papercut/popup/chalkboard/graffiti/brush/inkwater/ransom/lastpage/nightcity — e.g. a glyph-decode climax, a neon sign WRITTEN stroke by stroke, or the quiet `anchor` rail default). Route by identity, never by mode. Trigger on "captions/subtitles", "embed/cinematic captions", "VFX captions", "炸/特效/酷炫字幕", a named identity, or top-tier motion-graphics asks. Embedding every word is wrong for most talking-head content — `anchor` is the verbatim default. Pipeline: transcription → hyperframes remove-background matting → HTML render → ffmpeg overlay. Requires hyperframes and a single-subject clip.'
+description: 'Add captions to a talking-head video. ONE catalog (CATALOG.md) of 31 visual identities behind two engines: column-flow (captions composited INTO the scene — matte occlusion + mix-blend; cream/ink/editorial/keynote/documentary/loud/neon/glitch/chrome/velocity) and themed constitutions (anchor/ordnance/terminal/neonsign/stardust/stomp/scoreboard/transit/vhs/arcade/dossier/laser/thunder/hologram/biolume/aurora/spectrum/papercut/popup/chalkboard/graffiti/brush/inkwater/ransom/lastpage — e.g. a glyph-decode climax, a neon sign WRITTEN stroke by stroke, or the quiet `anchor` rail default). Route by identity, never by mode. Trigger on "captions/subtitles", "embed/cinematic captions", "VFX captions", "炸/特效/酷炫字幕", a named identity, or top-tier motion-graphics asks. Embedding every word is wrong for most talking-head content — `anchor` is the verbatim default. Pipeline: transcription → hyperframes remove-background matting → HTML render → ffmpeg overlay. Requires hyperframes and a single-subject clip.'
metadata:
tags: captions, embedded-captions, occlusion, matting, talking-head, rembg-matting, whisper, ffmpeg, cinematic
---
@@ -258,7 +258,7 @@ track has its own, much simpler spec → **[references/rail.md](references/rail.
- **Face must never be 100%-covered continuously** — every 0.3s window, face bbox ≥30% uncovered.
- **WCAG contrast** — final render lints; fix palette if it fails.
- **Deterministic** — no `Math.random()`, no `Date.now()`, no `repeat:-1`.
-- **Never grade/recolor the video.** The footage ships untouched — captions are the only addition. No full-frame scanlines / duotone / darken / vignette over the a-roll. Cyberpunk/CRT texture belongs _inside_ a caption element, not over the whole frame.
+- **Never grade/recolor the video.** The footage ships untouched — captions are the only addition. No full-frame scanlines / duotone / darken / vignette over the a-roll. CRT/glitch texture belongs _inside_ a caption element, not over the whole frame.
- **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."
- **Matte = the PERSON (hyperframes `remove-background`, u2net_human_seg, Apache-2.0).** Human segmentation by intent, but not surgically: thin offset furniture (mic boom arms) is usually excluded — captions render over it, behind the person — while large salient objects NEAR the subject (a telescope, a desk rig) can still leak into the matte and occlude captions. Objects HELD by the subject (products, phones) may drop out intermittently, letting captions pass in front. NEVER assume: sample `frames_fg/` at 2-3 timestamps before placing the hero, and prefer hero positions clear of any leaked furniture (`heroAnchor` can be skewed by leaks — cross-check against frames_bg).
diff --git a/skills/embedded-captions/assets/brand/CDPR-fankit-terms.txt b/skills/embedded-captions/assets/brand/CDPR-fankit-terms.txt
deleted file mode 100644
index e1f58eddb6..0000000000
--- a/skills/embedded-captions/assets/brand/CDPR-fankit-terms.txt
+++ /dev/null
@@ -1,35 +0,0 @@
- ______ __ __ ___ ____ __________
- / ____/_ __/ /_ ___ _________ __ ______ / /__ |__ \ / __ \/__ /__ /
- / / / / / / __ \/ _ \/ ___/ __ \/ / / / __ \/ //_/ __/ // / / / / / / /
-/ /___/ /_/ / /_/ / __/ / / /_/ / /_/ / / / / ,< / __// /_/ / / / / /
-\____/\__, /_.___/\___/_/ / .___/\__,_/_/ /_/_/|_| /____/\____/ /_/ /_/
- /____/ /_/
-
----Thanks and Rules---
-
-Thanks for downloading this file! I really appreciate the folks checking out the site and I hope you enjoy using the file or if you just wanted to see what was in it, I hope it meets your expectations! A special thanks also to Eli, Madqueen, & Nikolay for helping me on several of the logos found on this page.
-
-////// It's my duty to remind you that these are not for commercial usage. All of the logos here are the intellectual property of CD Projekt Red and are therefore not to be used in commercial applications at all. Don't sell it or use it in something that you are going to sell! If you do, you will be subject to the copyright laws of your country and may face legal action and fees.
-
-Also, companies: Stop using these as a substitute for official files! I'm flattered, but there are differences between my logos and the official ones that can break your contract. In the event that you do, however, remember that you must attribute me, AS PER MY AGREEMENT WITH CD PROJEKT RED. I've got a direct line to legal as they were kind enough to allow me to have this project in the first place. Just use theirs, it's easier and much more official!
-
-CD PROJEKT®, Cyberpunk®, Cyberpunk 2077® are registered trademarks of CD PROJEKT S.A. © 2020 CD PROJEKT S.A. All rights reserved. All other copyrights and trademarks are the property of their respective owners. //////
-
-Use these logos to add a bit of realism to your fan pieces as well as any sort of cosplay you're thinking of doing for your favorite Con or event. There are lots of uses out there for these and I hope they come in handy. I always love seeing where these go, so feel free to send a picture our way:
-
-Valency
-Twitter/Instagram: @valencygraphics
-
-Eli
-Twitter/Instagram: @hey_elium
-
-The Madqueen
-Twitter: @madqueenshow
-Youtube: The Madqueen Show
-
-Nikolay Verin
-Twitter: @nikolayverin
-
-Best of luck, Choombas!
-
-Valency--- replica font: free for personal use (Lyon ArtZ replica via hyperpix); samurai theme is already fan-kit non-commercial
diff --git a/skills/embedded-captions/assets/brand/CyberpunkReplica.ttf b/skills/embedded-captions/assets/brand/CyberpunkReplica.ttf
deleted file mode 100644
index fc7ff74154..0000000000
Binary files a/skills/embedded-captions/assets/brand/CyberpunkReplica.ttf and /dev/null differ
diff --git a/skills/embedded-captions/assets/brand/cyberpunk-widths.json b/skills/embedded-captions/assets/brand/cyberpunk-widths.json
deleted file mode 100644
index f1aeb66fd8..0000000000
--- a/skills/embedded-captions/assets/brand/cyberpunk-widths.json
+++ /dev/null
@@ -1,115 +0,0 @@
-{
- "unitsPerEm": 1000,
- "fontBBox": [0.033, -0.3, 1.117, 0.876],
- "ascent": 0.876,
- "descent": -0.3,
- "widths": {
- "a": 0.713,
- "b": 0.621,
- "c": 0.79,
- "d": 0.7,
- "e": 0.81,
- "f": 0.747,
- "g": 0.664,
- "h": 0.501,
- "i": 0.61,
- "j": 0.614,
- "k": 0.786,
- "l": 0.749,
- "m": 0.728,
- "n": 0.656,
- "o": 0.555,
- "p": 0.713,
- "q": 0.541,
- "r": 0.712,
- "s": 0.502,
- "t": 0.713,
- "u": 0.575,
- "v": 0.64,
- "w": 0.696,
- "x": 0.53,
- "y": 0.588,
- "z": 0.664,
- "A": 1.032,
- "B": 0.888,
- "C": 1.166,
- "D": 1.025,
- "E": 1.174,
- "F": 1.097,
- "G": 0.966,
- "H": 0.708,
- "I": 0.879,
- "J": 0.884,
- "K": 1.155,
- "L": 1.104,
- "M": 1.074,
- "N": 0.955,
- "O": 0.799,
- "P": 1.041,
- "Q": 0.779,
- "R": 1.033,
- "S": 0.719,
- "T": 1.038,
- "U": 0.821,
- "V": 0.945,
- "W": 1.019,
- "X": 0.761,
- "Y": 0.867,
- "Z": 0.96,
- " ": 0.26
- },
- "bounds": {
- "a": [0.058, -0.131, 0.656, 0.285],
- "b": [0.058, -0.151, 0.564, 0.504],
- "c": [0.058, -0.184, 0.731, 0.139],
- "d": [0.058, -0.159, 0.642, 0.448],
- "e": [0.058, -0.148, 0.752, 0.292],
- "f": [0.058, -0.142, 0.69, 0.401],
- "g": [0.057, -0.16, 0.607, 0.316],
- "h": [0.057, -0.172, 0.443, 0.441],
- "i": [0.057, -0.167, 0.553, 0.29],
- "j": [0.058, -0.158, 0.557, 0.266],
- "k": [0.057, -0.212, 0.728, 0.354],
- "l": [0.059, -0.185, 0.692, 0.276],
- "m": [0.057, -0.286, 0.671, 0.308],
- "n": [0.058, -0.167, 0.598, 0.252],
- "o": [0.057, -0.168, 0.499, 0.226],
- "p": [0.058, -0.258, 0.656, 0.239],
- "q": [0.056, -0.227, 0.487, 0.245],
- "r": [0.058, -0.081, 0.655, 0.32],
- "s": [0.058, -0.153, 0.446, 0.245],
- "t": [0.057, -0.161, 0.655, 0.276],
- "u": [0.058, -0.167, 0.518, 0.312],
- "v": [0.051, -0.209, 0.582, 0.458],
- "w": [0.057, -0.173, 0.639, 0.391],
- "x": [0.058, -0.258, 0.472, 0.208],
- "y": [0.057, -0.292, 0.532, 0.22],
- "z": [0.058, -0.158, 0.606, 0.295],
- "A": [0.058, -0.161, 0.974, 0.484],
- "B": [0.058, -0.161, 0.834, 0.846],
- "C": [0.058, -0.158, 1.108, 0.342],
- "D": [0.057, -0.155, 0.967, 0.79],
- "E": [0.058, -0.164, 1.117, 0.508],
- "F": [0.054, -0.167, 1.039, 0.67],
- "G": [0.057, -0.164, 0.908, 0.573],
- "H": [0.057, -0.161, 0.649, 0.794],
- "I": [0.057, -0.167, 0.821, 0.529],
- "J": [0.057, -0.161, 0.826, 0.5],
- "K": [0.057, -0.262, 1.098, 0.621],
- "L": [0.056, -0.153, 1.048, 0.567],
- "M": [0.057, -0.286, 1.017, 0.645],
- "N": [0.057, -0.197, 0.897, 0.445],
- "O": [0.057, -0.198, 0.742, 0.408],
- "P": [0.058, -0.208, 0.984, 0.567],
- "Q": [0.056, -0.173, 0.72, 0.567],
- "R": [0.058, -0.166, 0.976, 0.445],
- "S": [0.057, -0.129, 0.661, 0.494],
- "T": [0.057, -0.151, 0.983, 0.525],
- "U": [0.058, -0.159, 0.766, 0.583],
- "V": [0.057, -0.16, 0.887, 0.876],
- "W": [0.057, -0.228, 0.962, 0.644],
- "X": [0.058, -0.233, 0.703, 0.496],
- "Y": [0.058, -0.3, 0.809, 0.496],
- "Z": [0.056, -0.154, 0.903, 0.545]
- }
-}
diff --git a/skills/embedded-captions/scripts/make-theme.cjs b/skills/embedded-captions/scripts/make-theme.cjs
index ddf71d7259..e99cdc32c5 100644
--- a/skills/embedded-captions/scripts/make-theme.cjs
+++ b/skills/embedded-captions/scripts/make-theme.cjs
@@ -108,7 +108,6 @@ const SETPIECE_PREF_TOP = {
decode: 26,
drawon: 18,
cpslam: 27,
- coverword: 27,
settle: 27,
flapboard: 25,
ledwipe: 52,
@@ -510,30 +509,6 @@ if (!heroInline && !HEROLESS) {
HG.fontPx = Math.min(dna.hero.fontPx || 130, Math.floor((W * 0.92 - n * 6) / em1));
Object.assign(HG, sceneHeroXY("ransomnote", HG.fontPx));
HG.halfW = (em1 * HG.fontPx + n * 6) / 2;
- } else if (dna.hero.setpiece === "coverword") {
- // metric-exact fit from the replica font's advance widths (logo case:
- // first letter upper, rest lower — the official mark's own arrangement)
- const CPM = JSON.parse(
- fs.readFileSync(path.join(SKILL, "assets/brand/cyberpunk-widths.json"), "utf8"),
- );
- const disp = heroText[0].toUpperCase() + heroText.slice(1).toLowerCase();
- const bad = [...disp].filter((c) => !(c in CPM.widths));
- if (bad.length)
- throw new Error(
- `[make-theme] coverword: no replica glyph for ${JSON.stringify(bad)} in "${heroText}" — pick a hero without digits/special chars or use hero.text`,
- );
- const em = [...disp].reduce((a, c) => a + CPM.widths[c], 0) + 0.01 * (disp.length - 1);
- // glyph ink is small inside the em box (x-height ~0.3em) -> size by INK:
- // dna fontPx = target ink height in px, not nominal font-size
- const inkTop = Math.max(...[...disp].map((c) => (CPM.bounds[c] || [0, 0, 0, 0.5])[3]));
- const inkBot = Math.min(...[...disp].map((c) => (CPM.bounds[c] || [0, -0.1, 0, 0])[1]));
- const inkH = inkTop - inkBot;
- HG.fontPx = Math.round(Math.min((dna.hero.fontPx || 150) / inkH, (W * 0.84) / em));
- Object.assign(HG, sceneHeroXY("coverword", Math.round(HG.fontPx * inkH)));
- HG.halfW = (em * HG.fontPx) / 2 + 0.9 * HG.fontPx;
- HG.coverEm = em;
- HG.coverDisp = disp;
- HG.coverInk = { inkTop, inkBot, inkH };
}
// keep the word on frame (when wider than the frame, CENTER it — an inverted
// Math.max/Math.min clamp would silently pin to the lower bound off-center)
@@ -5111,176 +5086,6 @@ function setpieceCpslam() {
return { css, html, js };
}
-function setpieceCoverword() {
- // CP2077 COVER-LETTERFORM slam, precision pass: the spoken apex word set in
- // the replica typeface of the official mark (assets/brand/CyberpunkReplica.ttf
- // — lowercase glyphs carry the logo's actual brush chops, blade terminals and
- // spikes), in logo case (First-upper). The setpiece adds only what the FONT
- // does not carry: the solid cyan duplicate offset down-left, the baseline
- // streak + cyan pixel debris, the circuit trace off the tail, and the
- // tear-in/living-print/tear-out choreography. No synthetic letter surgery.
- const h = dna.hero,
- p = h.params || {},
- I = heroIn;
- const YEL = dna.palette.hot || "#FCEE0A",
- CYN = dna.palette.accent || "#52BEDC";
- const srnd = (() => {
- let a = p.seed || 77;
- return () => {
- a |= 0;
- a = (a + 0x6d2b79f5) | 0;
- let t = Math.imul(a ^ (a >>> 15), 1 | a);
- t = (t + Math.imul(t ^ (t >>> 7), 61 | t)) ^ t;
- return ((t ^ (t >>> 14)) >>> 0) / 4294967296;
- };
- })();
- const CPM = JSON.parse(
- fs.readFileSync(path.join(SKILL, "assets/brand/cyberpunk-widths.json"), "utf8"),
- );
- const fontB64 = fs
- .readFileSync(path.join(SKILL, "assets/brand/CyberpunkReplica.ttf"))
- .toString("base64");
- const DISP = HG.coverDisp || heroText[0].toUpperCase() + heroText.slice(1).toLowerCase();
- const hpx = HG.fontPx;
- const em =
- HG.coverEm ||
- [...DISP].reduce((a, c) => a + (CPM.widths[c] || 0.7), 0) + 0.01 * (DISP.length - 1);
- const INK = HG.coverInk || { inkTop: 0.5, inkBot: -0.25, inkH: 0.75 };
- const IH = INK.inkH * hpx; // visual ink height (px)
- const Wd = em * hpx;
- const BW = Math.round(Wd + 2.4 * hpx),
- BH = Math.round(IH + 0.7 * hpx);
- // baseline placed so the measured ink box is vertically centered
- const baseY = Math.round(BH / 2 + ((INK.inkTop + INK.inkBot) / 2) * hpx);
- const feetY = Math.round(baseY - INK.inkBot * hpx); // lowest ink (px, y-down)
- const x0 = Math.round((BW - Wd) / 2),
- x1 = Math.round(x0 + Wd);
- const CX = BW - 120 > W ? W / 2 : Math.max(BW / 2 - 60, Math.min(W - BW / 2 + 60, HG.x)),
- CY = HG.y;
- const P = (pts, fill) =>
- `