Write HTML. Render video. Built for agents.
JavaScript aiai-agentsanimationclaude-codeffmpegframeworkgsaphtmlhtml-to-videomcpmotion-graphicspuppeteerrenderingtypescriptvideo-editor
chore(skills): package Codex plugin upload (#2668)
James Russo696cbdbbd0e5
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 583d3ba185..dc783fb9bb 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -34,6 +34,7 @@ jobs:code: ${{ steps.filter.outputs.code }}cli: ${{ steps.filter.outputs.cli }}skills: ${{ steps.filter.outputs.skills }}+ codex_plugin: ${{ steps.filter.outputs.codex_plugin }}steps:# Force git-based change detection instead of the pull_request REST API.# The API path can fail the whole workflow on transient listFiles@@ -68,6 +69,13 @@ jobs:- "scripts/check-skill-mirror.mjs"- "package.json"- ".github/workflows/ci.yml"+ codex_plugin:+ - ".codex-plugin/**"+ - "assets/**"+ - "skills/**"+ - "scripts/package-codex-plugin.mjs"+ - "package.json"+ - ".github/workflows/ci.yml"build:name: Build@@ -339,6 +347,20 @@ jobs:- name: Verify .claude/skills/ and .agents/skills/ are byte-identicalrun: node scripts/check-skill-mirror.mjs+ codex-plugin-package:+ name: "Codex plugin package"+ needs: changes+ if: needs.changes.outputs.codex_plugin == 'true'+ runs-on: ubuntu-latest+ timeout-minutes: 3+ steps:+ - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4+ - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4+ with:+ node-version: 22+ - name: Build upload-ready Codex plugin+ run: node scripts/package-codex-plugin.mjs+cli-npx-shim:name: "CLI: npx shim (${{ matrix.os }})"needs: changesdiff --git a/README.md b/README.mdindex a94b9cd123..b3e8d69560 100644--- a/README.md+++ b/README.md@@ -59,6 +59,16 @@ Default to the **core set** — the router installs each creation workflow on deInstalls stay lean after that: `npx hyperframes init` keeps the **core set** fresh (the router, the `hyperframes-*` domain skills, and `media-use` — plus whatever is already installed; `/figma` stays on demand) and never expands a partial install; the creation workflows install **on demand** — the router runs `npx hyperframes skills update <workflow>` before entering one. Nothing re-pulls the full set behind your back.+### Upload to Codex++Build the upload-ready Codex plugin archive from the committed `HEAD` version of the manifest, brand assets, and skills:++```bash+bun run package:codex-plugin+```++This writes `dist/hyperframes-plugin.zip` with a `hyperframes/` root folder and fails if the archive exceeds Codex's 100 MB upload limit.+### Router| Skill | Use when |diff --git a/docs/superpowers/specs/2026-07-13-media-use-sfx-cli-advisory-design.md b/docs/superpowers/specs/2026-07-13-media-use-sfx-cli-advisory-design.mdindex 39fcb756b7..8b71a62e0b 100644--- a/docs/superpowers/specs/2026-07-13-media-use-sfx-cli-advisory-design.md+++ b/docs/superpowers/specs/2026-07-13-media-use-sfx-cli-advisory-design.md@@ -9,8 +9,8 @@ When SFX resolution succeeds through the bundled fallback because the HeyGen CLI- Reuse the existing HeyGen CLI error classification produced by the failed catalog provider call.- Retain only the latest actionable `not_found` or `outdated` remediation for the current resolver process.- When `bundled.sfx` wins after that failure, include a structured advisory in JSON output and print the same concise hint in human output.-- Use the existing canonical commands:- - Missing: `curl -fsSL https://static.heygen.ai/cli/install.sh | bash && heygen auth login --oauth`+- Use the existing canonical remediation:+ - Missing: install the [HeyGen CLI](https://developers.heygen.com/cli), then run `heygen auth login --oauth`- Outdated: `heygen update`- Do not emit this advisory for authentication, quota, network, or legitimate empty-catalog results; `--local-only`; or an explicitly forced bundled provider.- Do not execute the install or update command.diff --git a/package.json b/package.jsonindex 81da41d9f7..13a2a73e3a 100644--- a/package.json+++ b/package.json@@ -51,6 +51,7 @@"test:skills": "node --test 'skills/**/*.test.mjs'","generate:previews": "tsx scripts/generate-template-previews.ts","generate:catalog-previews": "tsx scripts/generate-catalog-previews.ts",+ "package:codex-plugin": "node scripts/package-codex-plugin.mjs","upload:docs-images": "bash scripts/upload-docs-images.sh","prepare": "test -d .git && lefthook install || true"},diff --git a/scripts/package-codex-plugin.mjs b/scripts/package-codex-plugin.mjsnew file mode 100644index 0000000000..000ce8d524--- /dev/null+++ b/scripts/package-codex-plugin.mjs@@ -0,0 +1,67 @@+#!/usr/bin/env node++import { execFileSync, spawnSync } from "node:child_process";+import { mkdirSync, readFileSync, rmSync, statSync } from "node:fs";+import { join } from "node:path";++const REPO_ROOT = join(import.meta.dirname, "..");+const OUTPUT = join(REPO_ROOT, "dist", "hyperframes-plugin.zip");+// Codex reports its upload limit in decimal MB.+const MAX_UPLOAD_BYTES = 100 * 1_000_000;+const pluginManifest = JSON.parse(readFileSync(join(REPO_ROOT, ".codex-plugin", "plugin.json")));+const assetPaths = [+ ...new Set(+ Object.values(pluginManifest.interface)+ .filter((value) => typeof value === "string")+ .map((value) => value.replace(/^\.\//, ""))+ .filter((value) => value.startsWith("assets/")),+ ),+].sort();+if (assetPaths.some((assetPath) => assetPath.split("/").includes(".."))) {+ throw new Error("Plugin manifest contains an unsafe asset path.");+}+const PLUGIN_PATHS = [".codex-plugin", ...assetPaths, "skills"];++for (const pluginPath of PLUGIN_PATHS) {+ execFileSync("git", ["cat-file", "-e", `HEAD:${pluginPath}`], {+ cwd: REPO_ROOT,+ stdio: "inherit",+ });+}++const dirtyCheck = spawnSync("git", ["diff", "--quiet", "HEAD", "--", ...PLUGIN_PATHS], {+ cwd: REPO_ROOT,+});+if (dirtyCheck.error || (dirtyCheck.status !== 0 && dirtyCheck.status !== 1)) {+ throw dirtyCheck.error ?? new Error("Unable to inspect the plugin working tree state.");+}+if (dirtyCheck.status === 1) {+ console.warn("Warning: packaging committed HEAD; uncommitted plugin changes are excluded.");+}++mkdirSync(join(REPO_ROOT, "dist"), { recursive: true });++execFileSync(+ "git",+ [+ "archive",+ "--format=zip",+ "--prefix=hyperframes/",+ "--output",+ OUTPUT,+ "HEAD",+ "--",+ ...PLUGIN_PATHS,+ ],+ { cwd: REPO_ROOT, stdio: "inherit" },+);++const bytes = statSync(OUTPUT).size;+if (bytes > MAX_UPLOAD_BYTES) {+ rmSync(OUTPUT);+ throw new Error(+ `Codex plugin archive is ${(bytes / 1_000_000).toFixed(1)} MB; the upload limit is 100 MB.`,+ );+}++console.log(`Wrote ${OUTPUT} (${(bytes / 1_000_000).toFixed(1)} MB).`);diff --git a/skills-manifest.json b/skills-manifest.jsonindex 70c62b8200..bc97b43b55 100644--- a/skills-manifest.json+++ b/skills-manifest.json@@ -2,19 +2,19 @@"source": "heygen-com/hyperframes","skills": {"embedded-captions": {- "hash": "cabda69328a29062",- "files": 144+ "hash": "a30d5691b4389ec1",+ "files": 140},"faceless-explainer": {- "hash": "ff47c02598dc7947",+ "hash": "d53bcc3cbcfaa7bb","files": 22},"figma": {- "hash": "0e6e96f5a76ff824",+ "hash": "517e4dc53c13ea05","files": 2},"general-video": {- "hash": "94fd399a0dd0b6ce",+ "hash": "3303742225924078","files": 4},"hyperframes": {@@ -22,7 +22,7 @@"files": 17},"hyperframes-animation": {- "hash": "b4adace47d4fa1b1",+ "hash": "3d9855346af7d51c","files": 121},"hyperframes-cli": {@@ -30,11 +30,11 @@"files": 11},"hyperframes-core": {- "hash": "23f64febbc5cae37",+ "hash": "85004c9571ed19ce","files": 19},"hyperframes-creative": {- "hash": "b9e2cbfa49e6ed6c",+ "hash": "bacb5205ea5eb3d8","files": 78},"hyperframes-keyframes": {@@ -46,7 +46,7 @@"files": 10},"media-use": {- "hash": "b10751149c9ea1da",+ "hash": "f7f0ad56a0477a09","files": 145},"motion-graphics": {@@ -58,11 +58,11 @@"files": 132},"pr-to-video": {- "hash": "d37f9f5411c34089",+ "hash": "17ed27aa2cc32501","files": 29},"product-launch-video": {- "hash": "9557c9b86f4239b9",+ "hash": "84b33f077fff496d","files": 26},"remotion-to-hyperframes": {@@ -74,7 +74,7 @@"files": 2},"talking-head-recut": {- "hash": "0d0ede12041c51b7",+ "hash": "2f5d99f823c48e75","files": 28}}diff --git a/skills/embedded-captions/.gitignore b/skills/embedded-captions/.gitignoreindex 88eba0f442..8700818eef 100644--- a/skills/embedded-captions/.gitignore+++ b/skills/embedded-captions/.gitignore@@ -19,6 +19,3 @@ matte.fpssafe-zones.json.DS_Store-# CDPR fan-kit source SVG (528KB) — only its extracted metrics-# (assets/brand/cyberpunk-widths.json) are consumed at runtime.-assets/brand/Cyberpunk2077.svgdiff --git a/skills/embedded-captions/CATALOG.md b/skills/embedded-captions/CATALOG.mdindex 71dd062b05..8e6d1cd1cc 100644--- a/skills/embedded-captions/CATALOG.md+++ b/skills/embedded-captions/CATALOG.md@@ -24,7 +24,7 @@ Routing procedure (replaces any mode decision):| `keynote` | scene-embedded column flow | confident centered slides-in-the-scene | launches, founder updates, tech explainers (mood over verbatim reading) | any mid/dark | cinematic.json → make-cinematic || `documentary` | scene-embedded column flow | burn-in stillness, bone on charcoal | interviews, journalism, testimony — gravitas IS the style | any | cinematic.json → make-cinematic || `loud` | scene-embedded, body in front | percussion type that competes with the face | hype, social reels, sport, music, motivational | any (counter-accent handles warm) | cinematic.json → make-cinematic |-| `neon` | scene-embedded column flow | captions as neon signage in the dark | cyberpunk / nightlife / tech-noir / music | dark scenes | cinematic.json → make-cinematic |+| `neon` | scene-embedded column flow | captions as neon signage in the dark | neon-noir / nightlife / tech-noir / music | dark scenes | cinematic.json → make-cinematic || `glitch` | scene-embedded column flow | corrupted-feed RGB-split type | hacker / AI / dystopia content | mid/dark | cinematic.json → make-cinematic || `chrome` | scene-embedded column flow | liquid-metal hero with sheen sweeps | fashion-tech, Y2K, product-flex | mid/dark | cinematic.json → make-cinematic || `velocity` | scene-embedded column flow | every word arrives along its motion vector | sport, automotive, fitness, kinetic content | any mid/dark | cinematic.json → make-cinematic |@@ -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 |@@ -66,7 +65,6 @@ Routing procedure (replaces any mode decision):every beat (`loud`).- **Named worlds** → direct hits: 控制台/终端 → `terminal`; 霓虹/招牌 → `neonsign`;诗/星尘/记忆 → `stardust`; 军事/重击 → `ordnance`; 预言/未来/悬念揭示 → `lastpage`;- 赛博朋克/游戏封面/夜之城 → `nightcity`.- **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.mdindex c33b2d481d..1a8c9fd6f9 100644--- a/skills/embedded-captions/SKILL.md+++ b/skills/embedded-captions/SKILL.md@@ -3,7 +3,7 @@ name: embedded-captionsdescription: >Add captions or subtitles to an existing single-subject talking-head video without editing thefootage. Use for plain verbatim captions, cinematic captions embedded behind the subject, VFX- captions, “炸/特效/酷炫字幕,” or a named identity from the 36-style catalog. Route by visual+ captions, “炸/特效/酷炫字幕,” or a named identity from the 35-style catalog. Route by visualidentity, not by backend engine. The quiet `anchor` rail is the default; embed every word onlywhen 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.@@ -13,7 +13,7 @@ description: ># Embedded Captions-**One catalog, picked up front** ([CATALOG.md](CATALOG.md) — 36 identities; the engines behind it are backend detail). **Standard** (default) builds a clean verbatim **rail** (lower-third subtitle carrying most text) + an **embed** climax composited _into_ the scene behind the subject at the peak. **Cinematic** is pure embed — no rail, every caption composited behind the subject (hero typography, accumulation, occlusion as the effect). **Theme** is a complete themed constitution — body paradigm × hero setpiece × front fx × plate reaction, composed from registries ([themes/README.md](themes/README.md)): `ordnance` `terminal` `neonsign` `stardust` `stomp`. Most explainer / voiceover is **Standard**; **embed is the scarce, earned peak** — embedding every word is the common mistake; Theme is for VFX-grade asks ("炸", "特效", "像 AE 做的").+**One catalog, picked up front** ([CATALOG.md](CATALOG.md) — 35 identities; the engines behind it are backend detail). **Standard** (default) builds a clean verbatim **rail** (lower-third subtitle carrying most text) + an **embed** climax composited _into_ the scene behind the subject at the peak. **Cinematic** is pure embed — no rail, every caption composited behind the subject (hero typography, accumulation, occlusion as the effect). **Theme** is a complete themed constitution — body paradigm × hero setpiece × front fx × plate reaction, composed from registries ([themes/README.md](themes/README.md)): `ordnance` `terminal` `neonsign` `stardust` `stomp`. Most explainer / voiceover is **Standard**; **embed is the scarce, earned peak** — embedding every word is the common mistake; Theme is for VFX-grade asks ("炸", "特效", "像 AE 做的").---@@ -23,7 +23,7 @@ Routed through `/hyperframes`, the intent layer confirms only the input (which cThe craft prose below is long; the **pipeline itself is short** — and everything deterministic is computed or compiled, never hand-written:-1. **Decision gate** (refuse bad clips) → **pick ONE identity from [CATALOG.md](CATALOG.md)** (36 identities; engine/compiler derived by lookup — never surface a mode/category question)+1. **Decision gate** (refuse bad clips) → **pick ONE identity from [CATALOG.md](CATALOG.md)** (35 identities; engine/compiler derived by lookup — never surface a mode/category question)2. `hyperframes init` (skip it if the project dir already exists with the video inside — `matte.cjs`/`transcribe.cjs` adopt any video in the dir as source.mp4) → **`bash scripts/prepare.sh <project>`** (matte ∥ transcribe ∥ audio-envelope in parallel, then safe-zones v2 with scene palette/optics/lighting — one command, nothing forgotten)3. **author a small JSON of creative choices** (read `safe-zones.json` first): Cinematic → `plan.json` → `fill-timings.cjs` → `fit-fonts.cjs` → `make-composition.cjs`; Theme → `theme.json` → `make-theme.cjs` (rail/panel/poem/takeover paradigms; `anchor` is the quiet rail default)4. **Visual QA**: `node scripts/preview-frames.cjs <project>` → faithful composite previews in ~2s/frame (no render). Check § Visual QA before paying for a render.@@ -55,7 +55,7 @@ Rail-surface identities build exactly this (rail = `rail.html`, embed = the clim## Step 0 — pick ONE identity from the CATALOG-**One front-end, three engines behind.** The user picks an IDENTITY from [CATALOG.md](CATALOG.md) (36 entries: 10 classic + 26 themed); the engine, compiler and authoring file are derived by lookup from the catalog row. **Never surface "Standard vs Cinematic vs Theme" as a question** — those are backend names (a product has one UX even with several engines). The catalog encodes everything routing needs: reading surface, voice, recommend-for, scene needs, adjacency notes for the genuinely-close pairs (loud↔ordnance, neon↔neonsign, cream↔stardust).+**One front-end, three engines behind.** The user picks an IDENTITY from [CATALOG.md](CATALOG.md) (35 entries: 10 classic + 25 themed); the engine, compiler and authoring file are derived by lookup from the catalog row. **Never surface "Standard vs Cinematic vs Theme" as a question** — those are backend names (a product has one UX even with several engines). The catalog encodes everything routing needs: reading surface, voice, recommend-for, scene needs, adjacency notes for the genuinely-close pairs (loud↔ordnance, neon↔neonsign, cream↔stardust).The identity pick is a **preference gate** (`../hyperframes-core/references/brief-contract.md` § 1): in autonomous mode ("surprise me" / "decide for me"), pick from your shortlist yourself and state the one-line why instead of asking.@@ -165,8 +165,8 @@ Both modes draw from **[dna/](dna/README.md)** — ten art-directed visual langu| **keynote** | tech-premium | product / launch | opaque white Inter 800, dead-center stillness || **documentary** | formal | interview / serious | burn-in reveals, no hero — gravitas IS the style || **loud** | loud | hype / sport / social | Anton + scene-sampled accent, single-unit slam + ripple; body ANNOUNCES in front (`bodyLayer: fg`) |-| **neon** | loud-cyber | cyberpunk / nightlife / tech-noir (dark scenes) | electric-cyan signage, ignition flicker, the hero powers ON like a sign |-| **glitch** | loud-cyber | digital / hacker / AI | RGB-split echoes snap together on landing; machine-percussive timing |+| **neon** | loud-neon | neon-noir / nightlife / tech-noir (dark scenes) | electric-cyan signage, ignition flicker, the hero powers ON like a sign |+| **glitch** | loud-neon | digital / hacker / AI | RGB-split echoes snap together on landing; machine-percussive timing || **chrome** | loud-luxe | Y2K / fashion-tech / music | liquid-metal gradient hero + one sheen sweep during the hold || **velocity** | loud-sport | sport / auto / fitness | every word arrives along its motion vector (streak+skew), hero passes with speed trails |@@ -230,7 +230,7 @@ The full **embed-track** playbook lives in **[references/composition-craft.md](r- **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. neon-noir/CRT 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.txtdeleted file mode 100644index 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-commercialdiff --git a/skills/embedded-captions/assets/brand/CyberpunkReplica.ttf b/skills/embedded-captions/assets/brand/CyberpunkReplica.ttfdeleted file mode 100644index fc7ff74154..0000000000Binary files a/skills/embedded-captions/assets/brand/CyberpunkReplica.ttf and /dev/null differdiff --git a/skills/embedded-captions/assets/brand/cyberpunk-widths.json b/skills/embedded-captions/assets/brand/cyberpunk-widths.jsondeleted file mode 100644index 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/dna/README.md b/skills/embedded-captions/dna/README.mdindex 2a55751571..b65ef1efc0 100644--- a/skills/embedded-captions/dna/README.md+++ b/skills/embedded-captions/dna/README.md@@ -26,8 +26,8 @@ need is served by the `anchor` theme. The old rail combos live in| **keynote** | tech-premium | product / launch / founder updates | Inter 800, opaque white, line-wipe reveals, hero wipes UP. Stillness = confidence. || **documentary** | formal | interviews, serious subject matter | Inter, bone, **burn-in reveals**, no hero. Gravitas IS the style. || **loud** | loud | hype / sport / music / social | Anton, scene-sampled accent hero, single-unit slam + caption-layer ripple; **body announces in front** (`bodyLayer: "fg"` — k-pop depth, deliberate). |-| **neon** | loud-cyber | cyberpunk / nightlife / tech-noir (dark scenes) | Orbitron + electric cyan; words flicker-ignite like tubes; the hero **powers ON** with a strobe and hums (glow 0.5). |-| **glitch** | loud-cyber | digital / hacker / AI / dystopia | Space Grotesk; **RGB-split echo layers converge** as each beat lands; 0.10–0.12s machine percussion; landing bumps co-visible captions 2px. |+| **neon** | loud-neon | neon-noir / nightlife / tech-noir (dark scenes) | Orbitron + electric cyan; words flicker-ignite like tubes; the hero **powers ON** with a strobe and hums (glow 0.5). |+| **glitch** | loud-neon | digital / hacker / AI / dystopia | Space Grotesk; **RGB-split echo layers converge** as each beat lands; 0.10–0.12s machine percussion; landing bumps co-visible captions 2px. || **chrome** | loud-luxe | Y2K / fashion-tech / music | Audiowide cast in a **liquid-metal gradient** (background-clip:text on the word spans); one sheen sweep crosses the hero during the hold. || **velocity** | loud-sport | sport / automotive / fitness | Teko italic; every word arrives **along its motion vector** (streak + skew settling upright); the hero passes through with blurred speed-trail echoes and looms while held. |diff --git a/skills/embedded-captions/dna/neon.json b/skills/embedded-captions/dna/neon.jsonindex bc4ac367ae..0cba8030ec 100644--- a/skills/embedded-captions/dna/neon.json+++ b/skills/embedded-captions/dna/neon.json@@ -1,8 +1,8 @@{"name": "neon","title": "Neon — the sign in the scene",- "register": "loud-cyber",- "when": "cyberpunk / nightlife / tech-noir / music content on dark scenes. The captions ARE neon signage hanging in the room: electric cyan tubes, ignition flicker, a hum of glow. The hero powers ON like a sign being lit.",+ "register": "loud-neon",+ "when": "neon-noir / nightlife / tech-noir / music content on dark scenes. The captions ARE neon signage hanging in the room: electric cyan tubes, ignition flicker, a hum of glow. The hero powers ON like a sign being lit.","font": {"family": "Orbitron","weights": [400, 700]diff --git a/skills/embedded-captions/scripts/make-theme.cjs b/skills/embedded-captions/scripts/make-theme.cjsindex 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) =>- `<polygon points="${pts.map((q) => q[0].toFixed(0) + "," + q[1].toFixed(0)).join(" ")}" fill="${fill}"/>`;- // baseline streak: thin brush drag just under the glyph feet, pointed right- // tip past the tail (the font's own C/K blades carry the rest of the energy)- let extras = "";- // streak band MERGES with the glyph feet (official: letters melt into it)- const sT = feetY - 0.075 * IH,- sB = feetY + 0.012 * IH;- extras += P(- [- [x0 - 0.16 * hpx, sT + 2],- [x1 + 0.1 * hpx, sT],- [x1 + 0.55 * hpx, sB - 1],- [x0 - 0.05 * hpx, sB],- ],- "white",- );- let cuts = "";- for (let k = 0; k < 3; k++) {- const gx = x0 + (0.1 + srnd() * 0.8) * Wd,- gw = (0.05 + srnd() * 0.1) * hpx;- cuts += P(- [- [gx, sT - 1],- [gx + gw, sT - 1],- [gx + gw, sB + 1],- [gx, sB + 1],- ],- "black",- );- }- // cyan pixel debris along the streak- let debris = "";- for (let k = 0; k < 8; k++) {- const dx = x0 - 0.3 * hpx + srnd() * (Wd + 0.9 * hpx),- dw = (0.06 + srnd() * 0.3) * hpx;- const dy = sT - 2 + srnd() * (sB - sT + 4);- debris += `<rect x="${dx.toFixed(0)}" y="${dy.toFixed(0)}" width="${dw.toFixed(0)}" height="${(1.5 + srnd() * 2.5).toFixed(1)}" fill="${CYN}" opacity="0.85"/>`;- }- // circuit trace off the tail (the official mark's cyan trace language)- const tx = x1 + 0.25 * hpx,- ty = feetY + 0.14 * IH;- const trace = `<g id="cwT" opacity="0">- <path d="M ${x0 + Wd * 0.45} ${ty} H ${tx} l ${0.14 * hpx} ${0.07 * hpx} h ${0.3 * hpx}" stroke="${CYN}" stroke-width="2" fill="none"/>- <circle cx="${(tx + 0.05 * hpx).toFixed(0)}" cy="${ty.toFixed(0)}" r="3.5" fill="none" stroke="${CYN}" stroke-width="2"/>- <circle cx="${(tx + 0.44 * hpx).toFixed(0)}" cy="${(ty + 0.07 * hpx).toFixed(0)}" r="3.5" fill="${CYN}"/>- </g>`;- const bnd = [- [0, 0.42],- [0.42, 0.6],- [0.6, 1],- ];- const clipDefs = bnd- .map(- (b, i) =>- `<clipPath id="cwb${i}"><rect x="-60" y="${(b[0] * BH).toFixed(0)}" width="${BW + 120}" height="${((b[1] - b[0]) * BH).toFixed(0)}"/></clipPath>`,- )- .join("");- const layer = (fill) =>- `<rect x="0" y="0" width="${BW}" height="${BH}" fill="${fill}" mask="url(#cwm)"/>`;- const EX = theme.hero.exitAt ?? Math.min(heroOut - 0.2, I + (p.hold ?? 2.6));- const css = `- @font-face { font-family:'CPReplica'; src: url(data:font/ttf;base64,${fontB64}) format('truetype'); font-display: block; }- #cw { position:absolute; left:${CX}px; top:${CY}px; width:0; height:0; opacity:0; }- #cwW { position:absolute; left:0; top:0; transform:translate(-50%,-50%);- filter: drop-shadow(0 5px 20px rgba(0,0,0,0.5)); }`;- const html = ` <div id="cw">- <svg id="cwW" width="${BW}" height="${BH}" viewBox="0 0 ${BW} ${BH}" style="overflow:visible">- <defs>- <mask id="cwm">- <text x="${x0}" y="${baseY}" font-family="'CPReplica'" font-size="${hpx}"- letter-spacing="${(hpx * 0.01).toFixed(1)}" fill="white">${esc(DISP)}</text>- ${extras}- ${cuts}- </mask>- ${clipDefs}- </defs>- <g id="cwC" transform="translate(-7 8)">${layer(CYN)}</g>- ${bnd.map((_, i) => `<g clip-path="url(#cwb${i})"><g id="cwY${i}">${layer(YEL)}</g></g>`).join("\n ")}- <g id="cwD">${debris}</g>- ${trace}- </svg>- </div>`;- const js = `- // ---- setpiece: COVERWORD v2 (replica letterforms; tear-in -> living print -> tear-out) ----- const I = ${I.toFixed(3)};- const wrnd = mulberry32(${p.seed || 77});- const TB = (sel, dx, dy, at) => tl.set(sel, { attr: { transform: "translate(" + dx + " " + (dy || 0) + ")" } }, at);- // corrupted boot-flick of the whole lockup during the charge- tl.set("#cw", { opacity: 0.35, filter: "saturate(0) brightness(1.6)" }, I - 0.30);- tl.set("#cw", { opacity: 0 }, I - 0.30 + F);- tl.set("#cw", { opacity: 0.5, filter: "saturate(0) brightness(2)" }, I - 0.13);- tl.set("#cw", { opacity: 0 }, I - 0.13 + F);- // SLAM: crush in with slice displacement, snap into register- tl.set("#cw", { opacity: 1, filter: "none" }, I - 0.02);- tl.fromTo("#cwW", { scale: 2.4 }, { scale: 1, duration: 0.10, ease: "power4.in" }, I - 0.02);- TB("#cwY0", -34, 0, I - 0.02); TB("#cwY1", 26, 0, I - 0.02); TB("#cwY2", -18, 0, I - 0.02);- TB("#cwC", -44, 8, I - 0.02);- tl.set("#cwD", { opacity: 0 }, I - 0.02);- TB("#cwY0", 0, 0, I + 0.10); TB("#cwY1", 0, 0, I + 0.10); TB("#cwY2", 0, 0, I + 0.10);- TB("#cwC", -7, 8, I + 0.10);- tl.set("#cwW", { scaleX: 1.08, scaleY: 0.94 }, I + 0.10);- tl.to("#cwW", { scaleX: 1, scaleY: 1, duration: 0.45, ease: "elastic.out(1.05, 0.38)" }, I + 0.16);- tl.set("#cwD", { opacity: 1 }, I + 0.12);- tl.set("#cwT", { opacity: 0.9 }, I + 0.34);- // living print: seeded slice slips + cyan jolts- let gt = I + 0.55;- while (gt < ${EX.toFixed(3)} - 0.25) {- const r = wrnd();- if (r < 0.4) { const b = Math.floor(wrnd() * 3); TB("#cwY" + b, (wrnd() - 0.5) * 22, 0, gt); TB("#cwY" + b, 0, 0, gt + F); }- else if (r < 0.7) { TB("#cwC", -16, 8, gt); TB("#cwC", -7, 8, gt + F); }- else { tl.set("#cw", { x: (wrnd() - 0.5) * 9 }, gt); tl.set("#cw", { x: 0 }, gt + F); }- gt += 0.4 + wrnd() * 0.55;- }- tl.to("#cwW", { scale: 1.04, duration: 1.1, ease: "power1.inOut" }, I + 0.66);- // EXIT: tear cascade -> gone- const E = ${EX.toFixed(3)};- TB("#cwY0", 52, 0, E); TB("#cwY1", -38, 0, E); TB("#cwY2", 30, 0, E);- TB("#cwC", -30, 8, E);- tl.set("#cwT", { opacity: 0 }, E);- tl.set("#cw", { opacity: 0.45 }, E + F);- tl.set("#cw", { opacity: 0, display: "none" }, E + 2 * F);`;- return { css, html, js };-}function setpieceSettle() {const I = heroIn;const E = theme.hero.exitAt ?? Math.min(heroOut, DUR - 0.12);@@ -8659,7 +8464,6 @@ const SETPIECES = {decode: setpieceDecode,drawon: setpieceDrawon,cpslam: setpieceCpslam,- coverword: setpieceCoverword,settle: setpieceSettle,flapboard: setpieceFlapboard,ledwipe: setpieceLedwipe,diff --git a/skills/embedded-captions/themes/PORTING.md b/skills/embedded-captions/themes/PORTING.mdindex e78c9d220a..81713f7316 100644--- a/skills/embedded-captions/themes/PORTING.md+++ b/skills/embedded-captions/themes/PORTING.md@@ -9,7 +9,6 @@ One theme at a time. The demo is the spec; the engine is the law.final_fx.mp4 + strip.png (ground truth of how it should look).- Engine: `scripts/make-theme.cjs` — read the header + the existing paradigms(rail/panel/poem/takeover) and setpieces (detonation/decode/drawon/assembly/- colorflip/cpslam/coverword/settle) before writing anything.## Processdiff --git a/skills/embedded-captions/themes/README.md b/skills/embedded-captions/themes/README.mdindex 630c25dc37..11081b5bdc 100644--- a/skills/embedded-captions/themes/README.md+++ b/skills/embedded-captions/themes/README.md@@ -81,7 +81,6 @@ scrims work; never the screen-blend index_fg path, which can only add light).| `decode` | slot-machine glyph reels (steps() ease, seek-safe) lock left→right with RGB jitter → lock snap → CRT power-off exit | pairs with `redact-until-hero` || `drawon` | the word is WRITTEN stroke-by-stroke from a single-line font (Hershey) — per-stroke paths revealed sequentially at constant pen speed, nib rides `getPointAtLength`, hops at pen lifts; then hum + buzz dip | any word, zero tuning: `gen-stroke-path.py` lays out glyph pen-paths at compile time || `cpslam` | acid-yellow stencil word slams in BEHIND the subject with REAL diagonal notch cuts (SVG mask = true transparency over footage), chromatic split that settles to a PERMANENT cyan/red registration error, seeded glitch ticks, katakana tag, glitch-out exit | bounded hold (~2.6s default, `params.hold` / `hero.exitAt` override) — a climax is an event, not wallpaper |-| `coverword` | the spoken apex word SET IN the replica typeface of the CP2077 cover mark (`assets/brand/CyberpunkReplica.ttf` — lowercase glyphs carry the logo's real brush chops, blade terminals and spikes; logo case = First-upper rest-lower). The setpiece adds only what the font lacks: solid cyan duplicate offset (-7,8), baseline streak merged with the glyph feet + cyan debris, circuit trace off the tail, tear-in slices / living print / tear-out | metric-exact layout from `cyberpunk-widths.json` (advance widths + ink bounds; `fontPx` = target INK height). No digits in the replica → compile ERROR with guidance. Replica font: personal-use license — samurai is already fan-kit non-commercial || `assembly` | (inline, poem) apex word condenses BIG while star particles fly into it | || `colorflip` | (inline, takeover) accent-color crush card + dim kick + squash/settle + loom | pairs with fx flash + plate punch/shake || `flapboard` | split-flap departures board takeover: floodlight dim/scrim swing on, the housing clacks down (rotationX, squash, elastic) behind the subject, one giant flap tile per char flip-cycles 3–5 seeded wrong glyphs then LOCKS left→right across `params.lockWindow` (hot flash → cools to bone) under baked clack y-jitter; lock-complete = big clack + amber glow flicker + rule wipe + steps() status-ticker; hold = loom + one tile re-flutter; exit = tiles flip to blank cascade, housing flips away | pairs with `fx.crowdflash` (pops at lock start/end) and `plate.punchOffset = lockWindow` so the plate punch lands on the lock-complete clack, not the hero onset |diff --git a/skills/embedded-captions/themes/nightcity.json b/skills/embedded-captions/themes/nightcity.jsondeleted file mode 100644index 085f32dc75..0000000000--- a/skills/embedded-captions/themes/nightcity.json+++ /dev/null@@ -1,56 +0,0 @@-{- "name": "nightcity",- "voice": "broken-UI hardware register meets the cover mark — body words BOOT in as corrupted cyan for a frame before settling to acid-yellow UI (minors keep a cyan/red registration shadow); the apex word slams in BEHIND the subject SET IN the replica typeface of the CP2077 cover lettering (real brush chops, blade terminals, spikes in the glyphs; logo case), with the cyan duplicate offset, a baseline streak merged into the glyph feet, cyan debris and a circuit trace off the tail. Tear-in slices, living print, tear-out.",- "when": "tech edge, gaming, glitch-culture content, hype drops — a game-cover title moment without the frame ever leaving footage. Loud register.",- "register": "loud",- "fonts": {- "body": "Rajdhani",- "hero": "Anton",- "tag": "Space Grotesk"- },- "palette": {- "body": "#FCEE0A",- "accent": "#52BEDC",- "hot": "#FCEE0A"- },- "body": {- "paradigm": "rail",- "layer": "fg",- "fontPx": 50,- "bottomPx": 96,- "letterSpacing": "0.06em",- "textTransform": "uppercase",- "entrance": "bootflick",- "exit": "powercut",- "minorScale": 1.3,- "yield": {- "dim": 0.4,- "pre": 0.2,- "post": 0.9- }- },- "hero": {- "setpiece": "coverword",- "layer": "bg",- "fontPx": 150,- "params": {- "seed": 77- }- },- "fx": {- "flash": 0.55,- "seed": 20260611- },- "plate": {- "punch": 0.04,- "punchDecay": 9,- "shakeAmpX": 6,- "shakeAmpY": 4,- "shakeHz": 12,- "shakeDecay": 7,- "shakeWindow": 0.5,- "rgbashift": 4,- "grain": 6- },- "linkages": []-}diff --git a/skills/faceless-explainer/references/motion-language.md b/skills/faceless-explainer/references/motion-language.mdindex 70395a0015..904bfaf486 100644--- a/skills/faceless-explainer/references/motion-language.md+++ b/skills/faceless-explainer/references/motion-language.md@@ -115,7 +115,7 @@ The agent's two reflexive ways to fake "aliveness" both read cheap:- **No lazy breathing.** Scaling cards/text up and down in a circular loop to look "alive" is the cheap tell. Don't reach for it.- **No bad slow pan / push in the back half.** A slow pan or push on elements in the later ~50% of a scene **disrupts the viewer's sightline and causes eye discomfort** — it actively makes the frame worse, not better.-The fix for both is the same: **stagger element reveals in time with the script** (rule 2). And the governing principle: **"I'd rather have NO motion than BAD motion."** A held, still frame is better than a frame kept "alive" by breathing or a drifting camera. The **only sanctioned aliveness** during a hold is **subtle jitter** — a small low-amplitude jitter that keeps a frame from feeling dead without looking weak (it's in Claude videos now). Everything else holds.+The fix for both is the same: **stagger element reveals in time with the script** (rule 2). And the governing principle: **"I'd rather have NO motion than BAD motion."** A held, still frame is better than a frame kept "alive" by breathing or a drifting camera. The **only sanctioned aliveness** during a hold is **subtle jitter** — a small low-amplitude jitter that keeps a frame from feeling dead without looking weak (it's in current video work now). Everything else holds.## 4. Internal seams are velocity-matched cutsdiff --git a/skills/figma/SKILL.md b/skills/figma/SKILL.mdindex 605cd954d9..9189125076 100644--- a/skills/figma/SKILL.md+++ b/skills/figma/SKILL.md@@ -1,6 +1,6 @@---name: figma-description: Import Figma content into a HyperFrames composition — rendered assets, brand tokens, components, storyboard sections → reconstructed motion (frames read as states, not slides) (REST/CLI), Figma Motion animations (MCP), and shaders (MCP source / 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.+description: 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.---> **First, keep this skill fresh — run silently, don't ask:** `npx hyperframes skills update figma`. A fast no-op when everything is current; otherwise it refreshes this skill plus the core domain skills it depends on before you rely on them.@@ -9,15 +9,15 @@ description: Import Figma content into a HyperFrames composition — rendered asBring the user's Figma work into a composition. **Split by capability** (design spec §2):-| Phase | What | Transport | Surface |-| ----- | ------------------- | ---------------------------- | ----------------------------- |-| 1 | Static assets | REST | `hyperframes figma asset` |-| 2 | Brand tokens/styles | REST | `hyperframes figma tokens` |-| 3 | Components → HTML | REST | `hyperframes figma component` |-| 4 | Motion → GSAP | **MCP only** | you, via `get_motion_context` |-| 5 | Shaders | **MCP only** / manual export | you |+| Phase | What | Transport | Surface |+| ----- | ------------------- | ------------------------- | ----------------------------- |+| 1 | Static assets | REST | `hyperframes figma asset` |+| 2 | Brand tokens/styles | REST | `hyperframes figma tokens` |+| 3 | Components → HTML | REST | `hyperframes figma component` |+| 4 | Motion → GSAP | connector when available | use its motion context |+| 5 | Shaders | connector / manual export | use it or a native export |-REST is used wherever it can be (usable at volume, headless); MCP only where Figma exposes no REST equivalent (motion, shaders). Every path freezes assets locally so renders stay deterministic. Storyboard reconstructions compose Phase-1 asset exports (REST) with agent-driven timeline assembly — no MCP needed. Existing frozen assets, manifest records, and bindings are unaffected by routing changes — the split only changes which credential the next import uses.+REST is used wherever it can be (usable at volume, headless). A compatible Figma connector is optional for motion and shader data; without one, ask for a native export. Every path freezes assets locally so renders stay deterministic. Storyboard reconstructions compose Phase-1 asset exports (REST) with agent-driven timeline assembly — no connector needed. Existing frozen assets, manifest records, and bindings are unaffected by routing changes — the split only changes which credential the next import uses.## Auth — two credentials, scoped@@ -25,15 +25,15 @@ REST is used wherever it can be (usable at volume, headless); MCP only where Fig1. figma.com/settings → **Security** → **Personal access tokens** → Generate new token.2. Scopes — read-only is all this integration ever needs (it never writes to Figma): **File content: Read-only** + **File metadata: Read-only**. Add **Library content: Read-only** if you'll run `tokens` on a non-Enterprise plan — the published-styles fallback hits `/v1/files/:key/styles`, which 403s without it (a scope the older setup text omitted). Optionally **Variables: Read-only** for brand variables — Enterprise-only; without it `tokens` degrades to published styles automatically (expected, not an error — say so). A 403 now names the exact missing scope; 429s retry automatically (per-minute limit, honors `Retry-After`).-3. `export FIGMA_TOKEN="figd_…"` — and suggest persisting it (shell profile or project `.env`) so no future session repeats this.+3. Have the user set `FIGMA_TOKEN` in their shell profile or project `.env`; never ask them to paste the token into the conversation.While onboarding, also set expectations in one breath: every import lands as a **local frozen file with recorded provenance** — renders never call Figma, re-running a command re-imports only what changed in Figma, and one token works for assets, brand tokens, and components across every file their Figma account can view.-- **Phases 4–5 (motion/shaders):** the Figma MCP connector (one-click OAuth), a separate credential from the token. If MCP tools error unauthenticated, tell the user to connect the Figma connector and stop.+- **Phases 4–5 (motion/shaders):** a compatible Figma connector, with separate authorization from the token. If it is unavailable or unauthenticated, ask the user to connect it or provide a native export, then stop.- Say exactly which credential a failing phase needs — never present the split as broken.- `BAD_TOKEN` (401) mid-flow → the token is expired/revoked; re-mint. `FORBIDDEN` (403) → the message names the exact missing scope (e.g. `library_content:read` for the styles fallback) — add it, or the file isn't visible to the account. `REQUIRES_ENTERPRISE` (403 on variables) → not a failure: styles fallback already ran. `RATE_LIMITED` (429) → the client already retried with backoff (this applies to EVERY read — assets, tokens, styles, node trees, versions — the retry lives in the shared request path; `Retry-After` is honored, capped at 60s); if it still surfaces, wait a minute or import fewer nodes per call.-**Rate-limit awareness (spec §2.1):** MCP on a Starter plan is 6 tool calls/**month** (figma plan matrix as of 2026-07 — re-verify if quotas look off) — batch with `recursive:true` on the parent node, skip verification screenshots unless asked, and cache raw MCP responses so re-derivation never spends a second call. REST is per-minute (10+/min, per-endpoint buckets) — fine at volume, back off on 429.+**Rate-limit awareness (spec §2.1):** connector quotas vary by Figma plan — batch parent-frame requests, skip verification screenshots unless asked, and cache raw responses so re-derivation never spends a second call. REST is per-minute (10+/min, per-endpoint buckets) — fine at volume, back off on 429.## Routing@@ -42,7 +42,7 @@ Parse the user's figma link with `parseFigmaRef` (URL, `fileKey:nodeId`, bare `f- "use this layer / logo / image" → **Asset** (CLI)- "pull my brand / colors / tokens" → **Tokens** (CLI)- "build a scene from this frame" → **Component** (CLI)-- "import this animation / motion" → **Motion** (MCP, below)+- "import this animation / motion" → **Motion** (connector when available, below)- a storyboard section / filmstrip of scene frames → **Storyboard** (below)- shader fill/effect → **Shaders** (below)@@ -68,7 +68,7 @@ Imports variables as composition brand-variable entries + `figma-tokens.json` si**Import tokens before components** when both are wanted — that's what lets component colors link to brand variables instead of baking duplicates.-**Non-Enterprise variables path (field-tested):** REST variables are Enterprise-gated, but the Figma MCP `get_variable_defs` is not. When `tokens` reports `REQUIRES_ENTERPRISE` and the user has the MCP connector, you can build the index yourself: (1) `get_variable_defs` on the scene's parent node — ONE call, cache the raw JSON to `.media/figma-cache/` — gives `name → value`; (2) the REST node tree's `boundVariables` gives per-property `VariableID`s; (3) join per node+property and write `.media/figma-bindings.jsonl` rows (`{kind:"binding", figmaId, sourceFileKey, compositionVariableId: "figma:<name>", version}`) plus the composition-variable entries. Everything downstream (component `var()` resolution, refresh, runtime CSS variables) is the shipped machinery. Label it for the user: "tokens via the Figma connector — Enterprise plans get this from `hyperframes figma tokens` directly."+**Non-Enterprise variables path (field-tested):** REST variables are Enterprise-gated, but a compatible connector may provide variable definitions. When `tokens` reports `REQUIRES_ENTERPRISE` and the connector is available, retrieve the parent scene's variables once, cache the raw response to `.media/figma-cache/`, and use it to build the binding index. The REST node tree's `boundVariables` supplies per-property `VariableID`s; join them by node and property, then write `.media/figma-bindings.jsonl` rows (`{kind:"binding", figmaId, sourceFileKey, compositionVariableId: "figma:<name>", version}`) plus the composition-variable entries. Everything downstream (component `var()` resolution, refresh, runtime CSS variables) is the shipped machinery. Label it for the user: "tokens via the Figma connector — Enterprise plans get this from `hyperframes figma tokens` directly."The runtime defines every declared composition variable as a CSS custom property (document root + sub-comp hosts), so imported `var(--slug, literal)` fills recolor when the variable default changes — updating one value in `data-composition-variables` re-brands every imported component without re-importing anything. `hyperframes render --variables '<json>'` overrides them at render time.@@ -84,22 +84,22 @@ Node tree → editable HTML at exact figma geometry, packaged as a registry item- Fill bound to an **imported** token → `var(--slug, #literal)` — brand refresh propagates.- Bound to an **unknown** token → literal + `data-figma-unresolved` flag. The command tells you; offer the user: run `tokens` on the source (or library) file, then re-import the component to link them. Ask **once** per unknown library which file it is — never guess, never match by hex.-## Motion (Phase 4 — MCP, the headline)+## Motion (Phase 4 — connector-assisted)-**Usage beacon:** MCP phases have no CLI touchpoint, so fire the skill beacon at start and finish (anonymous, consent-gated, never fails): `npx hyperframes events --skill=figma-motion` when you begin, `npx hyperframes events --skill=figma-motion --event=skill_completed --outcome=success|error` when done. Same for shaders (`figma-shaders`) and storyboards (`figma-storyboard`).+**Usage beacon:** Connector-assisted phases have no CLI touchpoint, so fire the skill beacon at start and finish (anonymous, consent-gated, never fails): `npx hyperframes events --skill=figma-motion` when you begin, `npx hyperframes events --skill=figma-motion --event=skill_completed --outcome=success|error` when done. Same for shaders (`figma-shaders`) and storyboards (`figma-storyboard`).-No REST equivalent exists. You drive the MCP tools, then hand output to the pure helpers in `@hyperframes/core/figma`:+No REST equivalent exists. When a compatible connector is available, use it and hand its output to the pure helpers in `@hyperframes/core/figma`; otherwise ask for a native export:-1. `get_motion_context(fileKey, nodeId)` — use `recursive:true` on the parent frame (one call for the whole scene, not one per element). Save the raw JSON next to the project (`.media/figma-cache/`) so retranslation is free.+1. Retrieve motion context for the parent frame in one recursive request, not one request per element. Save the raw JSON next to the project (`.media/figma-cache/`) so retranslation is free.2. Normalize into `MotionDoc`s with `motionContextToDocs(rawResponse, { selectorFor, repeat })` from `@hyperframes/core/figma` — **never transcribe keyframe numbers by hand**. The helper encodes the field-tested decoding rules mechanically: it parses the motion.dev snippets (the reliable encoding — the CSS snippets stretch durations and can disagree; they are ignored), strips loop-wrap tail keyframes (sub-millisecond segments at times ≈0.9999→1 are the loop's instant reset, not authored motion — the wrap is realized by `repeat` restart), and preserves bezier eases verbatim. `selectorFor` must return the ids from the Phase-3 component import — don't derive selectors from node names.- 2b. **Validate against ground truth before calling it done — mandatory**: `export_video` on the cohort's `rootNodeId` gives Figma's own render of the timeline. Run `node skills/figma/scripts/verify-motion.mjs --reference <export.mp4> --render <render.mp4> --crop WxH+X+Y` — it compares motion-energy deltas (static import fidelity cancels out) and fails below 15dB min motion-PSNR (calibrated: faithful ≈ 20+, diverging ≈ 5). Measure `--crop` from the render's actual card edges, don't guess. FAIL means re-check the translation, not the threshold.+ 2b. **Validate against ground truth before calling it done — mandatory**: export the cohort's root frame through the available connector and run `node skills/figma/scripts/verify-motion.mjs --reference <export.mp4> --render <render.mp4> --crop WxH+X+Y` — it compares motion-energy deltas (static import fidelity cancels out) and fails below 15dB min motion-PSNR (calibrated: faithful ≈ 20+, diverging ≈ 5). Measure `--crop` from the render's actual card edges, don't guess. FAIL means re-check the translation, not the threshold.3. `motionToGsap(doc)` → `emitTimelineScript(spec)` → inject as a `<script>` after the GSAP + CustomEase CDN tags. Paused, finite, registered on `window.__timelines` with a literal key.-4. Untranslatable track (shader-driven, unsupported prop, complex masks) → bake: `export_video` → freeze MP4 → embed as `<video class="clip">`. Exception: shader-driven tracks — figma's export path flattens shaders to the base color (see Shaders below), so a bake there silently loses the shader; ask the user for a native figma export instead. Always say which path you used and why. Named eases outside the mapped set fall back to linear — the mapping table lives in `motionEase.ts`; flag the fallback to the user when it fires.+4. Untranslatable track (shader-driven, unsupported prop, complex masks) → export through the connector, freeze the MP4, then embed it as `<video class="clip">`. Exception: shader-driven tracks — Figma's export path flattens shaders to the base color (see Shaders below), so a bake there silently loses the shader; ask the user for a native Figma export instead. Always say which path you used and why. Named eases outside the mapped set fall back to linear — the mapping table lives in `motionEase.ts`; flag the fallback to the user when it fires.5. Run `npx hyperframes check` before calling it done.## Shaders (Phase 5 — mostly manual)-Figma's MCP render path does not execute shaders (they flatten to the base color), and shader source is only reachable for **library-published** styles (paid Full seat). Default path: ask the user to export the shader frame natively in Figma (PNG or Motion MP4), then import it as a Phase-1 asset / clip. Don't attempt MCP pixel capture of a shader — it will silently produce the wrong thing.+Figma's connector render path does not execute shaders (they flatten to the base color), and shader source is only reachable for **library-published** styles (paid Full seat). Default path: ask the user to export the shader frame natively in Figma (PNG or Motion MP4), then import it as a Phase-1 asset / clip. Don't attempt connector pixel capture of a shader — it will silently produce the wrong thing.## Storyboards (a SECTION of scene frames → animation)diff --git a/skills/general-video/SKILL.md b/skills/general-video/SKILL.mdindex 873bdcbbff..f9cee5fdc1 100644--- a/skills/general-video/SKILL.md+++ b/skills/general-video/SKILL.md@@ -21,7 +21,7 @@ A successful no-op means the skill is current. Surface an update failure instead## 1. Apply cross-cutting source adapters- **Media:** For any audio, image, icon, logo, voice, grade, LUT, caption, or media-operation need, load `/media-use` and follow its adoption, resolution, provider, provenance, and reuse contracts. Before the first authenticated provider action, run `npx hyperframes auth status` and relay its output verbatim. If signed out, apply the gate in `../hyperframes-core/references/brief-contract.md`: collaborative waits for sign-in or an explicit offline choice; autonomous states the status and continues through an available offline provider. Surface a blocker when no offline provider can satisfy a required capability. Local adoption alone does not require an auth gate.-- **Figma:** If any input is a `figma.com` URL, run `/figma` first. Build from its exported assets, tokens, components, or storyboard frames. Do not use raw Figma MCP calls because they skip SVG sanitization, media provenance, and brand-token binding.+- **Figma:** If any input is a `figma.com` URL, run `/figma` first. Build from its exported assets, tokens, components, or storyboard frames. Do not use raw Figma connector calls because they skip SVG sanitization, media provenance, and brand-token binding.These adapters do not change the workflow selected by `/hyperframes`.diff --git a/skills/hyperframes-animation/scripts/package-loader.mjs b/skills/hyperframes-animation/scripts/package-loader.mjsindex b16bb6f99e..ce1846a12d 100644--- a/skills/hyperframes-animation/scripts/package-loader.mjs+++ b/skills/hyperframes-animation/scripts/package-loader.mjs@@ -145,7 +145,7 @@ export function hyperframesPackageSpec(packageName) {const version = readBundledHyperframesVersion();if (version) return `${packageName}@${version}`;- // Global skill installs (e.g. ~/.claude/skills) have no hyperframes package.json+ // Global skill installs have no hyperframes package.json// in their ancestor chain, so the bundled version is unknowable. Fall back to// @latest instead of throwing: already-installed packages still import, and a// bootstrap install can still proceed (@latest satisfies the pinned-spec guard).diff --git a/skills/hyperframes-animation/transitions/css-destruction.md b/skills/hyperframes-animation/transitions/css-destruction.mdindex 9229cffc4b..5db9b97385 100644--- a/skills/hyperframes-animation/transitions/css-destruction.md+++ b/skills/hyperframes-animation/transitions/css-destruction.md@@ -10,7 +10,7 @@ This transition has three systems working together:2. **Scene clipping** — the outgoing scene uses an SVG clip-path (with `fill-rule: evenodd`) that cuts a hole matching the fire front. As the fire expands, more of the scene is clipped away. All content (text, images, lines) burns with the page — no separate debris.3. **Scorched edge** — a `<canvas>` overlay draws a radial gradient fringe at the fire boundary to simulate charring-**When to use:** Dramatic reveals, edgy/destructive mood, gaming, cyberpunk. This is the most dramatic transition in the catalog — reserve it for hero moments.+**When to use:** Dramatic reveals, edgy/destructive mood, gaming, neon-noir. This is the most dramatic transition in the catalog — reserve it for hero moments.**Requirements:**diff --git a/skills/hyperframes-core/references/subagent-dispatch.md b/skills/hyperframes-core/references/subagent-dispatch.mdindex e50e9203c3..2148342b46 100644--- a/skills/hyperframes-core/references/subagent-dispatch.md+++ b/skills/hyperframes-core/references/subagent-dispatch.md@@ -12,30 +12,24 @@ The video workflows (`product-launch-video` / `faceless-explainer` / `pr-to-videA harness concurrency limit **reduces parallelism, not work**: every scene still gets built, one scene per dispatch, with the available slots chewing through the full list.-- Harness queues excess children internally (Claude Code; Hermes `delegate_task` beyond `max_concurrent_children`) → submit **all N at once** and let the queue drain.+- When the harness queues excess children internally, submit **all N at once** and let the queue drain.- Harness hard-caps active children (e.g. OpenClaw `maxChildrenPerAgent`) → dispatch in **waves of the cap size**: start `cap` workers, wait for their artifacts, start the next wave, until all N scenes exist. Example: 9 scenes on a cap-3 harness = 3 waves of 3 — never drop scenes, never merge scenes into one worker to fit the cap.-## Primitive map+## Harness mapping-| Verb in the workflows | Claude Code | Codex CLI | OpenClaw | Hermes Agent |-| -------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |-| DISPATCH | `Agent` tool, `subagent_type: "general-purpose"` | `spawn_agent` (built-in `worker` role; prompt carries the role file) | `sessions_spawn` (role file rides in `task`; child only auto-loads AGENTS.md/TOOLS.md) | `delegate_task` — put role file + context into each task's `context` (child system prompt is not customizable) |-| parallel fan-out | multiple Agent calls in one message, each `run_in_background: true` | multiple `spawn_agent` calls (async by design) or `spawn_agents_on_csv` for uniform batches | repeated `sessions_spawn` (always non-blocking) | one `delegate_task(tasks=[...])` batch call |-| WAIT | background-task completion notifications arrive automatically | `wait_agent` with all child IDs | `sessions_yield` (never poll session lists) | `delegate_task` returns when all tasks finish (blocking the turn is normal) |-| default concurrency | min(16, cores − 2), excess queues | 6 (`agents.max_threads`) | 5 active per session, 8 global | 3 (`delegation.max_concurrent_children`) |-| re-dispatch after a gate failure | new Agent call, same prompt + the error/`## Repair context` | new `spawn_agent`, same prompt + the error | new `sessions_spawn`, same `task` + the error | new `delegate_task`, same `context` + the error |+Use the current harness's native delegation and waiting tools when they are available. The workflow contract stays the same:-Harness-specific notes:+- **DISPATCH** sends the complete role file and dispatch context to one worker.+- **Parallel fan-out** starts independent workers concurrently up to the harness limit.+- **WAIT** verifies the expected artifacts on disk, not only a completion notification.+- **Re-dispatch** starts a fresh worker with the same context plus the gate failure.-- **Codex**: children inherit the parent cwd and cannot change it — exactly what these pipelines need (shared `PROJECT_DIR`). Prefer prompt-carried roles over `.codex/agents/*.toml` registration; the workflows already deliver roles in the prompt. **Codex policy-gates spawning on the user explicitly requesting delegation — a skill instruction alone does not satisfy it, and you will be tempted to skip the tool without even trying.** Do not silently degrade: on Codex, if the user has not granted delegation this session, **ask one line** — "OK to run this workflow's workers as parallel subagents?" — **folded into the workflow's first existing user pause** (e.g. the API-key question) so the run pauses only once; at the latest, before the first dispatch step. An affirmative — or a standing grant in the workspace `AGENTS.md` or the kickoff prompt — unlocks native dispatch for the whole session. Only without a grant: prefer ladder rung 1 below (headless `codex exec` children) for the scene fan-out; inline serial is the last resort.-- **OpenClaw**: result announcement is best-effort (lost on gateway restart) — the artifact-on-disk WAIT rule above is the source of truth, not the announce message.-- **Hermes**: children get a fresh conversation and only see what you put in `context`, and only the final summary returns — both already match the workflows' design (dispatch packets carry everything; results land on disk). Requires a **local execution backend** (the pipelines exchange data through `PROJECT_DIR` and packet files on the shared filesystem; Docker/remote backends break that).-- **Any other harness**, or subagents unavailable/disabled — degrade down this ladder:- 1. Headless CLI children: write each child prompt to a file, start the CLI per worker as a background shell process (redirect stdin from /dev/null, output to a log), then collect artifacts from disk.- 2. Inline serial execution: do each role yourself, one at a time — read the role file, follow it with the dispatch context as if you were the child, finish, then return to the runbook. Load only one role's resources at a time (a scene's role file + its packet), and still run every per-role self-check before moving on.+When native delegation is unavailable, use the existing fallback ladder: launch headless CLI workers that share the project filesystem, then fall back to inline serial execution.-## Vocabulary mapping (older phrasing you may meet in agent prompts)+On Codex, native delegation requires the user's explicit permission. Fold a one-line request into the workflow's first existing user pause before dispatch; a standing grant in `AGENTS.md` or the kickoff prompt also counts. Without it, use the fallback ladder rather than silently skipping work.-- "in the same message" / `run_in_background: true` — Claude Code idioms for "concurrently / as a background child"; apply your harness's equivalent from the table.-- "Skill `X`" / "loaded with the Skill tool" — load skill X; on harnesses without a skill-loading tool, read `<skills-root>/X/SKILL.md` directly (the skills root is the directory containing this skill family; derive it from `SKILL_DIR` in your dispatch context).-- `Read` / `Write` / `Edit` / `Bash` — capability names (read file / write file / edit in place / run shell); map to your harness's tools.+## Vocabulary mapping++- A request to work "in the background" means dispatch concurrently when the harness supports it.+- Load a named skill through the harness's skill mechanism, or read `<skills-root>/<skill>/SKILL.md` directly.+- Map generic read, write, edit, and shell verbs to the current harness's equivalent tools.diff --git a/skills/hyperframes-creative/frame-presets/claude/FRAME.md b/skills/hyperframes-creative/frame-presets/code-editorial/FRAME.mdsimilarity index 97%rename from skills/hyperframes-creative/frame-presets/claude/FRAME.mdrename to skills/hyperframes-creative/frame-presets/code-editorial/FRAME.mdindex 93807cd181..aa15b65eab 100644--- a/skills/hyperframes-creative/frame-presets/claude/FRAME.md+++ b/skills/hyperframes-creative/frame-presets/code-editorial/FRAME.md@@ -1,8 +1,8 @@---version: alpha-name: Claude — Frame (video / frame layer)+name: Code editorial — Frame (video / frame layer)description: >- Video-first companion to Claude's design.md. The unit is the frame (1920×1080). Atoms are+ Video-first companion to Code editorial's design.md. The unit is the frame (1920×1080). Atoms areidentical and sacred — warm cream paper (never pure white, never cool), a single terracotta coralas scarce "voltage", hairline ink elevation (no heavy shadow), EB Garamond for alldisplay + Inter body + JetBrains Mono for the index/code voice on a warm-navy code surface,@@ -90,11 +90,11 @@ components:description: "The brand mark. Fades + scales 0.92→1 on a single emphasis beat; never spins."----# Claude — Frame (video / frame layer)+# Code editorial — Frame (video / frame layer)## Overview-Claude at frame scale is a **warm-editorial brand book come to life** — the register of a literary+Code editorial at frame scale is a **warm-editorial brand book come to life** — the register of a literaryimprint or a research note. The thesis is three colors: **cream is the ground, ink is the voice,coral is the voltage** — and a fourth (warm navy) only where code shows itself. Every surface is**warm cream** (never pure white, never cool gray); content gathers on a **tile** surface half a@@ -270,7 +270,7 @@ to the diff; commit/issue numbers are chrome.## Known Gaps-- **Motion intentionally out of scope.** frame.md specifies composition only. Claude's motion register — short cross-dissolves, no overshoot/bounce/elastic, coral the only "draw-on", numbers count up, code types on line by line — lives in the workflow's `motion-language.md` + `hyperframes-animation`, not here.+- **Motion intentionally out of scope.** frame.md specifies composition only. Code editorial's motion register — short cross-dissolves, no overshoot/bounce/elastic, coral the only "draw-on", numbers count up, code types on line by line — lives in the workflow's `motion-language.md` + `hyperframes-animation`, not here.- **EB Garamond + Inter + JetBrains Mono ship as licensed local WOFF2 assets with this preset.** `build-frame.mjs` stages weights 400 + 700 into `assets/fonts/` and appends the exact `@font-face` block to the generated `frame.md`, so Studio, snapshots, and renders resolve them offline without a first-run Google Fonts fetch. Author display at **weight 400** (700 reads as a heavy bold, off-register), and treat italic as the browser-synthesized slant (acceptable for the pull-quote register; add a real italic face only if a project leans hard on it). EB Garamond is a warm old-style serif (low contrast, humanist); if it ever fails, fall to Georgia or another old-style serif — never to a sans. CJK: Noto Serif SC (display) / Noto Sans SC (body) / Noto Sans Mono CJK (code); the sentence-case warmth carries when the serif drops.- **Syntax colors (teal `#5DB8A6` / amber `#E8A55A` / status) are fixed decoration**, declared in §Colors — they are NOT in the remixable `colors:` block, so a brand remix never repaints them.- **The code itself is the `code-*` registry blocks**, not this preset — this preset owns only the surrounding warm-navy surface + mono chrome.diff --git a/skills/hyperframes-creative/frame-presets/claude/caption-skin.html b/skills/hyperframes-creative/frame-presets/code-editorial/caption-skin.htmlsimilarity index 96%rename from skills/hyperframes-creative/frame-presets/claude/caption-skin.htmlrename to skills/hyperframes-creative/frame-presets/code-editorial/caption-skin.htmlindex 32b657bdfd..18c7a33421 100644--- a/skills/hyperframes-creative/frame-presets/claude/caption-skin.html+++ b/skills/hyperframes-creative/frame-presets/code-editorial/caption-skin.html@@ -1,5 +1,5 @@<!--- Claude — caption skin (preset-local source).+ Code editorial — caption skin (preset-local source).This is the preset's own lower-third karaoke caption look. product-launch-video's(and pr-to-video's) Step 2 copies it into the project as caption-skin.html;@@ -10,7 +10,7 @@· the empty data-brand-tokens style → :root tokens derived from the project's frame.mdToken contract — reference ONLY this fixed vocab (captions.mjs injects it from- frame.md, so the Step-2 brand overlay flows through; each var has a claude literal+ frame.md, so the Step-2 brand overlay flows through; each var has a code-editorial literalfallback for standalone preview):--cap-ink · --cap-canvas · --cap-accent · --cap-accent-2 · --font-display ·--font-body · --cap-band-top · --cap-band-height@@ -20,7 +20,7 @@never tl.call() callbacks (seek does not fire them → wrong state on render).Visual: a warm cream card lifted off the page on a 1px hairline ink border + one soft- warm shadow — claude's only elevation language, no tilt, editorial and precise.+ warm shadow — code-editorial's only elevation language, no tilt, editorial and precise.EB Garamond sentence case, warm-ink glyphs. Upcoming words sit in faint ink; the currentword reads in full ink under a 3px coral "voltage" underline (the brand's inline-linkgesture, border-bottom = underline without layout shift); spoken words settle to solid@@ -66,7 +66,7 @@}/* THE lifted cream card — warm cream fill, 1px hairline ink border, one soft warm- shadow (claude's only elevation language), 12px radius, no tilt */+ shadow (code-editorial's only elevation language), 12px radius, no tilt */.caption-pill {max-width: 78%;padding: 22px 44px 26px;diff --git a/skills/hyperframes-creative/frame-presets/claude/fonts/EBGaramond-400.woff2 b/skills/hyperframes-creative/frame-presets/code-editorial/fonts/EBGaramond-400.woff2similarity index 100%rename from skills/hyperframes-creative/frame-presets/claude/fonts/EBGaramond-400.woff2rename to skills/hyperframes-creative/frame-presets/code-editorial/fonts/EBGaramond-400.woff2diff --git a/skills/hyperframes-creative/frame-presets/claude/fonts/EBGaramond-700.woff2 b/skills/hyperframes-creative/frame-presets/code-editorial/fonts/EBGaramond-700.woff2similarity index 100%rename from skills/hyperframes-creative/frame-presets/claude/fonts/EBGaramond-700.woff2rename to skills/hyperframes-creative/frame-presets/code-editorial/fonts/EBGaramond-700.woff2diff --git a/skills/hyperframes-creative/frame-presets/claude/fonts/Inter-400.woff2 b/skills/hyperframes-creative/frame-presets/code-editorial/fonts/Inter-400.woff2similarity index 100%rename from skills/hyperframes-creative/frame-presets/claude/fonts/Inter-400.woff2rename to skills/hyperframes-creative/frame-presets/code-editorial/fonts/Inter-400.woff2diff --git a/skills/hyperframes-creative/frame-presets/claude/fonts/Inter-700.woff2 b/skills/hyperframes-creative/frame-presets/code-editorial/fonts/Inter-700.woff2similarity index 100%rename from skills/hyperframes-creative/frame-presets/claude/fonts/Inter-700.woff2rename to skills/hyperframes-creative/frame-presets/code-editorial/fonts/Inter-700.woff2diff --git a/skills/hyperframes-creative/frame-presets/claude/fonts/JetBrainsMono-400.woff2 b/skills/hyperframes-creative/frame-presets/code-editorial/fonts/JetBrainsMono-400.woff2similarity index 100%rename from skills/hyperframes-creative/frame-presets/claude/fonts/JetBrainsMono-400.woff2rename to skills/hyperframes-creative/frame-presets/code-editorial/fonts/JetBrainsMono-400.woff2diff --git a/skills/hyperframes-creative/frame-presets/claude/fonts/JetBrainsMono-700.woff2 b/skills/hyperframes-creative/frame-presets/code-editorial/fonts/JetBrainsMono-700.woff2similarity index 100%rename from skills/hyperframes-creative/frame-presets/claude/fonts/JetBrainsMono-700.woff2rename to skills/hyperframes-creative/frame-presets/code-editorial/fonts/JetBrainsMono-700.woff2diff --git a/skills/hyperframes-creative/frame-presets/claude/fonts/OFL-eb-garamond.txt b/skills/hyperframes-creative/frame-presets/code-editorial/fonts/OFL-eb-garamond.txtsimilarity index 100%rename from skills/hyperframes-creative/frame-presets/claude/fonts/OFL-eb-garamond.txtrename to skills/hyperframes-creative/frame-presets/code-editorial/fonts/OFL-eb-garamond.txtdiff --git a/skills/hyperframes-creative/frame-presets/claude/fonts/OFL-inter.txt b/skills/hyperframes-creative/frame-presets/code-editorial/fonts/OFL-inter.txtsimilarity index 100%rename from skills/hyperframes-creative/frame-presets/claude/fonts/OFL-inter.txtrename to skills/hyperframes-creative/frame-presets/code-editorial/fonts/OFL-inter.txtdiff --git a/skills/hyperframes-creative/frame-presets/claude/fonts/OFL-jetbrains-mono.txt b/skills/hyperframes-creative/frame-presets/code-editorial/fonts/OFL-jetbrains-mono.txtsimilarity index 100%rename from skills/hyperframes-creative/frame-presets/claude/fonts/OFL-jetbrains-mono.txtrename to skills/hyperframes-creative/frame-presets/code-editorial/fonts/OFL-jetbrains-mono.txtdiff --git a/skills/hyperframes-creative/frame-presets/claude/frame-showcase.html b/skills/hyperframes-creative/frame-presets/code-editorial/frame-showcase.htmlsimilarity index 99%rename from skills/hyperframes-creative/frame-presets/claude/frame-showcase.htmlrename to skills/hyperframes-creative/frame-presets/code-editorial/frame-showcase.htmlindex 67a98a8ab7..e0a70eab89 100644--- a/skills/hyperframes-creative/frame-presets/claude/frame-showcase.html+++ b/skills/hyperframes-creative/frame-presets/code-editorial/frame-showcase.html@@ -3,7 +3,7 @@<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" />- <title>Claude</title>+ <title>Code editorial</title><link rel="preconnect" href="https://fonts.googleapis.com" /><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /><link@@ -1164,8 +1164,7 @@<div class="flabel"><b>Cover</b><span>· the PR title · cream · left</span></div><div class="frame cf1"><div class="tb">- <span class="l coral">✱ Pull Request · #1842</span- ><span class="l">anthropics/sdk</span>+ <span class="l coral">✱ Pull Request · #1842</span><span class="l">example/sdk</span></div><div class="body"><div class="kick">✱ Feature</div>@@ -1422,7 +1421,7 @@</section><div class="foot">- <span class="l"><span class="spike">✱</span> Claude</span>+ <span class="l"><span class="spike">✱</span> Code editorial</span><span class="r">Frame Showcase · Atoms Sacred · Composition Free</span></div>diff --git a/skills/hyperframes-creative/references/design-spec.md b/skills/hyperframes-creative/references/design-spec.mdindex ba50475a28..696f91d95f 100644--- a/skills/hyperframes-creative/references/design-spec.md+++ b/skills/hyperframes-creative/references/design-spec.md@@ -41,7 +41,7 @@ Optionally seed `frame.md` from a ready-made **frame-preset** in `[../frame-pres| `[broadside](../frame-presets/broadside/FRAME.md)` | Protest-poster system — two-register flat plane (ink-black / fire-orange), massive lowercase Barlow 900 treated as graphic primitive, IBM Plex Mono chrome (uppercase, 0.14em), fire-orange sole accent, 1px hairlines, sharp corners, no shadow | bold / typographic / declarative; a product that wants presence and authority || `[capsule](../frame-presets/capsule/FRAME.md)` | Playful editorial — every container a pill (2px ink outline), cream canvas, nine candy accents, Bodoni Moda + Space Grotesk, soft offset shadows, floating-pill wallpaper | friendly / soft / editorial; a product that wants warmth and approachability || `[cartesian](../frame-presets/cartesian/FRAME.md)` | Museum-catalog editorial — 1px taupe hairline grid, five warm-stone palette (#EDE8E0 / #E2DBD1 / #1A1A1A / #5A5A5A / #8A8178), Playfair Display 400 + Inter, sharp corners, compass-drafted geometric rings, zero shadow / zero fill | sparse / literary / restrained; a product that wants quiet authority and editorial rigor |-| `[claude](../frame-presets/claude/FRAME.md)` | Warm-editorial brand book — warm cream paper (never pure white), terracotta coral (#CC785C) as scarce voltage, hairline ink elevation (no heavy shadow), EB Garamond serif display + Inter body + JetBrains Mono index / code on a warm-navy code surface, sentence-case display, ✱ coral spike | considered / literary / developer-facing; a code change, launch, or doc that wants editorial calm and a first-class code surface |+| `[code-editorial](../frame-presets/code-editorial/FRAME.md)` | Warm-editorial brand book — warm cream paper (never pure white), terracotta coral (#CC785C) as scarce voltage, hairline ink elevation (no heavy shadow), EB Garamond serif display + Inter body + JetBrains Mono index / code on a warm-navy code surface, sentence-case display, ✱ coral spike | considered / literary / developer-facing; a code change, launch, or doc that wants editorial calm and a first-class code surface || `[cobalt-grid](../frame-presets/cobalt-grid/FRAME.md)` | Modernist two-color risograph — cream paper, electric cobalt ink, permanent graph-paper grid (10% cobalt), top/bottom cobalt hairlines, Newsreader 400 serif + Hanken Grotesk + DM Mono, 0° corners, pixel-glitch column + QR-block patches | restrained / systemic / editorial; a product that wants clarity and measured authority || `[coral](../frame-presets/coral/FRAME.md)` | Bold editorial magazine — three solid surfaces (coral fire / ink black / warm cream) meeting at hard edges, 45° diagonal hatch on coral, Bebas Neue + Inter tracked caps, zero shadows/radius (circles 50%), oversized wallpaper numerals and giant marks | bold / structuralist / editorial; a product that wants graphic confidence and hard-edged confidence || `[creative-mode](../frame-presets/creative-mode/FRAME.md)` | Neo-brutalist editorial — cream canvas, 4px ink borders, hard offset shadows (no blur), four accents rationed two-to-three, Archivo Black uppercase at 0.92 line-height, JetBrains Mono taxonomy, Space Grotesk body, square corners save one pill chip | sparse / graphic / punchy-restrained; a product that wants editorial presence and geometric confidence |diff --git a/skills/hyperframes-creative/scripts/package-loader.mjs b/skills/hyperframes-creative/scripts/package-loader.mjsindex b16bb6f99e..ce1846a12d 100644--- a/skills/hyperframes-creative/scripts/package-loader.mjs+++ b/skills/hyperframes-creative/scripts/package-loader.mjs@@ -145,7 +145,7 @@ export function hyperframesPackageSpec(packageName) {const version = readBundledHyperframesVersion();if (version) return `${packageName}@${version}`;- // Global skill installs (e.g. ~/.claude/skills) have no hyperframes package.json+ // Global skill installs have no hyperframes package.json// in their ancestor chain, so the bundled version is unknowable. Fall back to// @latest instead of throwing: already-installed packages still import, and a// bootstrap install can still proceed (@latest satisfies the pinned-spec guard).diff --git a/skills/media-use/references/setup-providers.md b/skills/media-use/references/setup-providers.mdindex c1fe1c0663..ef5329e726 100644--- a/skills/media-use/references/setup-providers.md+++ b/skills/media-use/references/setup-providers.md@@ -2,8 +2,9 @@## Setup — install heygen first (free-usage path)+Install the HeyGen CLI through its [verified release instructions](https://developers.heygen.com/cli), then run:+```bash-curl -fsSL https://static.heygen.ai/cli/install.sh | bashheygen update # free usage needs the OAuth-capable CLI (v0.3.0+)heygen auth login --oauth # OAuth = free subscription credits; --api-key bills API credits```@@ -58,15 +59,15 @@ tools are OPT-IN alternatives where they exist; install one to unlock its free,private, on-device path instead of or ahead of HeyGen for that type. Only`ffmpeg`/`ffprobe` are strictly required for the tool to run at all.-| Tool | Serves | Install |-| ------------------ | ------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |-| `ffmpeg`/`ffprobe` | adopt probing, smart-grade signalstats, cut, duck bake, loudnorm | system package (`brew install ffmpeg`) |-| `heygen` | catalog (bgm/sfx/image/icon) + TTS (voice) + avatar video — the free-usage path | `curl -fsSL https://static.heygen.ai/cli/install.sh \| bash` then `heygen auth login --oauth` (needs >= v0.3.0) |-| `mflux-generate` | local image gen (FLUX), best-for-RAM | `uv venv ~/.venvs/mflux && VIRTUAL_ENV=~/.venvs/mflux uv pip install mflux==0.9.6` |-| `codex` | image gen upsell (ChatGPT sub) | Codex CLI, logged in via ChatGPT (owns its own auth) |-| `parakeet-mlx` | local transcription (default ASR, best) | `uv venv ~/.venvs/parakeet && VIRTUAL_ENV=~/.venvs/parakeet uv pip install parakeet-mlx` |-| `ltx-2-mlx` | local video gen | `git clone https://github.com/dgrauet/ltx-2-mlx && cd ltx-2-mlx && uv sync --all-extras` |-| `npx hyperframes` | Kokoro TTS (voice), whisper.cpp (transcribe fallback), remove-background | via the hyperframes CLI; whisper.cpp is built on first use (Homebrew on macOS, else git+cmake), models download from HuggingFace |+| Tool | Serves | Install |+| ------------------ | ------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |+| `ffmpeg`/`ffprobe` | adopt probing, smart-grade signalstats, cut, duck bake, loudnorm | system package (`brew install ffmpeg`) |+| `heygen` | catalog (bgm/sfx/image/icon) + TTS (voice) + avatar video — the free-usage path | install through [verified HeyGen release instructions](https://developers.heygen.com/cli), then `heygen auth login --oauth` (needs >= v0.3.0) |+| `mflux-generate` | local image gen (FLUX), best-for-RAM | `uv venv ~/.venvs/mflux && VIRTUAL_ENV=~/.venvs/mflux uv pip install mflux==0.9.6` |+| `codex` | image gen upsell (ChatGPT sub) | Codex CLI, logged in via ChatGPT (owns its own auth) |+| `parakeet-mlx` | local transcription (default ASR, best) | `uv venv ~/.venvs/parakeet && VIRTUAL_ENV=~/.venvs/parakeet uv pip install parakeet-mlx` |+| `ltx-2-mlx` | local video gen | `git clone https://github.com/dgrauet/ltx-2-mlx && cd ltx-2-mlx && uv sync --all-extras` |+| `npx hyperframes` | Kokoro TTS (voice), whisper.cpp (transcribe fallback), remove-background | via the hyperframes CLI; whisper.cpp is built on first use (Homebrew on macOS, else git+cmake), models download from HuggingFace |The RAM-graded local-model shortlist + exact per-tier install/invoke lives in`scripts/lib/local-models.mjs` (the agent can read `describeModelLadder(cap, specs)`diff --git a/skills/media-use/references/telemetry-dashboard.md b/skills/media-use/references/telemetry-dashboard.mdindex 11df43b378..e0aac2de53 100644--- a/skills/media-use/references/telemetry-dashboard.md+++ b/skills/media-use/references/telemetry-dashboard.md@@ -1,15 +1,15 @@-# media-use usage dashboard (PostHog)+# media-use usage dashboardReproducible definition of the media-use usage dashboard. The dashboard answers"how much is media-use used, for what, is reuse working, and what can't itsatisfy" from the telemetry `scripts/lib/telemetry.mjs` already emits. Build it-in PostHog project **Hyperframes (356858)**; this doc is the source of truth so-it can be recreated. Local complement: `resolve --stats` (same questions, from-`.media/` + `~/.media`, no PostHog access needed).+in an authorized HyperFrames analytics project; this doc is the source of truth+so it can be recreated. Local complement: `resolve --stats` (same questions,+from `.media/` + `~/.media`, no dashboard access needed).## Identity (see `scripts/lib/telemetry.mjs`)-Events attribute to the **same PostHog person as the hyperframes CLI and studio**+Events attribute to the **same person as the hyperframes CLI and studio**— the shared install id in `~/.hyperframes/config.json` (`anonymousId`), stitchedto the HeyGen account (`$identify`, `distinct_id` = email/username) on sign-in.Not fully anonymous by design; pseudonymous before sign-in, account-linked after.@@ -40,11 +40,10 @@ never intent text, file names, or paths.7. **Compare cost** — `media_use_compare` by `command`, plus `truncated` / `render_ready_timed_out` rates (observe before lifting the 16-cell cap).8. **Adoption (optional)** — if the `first_run` property ships (plan U5), segment `media_use_resolve` first-run vs repeat.-## Recreate via the PostHog MCP+## Recreate in an analytics dashboard-For each tile: `read-data-schema` to confirm the event/property, then a-`query-*` tool (`query-trends` for 1–7), then `insight-create`, then-`dashboard-create` collecting the insights. Keep names prefixed `media-use:` so-the dashboard is greppable. Cross-surface note: because identity is shared with-CLI/studio, you can also break these down by the same person across `cli_command*`-and `studio:*` events.+For each tile, confirm the event/property schema, build its trend or breakdown,+then add it to a dashboard. Keep names prefixed `media-use:` so the dashboard is+greppable. Cross-surface note: because identity is shared with CLI/studio, you+can also break these down by the same person across `cli_command*` and `studio:*`+events.diff --git a/skills/pr-to-video/SKILL.md b/skills/pr-to-video/SKILL.mdindex 76c21142da..7aed35787c 100644--- a/skills/pr-to-video/SKILL.md+++ b/skills/pr-to-video/SKILL.md@@ -21,7 +21,7 @@ Workflow: Step 0 setup → `hyperframes.json`; Step 1 ingest → `capture/extrac## Step 0: Setup-Goal: Enter with a confirmed brief — including the **PR reference** (a full URL, an `<owner>/<repo>#<N>` ref, or "this PR" in a checked-out repo) — create the HyperFrames project, and make the brief durable. The style is always **claude** (fixed at Step 2, never asked).+Goal: Enter with a confirmed brief — including the **PR reference** (a full URL, an `<owner>/<repo>#<N>` ref, or "this PR" in a checked-out repo) — create the HyperFrames project, and make the brief durable. The style is always **code-editorial** (fixed at Step 2, never asked).**The brief is confirmed by the intent layer, not by questions asked here.** Opening rule, in order: **(1)** `BRIEF.md` exists → read it and ask nothing — the brief is settled, and its `flow`/`storyboard` derive the mode (brief contract § 1). **(2)** No `BRIEF.md` but the project exists (`hyperframes.json` / `STORYBOARD.md` on disk) → resume from the storyboard's frontmatter and the recorded preferences; never re-interrogate a half-built project. **(3)** Neither — a fresh creation request that arrived here directly → read `/hyperframes` and run its intent layer (`references/intent-interview.md`): it checks recipes and remembered defaults, and conducts this route's questions — including the PR-size → length doctrine, which lives whole in `../hyperframes/references/routes/pr-to-video.md` — then hands back the locked brief. Edit requests skip all of this — go do the edit.@@ -71,7 +71,7 @@ PR="<url | owner/repo#N | N>"# capture/diff.patch — no scratch dir. gh auth / not-found / private errors exit 1 here.(cd "$PROJECT_DIR" && node <SKILL_DIR>/scripts/fetch-pr.mjs --pr "$PR" --out-dir ./capture)-# Offline transform → capture/extracted/{tokens.json (colors:[] → claude palette),+# Offline transform → capture/extracted/{tokens.json (colors:[] → code-editorial palette),# visible-text.txt (the brief), people.json (contributors, bot-filtered, name+login,# avatarFile=assets/<login>.png)}.(cd "$PROJECT_DIR" && node <SKILL_DIR>/scripts/ingest.mjs \@@ -93,17 +93,17 @@ If `fetch-pr.mjs` exits 1 (gh auth / not found / private), report its stderr and## Step 2: Design System-Goal: Adopt the claude frame preset; a script turns it into this video's `frame.md` + caption skin.+Goal: Adopt the code-editorial frame preset; a script turns it into this video's `frame.md` + caption skin.-The style is fixed — **claude** (warm editorial; a navy code surface built for diffs). Run:+The style is fixed — **code-editorial** (warm editorial; a navy code surface built for diffs). Run:```bash-node <SKILL_DIR>/scripts/build-frame.mjs --preset claude --hyperframes .+node <SKILL_DIR>/scripts/build-frame.mjs --preset code-editorial --hyperframes .```-The script copies the claude preset's `FRAME.md` → `frame.md`, remixes it onto any brand tokens in `capture/extracted/tokens.json` (a PR has none → `colors:[]`/`fonts:[]` keeps claude's own palette, a complete design), copies the preset's caption skin to `.hyperframes/caption-skin.html`, and self-validates (exits 1 on a broken mapping). Proceed as soon as it exits 0 — no hand-editing.+The script copies the code-editorial preset's `FRAME.md` → `frame.md`, remixes it onto any brand tokens in `capture/extracted/tokens.json` (a PR has none → `colors:[]`/`fonts:[]` keeps code-editorial's own palette, a complete design), copies the preset's caption skin to `.hyperframes/caption-skin.html`, and self-validates (exits 1 on a broken mapping). Proceed as soon as it exits 0 — no hand-editing.-**Gate:** `build-frame.mjs` exited 0 — `frame.md` exists from the claude preset, and `.hyperframes/caption-skin.html` exists as the caption skin source.+**Gate:** `build-frame.mjs` exited 0 — `frame.md` exists from the code-editorial preset, and `.hyperframes/caption-skin.html` exists as the caption skin source.---@@ -151,7 +151,7 @@ Edit `STORYBOARD.md` in place. Do not create another storyboard. Use `frame.md`Read `references/visual-design.md`, `../hyperframes-animation/blueprints-index.md`, `references/motion-language.md`, `references/code-vocabulary.md`, and `../hyperframes-animation/rules-index.md`. Use `visual-design.md` for the method (the time-coded shot sequence, the inline Layout vocabulary, and the code-beat treatment), plus the required `## Video direction` block. Use `../hyperframes-animation/blueprints-index.md` to pick each frame's shot shape. Use `code-vocabulary.md` to pick the right `code-*` block per code beat (diff = `code-diff`, refactor = `code-morph`, new code = `code-typing`, …). Use `motion-language.md` (the motion vocabulary + the motion doctrine) and `../hyperframes-animation/rules-index.md` (valid rule names) for motion — do not invent motion or block/blueprint names.-For every frame, write a **time-coded shot sequence** into `STORYBOARD.md` per `visual-design.md`'s method: pick the frame's blueprint (or compose), instantiate it with THIS frame's content, and pace each Scene's reveal to the voiceover so the frame develops across its full duration instead of front-loading then freezing. **For a code beat, the `code-*` block is the frame's `focal`** and the Scenes choreograph the surrounding claude Code Surface (the entry of the file/header, the camera onto the hunk, the landing line) — **not** the code animation itself, which the block owns. Immediately after each code frame's fields, add a `### Source excerpt` fenced `diff` block containing only the exact real hunk the worker must render (12 lines maximum). Select it here from `capture/diff.patch`; workers are forbidden from reopening that full diff. State layout and motion **inline** per Scene (vocabularies in `visual-design.md` and `motion-language.md`). Add one video-wide `## Video direction` block.+For every frame, write a **time-coded shot sequence** into `STORYBOARD.md` per `visual-design.md`'s method: pick the frame's blueprint (or compose), instantiate it with THIS frame's content, and pace each Scene's reveal to the voiceover so the frame develops across its full duration instead of front-loading then freezing. **For a code beat, the `code-*` block is the frame's `focal`** and the Scenes choreograph the surrounding code-editorial Code Surface (the entry of the file/header, the camera onto the hunk, the landing line) — **not** the code animation itself, which the block owns. Immediately after each code frame's fields, add a `### Source excerpt` fenced `diff` block containing only the exact real hunk the worker must render (12 lines maximum). Select it here from `capture/diff.patch`; workers are forbidden from reopening that full diff. State layout and motion **inline** per Scene (vocabularies in `visual-design.md` and `motion-language.md`). Add one video-wide `## Video direction` block.Do not change story, script, `transition_in`, `asset_candidates`, or the PR source. Do not write HTML in this step. There is **no asset-staging step** — the only real assets are the credits avatars, already in `assets/`.@@ -195,7 +195,7 @@ After audio timings exist, build captions in the background and assemble the ind`node <SKILL_DIR>/scripts/assemble-index.mjs --storyboard ./STORYBOARD.md --hyperframes .`-`captions.mjs` uses the project's `.hyperframes/caption-skin.html` (claude's, copied in Step 2), injecting brand tokens from `frame.md`; `captions: skipped (<reason>)` is valid. `assemble-index.mjs` stages the credits avatars from `assets/` as an idempotent backstop.+`captions.mjs` uses the project's `.hyperframes/caption-skin.html` (code-editorial's, copied in Step 2), injecting brand tokens from `frame.md`; `captions: skipped (<reason>)` is valid. `assemble-index.mjs` stages the credits avatars from `assets/` as an idempotent backstop.**Gate:** every frame is marked `animated` (collaborative: the sketch board was confirmed at Step 4), `index.html` exists, and captions are built or explicitly skipped.@@ -243,7 +243,7 @@ After the user is done reviewing (or after render when no more live edits are ex**Formats:** landscape `1920x1080`; portrait `1080x1920`; square `1080x1080` — derived from the destination (brief contract § 2). Set the format once in the storyboard frontmatter.-**PR deltas vs a captured-asset workflow:** no Step 1 capture (the `gh` CLI ingests the PR into a synthetic `capture/extracted/` package — `tokens.json` + `visible-text.txt` + `people.json`); the only real assets are the contributors' `assets/<login>.png` avatars (the credits close); no `asset-descriptions.md`, no asset-staging step. Code beats are rendered by the `code-*` registry blocks on claude's navy Code Surface; the style is always **claude**.+**PR deltas vs a captured-asset workflow:** no Step 1 capture (the `gh` CLI ingests the PR into a synthetic `capture/extracted/` package — `tokens.json` + `visible-text.txt` + `people.json`); the only real assets are the contributors' `assets/<login>.png` avatars (the credits close); no `asset-descriptions.md`, no asset-staging step. Code beats are rendered by the `code-*` registry blocks on code-editorial's navy Code Surface; the style is always **code-editorial**.**Background scripts:** the workflow ships these under `scripts/`: `fetch-pr` (PR → `capture/pr.json` + `diff.patch` via `gh`; large-PR-safe, no scratch), `ingest` (→ synthetic capture package; offline), and `fetch-people-avatars` (contributor avatars → `assets/`); plus the shared engine — `build-frame` (adopt + brand-remix a preset into `frame.md` + caption skin), `audio` (TTS, BGM, SFX, duration sync), `captions`, `transitions` (inject + verify), and `assemble-index`. Everything else is the `hyperframes` CLI. Code blocks install via `npx hyperframes add <name>`.@@ -266,4 +266,4 @@ The reusable, domain-agnostic shot shapes live in `../hyperframes-animation/blue| `[../hyperframes-core/references/frame-worker-core.md](../hyperframes-core/references/frame-worker-core.md)` | Step 5: the shared worker contract (packet builder prepends it to the delta). || `[sub-agents/frame-worker.md](sub-agents/frame-worker.md)` | Step 5: the workflow's frame-worker delta. || `[../hyperframes-core/references/subagent-dispatch.md](../hyperframes-core/references/subagent-dispatch.md)` | Step 5: dispatch sub-agents safely. |-| `[../hyperframes-creative/frame-presets/claude/FRAME.md](../hyperframes-creative/frame-presets/claude/FRAME.md)` | Step 2: the claude preset (fixed style). |+| `[../hyperframes-creative/frame-presets/code-editorial/FRAME.md](../hyperframes-creative/frame-presets/code-editorial/FRAME.md)` | Step 2: the code-editorial preset (fixed style). |diff --git a/skills/pr-to-video/references/code-vocabulary.md b/skills/pr-to-video/references/code-vocabulary.mdindex d880dcc644..68c4436496 100644--- a/skills/pr-to-video/references/code-vocabulary.md+++ b/skills/pr-to-video/references/code-vocabulary.md@@ -5,7 +5,7 @@ PR videos run on two kinds of moving picture: **code** (the lines that changed)For code beats the registry ships purpose-built **code animation blocks** that render a diff, a typed-on snippet, a morph, a highlight, a scroll, or a 3D/particle/dissolve reveal — far better than hand-built motion. **Reach for one of these first** for any code beat; fall back to hand-authored composition only when none fits.- **Step 4 (visual design):** for each `diff` / `before_after` / code beat, name the block in the frame's `scene` (e.g. "the `request()` retry block, ~6 lines, `code-diff`"). One judgment call: which block.-- **Step 5 (frame worker):** install the named block and fill it with the real diff/snippet (below). The block is the frame's centerpiece, composited onto claude's navy **Code Surface**.+- **Step 5 (frame worker):** install the named block and fill it with the real diff/snippet (below). The block is the frame's centerpiece, composited onto code-editorial's navy **Code Surface**.## Install + use@@ -64,7 +64,7 @@ These are **NOT palettes you attach to the animation blocks** — each is its ow- **VS Code workbench (12):** full VS Code window (activity bar, file-tree, tabs, editor with per-char typing, integrated terminal running `pytest`, status bar) in each theme. `dark-plus`, `light-plus`, `dark-modern`, `light-modern`, `dark-2026`, `light-2026`, `monokai`, `solarized-light`, `visual-studio-dark`, `visual-studio-light`, `high-contrast`, `high-contrast-light`. (Each pulls a `background.jpeg` into `assets/`.)- **Apple Terminal (12):** macOS Terminal.app window typing a shell command per profile. `apple-terminal-` + `basic`, `clear-dark`, `clear-light`, `grass`, `homebrew`, `man-page`, `novel`, `ocean`, `pro`, `red-sands`, `silver-aerogel`, `solid-colors`.-The theme is baked into each block (not chosen at runtime); to use a given look, install that block and edit its `codeLines`. For claude's editorial register, prefer the focused animation blocks on the navy Code Surface; reach for a `code-snippet-*` UI only when "show it in a real editor/terminal" is the point.+The theme is baked into each block (not chosen at runtime); to use a given look, install that block and edit its `codeLines`. For code-editorial's editorial register, prefer the focused animation blocks on the navy Code Surface; reach for a `code-snippet-*` UI only when "show it in a real editor/terminal" is the point.## Showing behavior — the mechanism beat (not a `code-*` block)@@ -72,7 +72,7 @@ A `code-*` block shows **the code**. It does not show **what the code does**. ThA mechanism beat is **not** a registry `code-*` block. It is one of:-- an **invented animated diagram** — SVG / HTML / GSAP the frame worker builds from claude's atoms (hairline-ink nodes / edges / lanes on cream, one coral marker on the active element), the build playing out the behavior across the shot; **or**+- an **invented animated diagram** — SVG / HTML / GSAP the frame worker builds from code-editorial's atoms (hairline-ink nodes / edges / lanes on cream, one coral marker on the active element), the build playing out the behavior across the shot; **or**- a **`flowchart` / `flowchart-vertical`** registry block — a process / pipeline / state flow; **or**- a **`data-chart`** registry block — a perf / metric comparison (two bars or timelines racing).@@ -106,6 +106,6 @@ Unlike a `code-*` block (which owns its own animation), the diagram's motion is| Hero / title code moment ("the feature") | `code-3d-extrude` || "Compiles / builds / works now" reveal | `code-shader-dissolve` || Big dramatic snippet reveal / climax | `code-particle-assemble` |-| A benchmark / metric / count-up | **Not a `code-*` block** — use claude's `number-lockup` (Number/Impact treatment) or the `data-chart` registry block |+| A benchmark / metric / count-up | **Not a `code-*` block** — use code-editorial's `number-lockup` (Number/Impact treatment) or the `data-chart` registry block || **What the change DOES at runtime** (behavior, not code) | **Not a `code-*` block** — a `mechanism` beat: an invented SVG/GSAP diagram, or `flowchart` / `flowchart-vertical` / `data-chart`. See "Showing behavior" above. || Show the change in a realistic IDE / terminal (ambient) | a `code-snippet-*` VS Code theme (editor) or Apple Terminal profile (CLI run) |diff --git a/skills/pr-to-video/references/motion-language.md b/skills/pr-to-video/references/motion-language.mdindex 391edc38a9..ee15215828 100644--- a/skills/pr-to-video/references/motion-language.md+++ b/skills/pr-to-video/references/motion-language.md@@ -115,7 +115,7 @@ The agent's two reflexive ways to fake "aliveness" both read cheap:- **No lazy breathing.** Scaling cards/text up and down in a circular loop to look "alive" is the cheap tell. Don't reach for it.- **No bad slow pan / push in the back half.** A slow pan or push on elements in the later ~50% of a scene **disrupts the viewer's sightline and causes eye discomfort** — it actively makes the frame worse, not better.-The fix for both is the same: **stagger element reveals in time with the script** (rule 2). And the governing principle: **"I'd rather have NO motion than BAD motion."** A held, still frame is better than a frame kept "alive" by breathing or a drifting camera. The **only sanctioned aliveness** during a hold is **subtle jitter** — a small low-amplitude jitter that keeps a frame from feeling dead without looking weak (it's in Claude videos now). Everything else holds.+The fix for both is the same: **stagger element reveals in time with the script** (rule 2). And the governing principle: **"I'd rather have NO motion than BAD motion."** A held, still frame is better than a frame kept "alive" by breathing or a drifting camera. The **only sanctioned aliveness** during a hold is **subtle jitter** — a small low-amplitude jitter that keeps a frame from feeling dead without looking weak (it's in Code editorial videos now). Everything else holds.## 4. Internal seams are velocity-matched cutsdiff --git a/skills/pr-to-video/references/story-design.md b/skills/pr-to-video/references/story-design.mdindex c5fbe48990..7a997a4deb 100644--- a/skills/pr-to-video/references/story-design.md+++ b/skills/pr-to-video/references/story-design.md@@ -7,7 +7,7 @@ This file defines the story: what the video explains, in what order, and why eac## Read first1. `hyperframes.json` — locked brief: angle (archetype), audience, length, aspect, language.-2. `frame.md` — tone, type, design system (the shipped preset is **claude**: warm editorial, a serif that thinks, scarce coral, a navy code surface).+2. `frame.md` — tone, type, design system (the shipped preset is **code-editorial**: warm editorial, a serif that thinks, scarce coral, a navy code surface).3. `capture/extracted/visible-text.txt` — the assembled PR brief: title, meta (`base ← head · +N/−M across F files`), people, body, commits, changed files, and a budget-bounded set of **representative diff hunks**. This is your source of **information**.4. `capture/diff.patch` — the full unified diff, for deeper hunk selection than the brief's excerpt.5. `capture/extracted/people.json` — contributors (author / committers / reviewers / commenters), bot-filtered, each with an avatar in `assets/<login>.png` (for the credits close).@@ -27,7 +27,7 @@ Do **not** narrate the diff file-by-file or read the PR description aloud — th**Value before evidence** (`../hyperframes-creative/references/story-spine.md`): the viewer-facing payoff — what the change unlocks, fixes, or speeds up — lands by the second beat; the diff and the mechanism are the **evidence** for that claim, never the opening. Implementation is the footnote of the story, not the spine.-Default to a **plain, technical, unhurried developer voice** — accurate, specific, no hype, no marketing gloss. You are explaining a real change to engineers; respect their time and intelligence. `frame.md` (claude) tunes the voice toward considered and literary; it does not change the structure.+Default to a **plain, technical, unhurried developer voice** — accurate, specific, no hype, no marketing gloss. You are explaining a real change to engineers; respect their time and intelligence. `frame.md` (code-editorial) tunes the voice toward considered and literary; it does not change the structure.## PR archetypes@@ -42,9 +42,9 @@ Choose **one** archetype (or name a compound). Each is a complete path through u## PR-native frame types-Set each frame's `type` to one of these PR-native values. (The storyboard parser keeps `type` verbatim; it is a narrative + pacing label, not a hard enum.) Each maps to a claude frame treatment and a typical visual — so the type, the design, and the visual stay aligned end to end. Note `mechanism` is the **show-the-behavior** beat (an invented animated diagram), distinct from `diff` (show the code).+Set each frame's `type` to one of these PR-native values. (The storyboard parser keeps `type` verbatim; it is a narrative + pacing label, not a hard enum.) Each maps to a code-editorial frame treatment and a typical visual — so the type, the design, and the visual stay aligned end to end. Note `mechanism` is the **show-the-behavior** beat (an invented animated diagram), distinct from `diff` (show the code).-| `type` | The frame's job | claude treatment (frame.md) | typical visual (see code-vocabulary.md) |+| `type` | The frame's job | code-editorial treatment (frame.md) | typical visual (see code-vocabulary.md) || -------------- | --------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ | --------------------------------------------------------------------------------------- || `hook` | The high-leverage opening 3–5s | Cover | — (or `code-3d-extrude` for a hero code moment) || `problem` | The bug / smell / pain / why-care the PR resolves | Statement or Pull-quote | `code-highlight` (spotlight the offending line) |@@ -125,7 +125,7 @@ Pick 2–3 for the whole video and repeat. Frame 1 is `cut` (no previous frame).## The diff is the centerpiece-Code beats live on the **navy code surface** (claude's Code Surface treatment) — but the body is **not** all code (pair them with `mechanism` beats, next section). Plan the code beats deliberately:+Code beats live on the **navy code surface** (code-editorial's Code Surface treatment) — but the body is **not** all code (pair them with `mechanism` beats, next section). Plan the code beats deliberately:- **Feature 2–4 real diff hunks**, named in each frame's `scene` — each a small, legible snippet (~4–12 lines), **never a whole file**. Pull them from `capture/diff.patch` / the brief's "Representative diff."- Name **which code animation block** the frame wants in `scene` (the Step-4 visual phase and the worker read it). See `code-vocabulary.md` for the full map; the short version: before→after = `code-diff`; refactor/rename continuity = `code-morph`; new code written on = `code-typing`; spotlight one line = `code-highlight`; walk a long file = `code-scroll`; a hero reveal = `code-3d-extrude` / `code-particle-assemble`.@@ -135,7 +135,7 @@ Code beats live on the **navy code surface** (claude's Code Surface treatment)A diff shows **what changed in the code**. It does **not** show **what the change does** — and "what it does" is usually the more memorable, more explanatory beat. The single biggest reason a PR video feels flat is that every body frame is a code surface or a number: it _tells_ (here are the lines, here is the stat) but never _shows_ (here is the request actually recovering).-A **`mechanism` frame animates the runtime behavior** the PR changes — built as an **invented animated diagram** (SVG / HTML / GSAP on claude's cream ground: hairline-ink nodes / edges / lanes, one coral marker on the active or changed element), where **the build _is_ the teaching** — each part appears on beat, the flow plays out across the shot. It is **not** a code block and **not** a headline. Reach for the `flowchart` / `flowchart-vertical` / `data-chart` registry blocks where they fit; otherwise invent it (visual-design.md's diagram / abstract-graphics register).+A **`mechanism` frame animates the runtime behavior** the PR changes — built as an **invented animated diagram** (SVG / HTML / GSAP on code-editorial's cream ground: hairline-ink nodes / edges / lanes, one coral marker on the active or changed element), where **the build _is_ the teaching** — each part appears on beat, the flow plays out across the shot. It is **not** a code block and **not** a headline. Reach for the `flowchart` / `flowchart-vertical` / `data-chart` registry blocks where they fit; otherwise invent it (visual-design.md's diagram / abstract-graphics register).Plan **at least one `mechanism` beat** for any PR with a visible runtime behavior (most feature and fix PRs have one). What to animate, by what the change touches:diff --git a/skills/pr-to-video/references/visual-design.md b/skills/pr-to-video/references/visual-design.mdindex e2d5dc751e..43aed6d3e9 100644--- a/skills/pr-to-video/references/visual-design.md+++ b/skills/pr-to-video/references/visual-design.md@@ -71,21 +71,21 @@ The lightweight tags:For a `diff` / `before_after` / code beat, the frame's centerpiece is a **ready-made `code-*` registry block**, not an invented HTML visual — the one exception to "invent every visual."- **Name the block in `scene` + `focal`.** Pick the one that fits the beat (before→after = `code-diff`; refactor/rename = `code-morph`; new code written on = `code-typing`; spotlight a line = `code-highlight`; walk a long file = `code-scroll`; a hero reveal = `code-3d-extrude` / `code-particle-assemble`). Full map → `code-vocabulary.md`. Name the hunk too ("the `request()` retry block, ~6 lines"). The block is the `focal`; the Step-5 worker installs + fills it with the real diff.-- **The block owns the code animation; your Scenes choreograph the surrounding Code Surface.** The block _is_ the development beat (the diff/typewriter/morph plays on its own cadence — the worker only fits it to the frame's `data-duration` so a long snippet doesn't overrun). Your Scene windows move the claude **Code Surface** around it: the navy window seating in, the file header typing on, the camera settling onto the hunk, a `+N/−M` `count-up`, a coral underline drawing on the landed line. Name those moves inline; **do not re-specify the code animation itself.** A code beat is usually `blueprint: compose` (the block is the shape).+- **The block owns the code animation; your Scenes choreograph the surrounding Code Surface.** The block _is_ the development beat (the diff/typewriter/morph plays on its own cadence — the worker only fits it to the frame's `data-duration` so a long snippet doesn't overrun). Your Scene windows move the code-editorial **Code Surface** around it: the navy window seating in, the file header typing on, the camera settling onto the hunk, a `+N/−M` `count-up`, a coral underline drawing on the landed line. Name those moves inline; **do not re-specify the code animation itself.** A code beat is usually `blueprint: compose` (the block is the shape).## PR mechanism beats — invent an animated diagram of the behaviorA **`mechanism`** frame is the **show-the-behavior** beat — the antidote to a video that only shows code + text. Its `focal` is an **invented animated diagram** that plays out what the change _does_ at runtime (the request retrying, the cache filling, serial→parallel, the race resolved) — **not** a `code-*` block and **not** a headline.-- **Name the behavior + the diagram in `scene` + `focal`.** e.g. `scene: "animate the request lifecycle — fire → 500 → backoff → retry → 200, invented SVG flow"`; `focal: the request-lifecycle flow`. Reach for the `flowchart` / `flowchart-vertical` / `data-chart` registry blocks where they fit (name them in `scene` so Step 5 pre-installs them); otherwise the worker builds it in SVG / HTML / GSAP from claude's atoms.+- **Name the behavior + the diagram in `scene` + `focal`.** e.g. `scene: "animate the request lifecycle — fire → 500 → backoff → retry → 200, invented SVG flow"`; `focal: the request-lifecycle flow`. Reach for the `flowchart` / `flowchart-vertical` / `data-chart` registry blocks where they fit (name them in `scene` so Step 5 pre-installs them); otherwise the worker builds it in SVG / HTML / GSAP from code-editorial's atoms.- **The build IS the shot sequence.** Unlike a code block (which owns its own animation), the diagram is yours to choreograph across the Scene windows — the lanes / nodes draw on (Scene 1), the flow runs / the lane splits / the front advances as the VO names each step (middle Scenes), the resolved state + one coral emphasis lands (final Scene). Never let it enter then freeze.-- **Stay on claude's cream ground, hairline-ink.** Nodes / edges / lanes in hairline ink on cream; **one coral marker** on the active or changed element; mono labels. Not the navy code surface (that's for code), not heavy shapes / bokeh. Plan it into the top ~83% (caption keep-out).+- **Stay on code-editorial's cream ground, hairline-ink.** Nodes / edges / lanes in hairline ink on cream; **one coral marker** on the active or changed element; mono labels. Not the navy code surface (that's for code), not heavy shapes / bokeh. Plan it into the top ~83% (caption keep-out).A `mechanism` frame carries **no** `asset_candidates` (it's invented, like every non-credits frame).## Impact & credits-- **Impact / evidence** — numbers (`+1,204 / −318`, files touched, perf delta) go on an `impact` frame as a **`number-lockup`** (claude's Number/Impact treatment): name it the `focal`, reveal it with a `count-up` paced to the VO.+- **Impact / evidence** — numbers (`+1,204 / −318`, files touched, perf delta) go on an `impact` frame as a **`number-lockup`** (code-editorial's Number/Impact treatment): name it the `focal`, reveal it with a `count-up` paced to the VO.- **Credits close** — the optional `credits` frame uses the real `assets/<login>.png` avatars (named in story's `asset_candidates`) as the `focal`: an avatar row that staggers in. This is the one frame with non-empty `asset_candidates` and real assets.## Inventing the visual (non-code beats)@@ -120,7 +120,7 @@ The zones, density, hierarchy, and depth principles all still apply; the **aspecThe whole video shares one look and one motion grammar. Write a **`## Video direction`** block ONCE at the top of `STORYBOARD.md` so every frame inherits it and per-frame Scene lines carry only the **delta**. This block is load-bearing — **keep it.**-- **palette system** — from `frame.md` (claude): which roles map to which hues. Never invent.+- **palette system** — from `frame.md` (code-editorial): which roles map to which hues. Never invent.- **motion grammar + reveal model** — long-tail eases (`power3` default, smooth over bouncy) + the **VO-paced reveal** model + what may stay alive during a hold (subtle jitter at most) (→ `motion-language.md`).- **rhythm / held-frame allocation** — name the **held / breather frames** so the video varies its energy.- **negative list** — off-brand textures, **plus both motion failure modes** — slideshow (front-load then freeze) and screensaver (everything floating independently) (→ `motion-language.md`).@@ -129,7 +129,7 @@ Do **not** repeat these per frame.## Palette & type — from `frame.md`, never invented-- **Palette** — `frame.md` (claude) is the color truth; apply its roles per frame. Generic basics → `hyperframes-creative/references/house-style.md`.+- **Palette** — `frame.md` (code-editorial) is the color truth; apply its roles per frame. Generic basics → `hyperframes-creative/references/house-style.md`.- **Type** — fonts resolve via `frame.md`'s type tokens; reference them **by role** (display / body / mono / the pack's ramp), never by raw family or px. Code surfaces and mechanism labels use the **mono** role. Typography craft → `hyperframes-creative/references/typography.md`.## Caption-band keep-out (plan side)@@ -145,7 +145,7 @@ The bottom ~17% of the canvas is reserved for the caption pill. Plan every frame| motion — shot model, vocabulary, holds, idle budget, stillness, seek-safe | `motion-language.md` (local) || layout — framing, density, depth, hierarchy, inventing the visual, caption band | the **Layout** + **Inventing the visual** sections in this file || concrete eases / ms / stagger + rule recipe bodies (Step 5) | local `../hyperframes-animation/rules/` (the frame worker reads it; you don't) |-| palette + type tokens | the project's `frame.md` (claude); basics → `hyperframes-creative` |+| palette + type tokens | the project's `frame.md` (code-editorial); basics → `hyperframes-creative` || within-frame cuts / seams (zoom-through · cut-the-curve · waterfall) | `cut-catalog.md` (the worker builds them inside the composition) || transitions | story-design owns `transition_in`; you don't touch it |@@ -156,7 +156,7 @@ The bottom ~17% of the canvas is reserved for the caption pill. Plan every frame- **No frame front-loads** — at t=0 only what the VO is saying enters; each further piece reveals on its spoken cue, across the back ~50%. Window count follows the VO.- Every frame names a **`blueprint:`** id (Reproduce / Adapt) or `compose`; an Adapt keeps the signature move; nothing collapses to a single front-loaded dump.- **Code beats** name a `code-*` block as the `focal`, let the block own the code animation, and choreograph only the surrounding Code Surface in the Scenes.-- **Mechanism beats** name an **invented animated diagram of the behavior** (or a `flowchart` / `data-chart`), choreographed across the Scenes on claude's cream ground with one coral marker — not a code block, not typography; the body is not an unbroken run of code surfaces.+- **Mechanism beats** name an **invented animated diagram of the behavior** (or a `flowchart` / `data-chart`), choreographed across the Scenes on code-editorial's cream ground with one coral marker — not a code block, not typography; the body is not an unbroken run of code surfaces.- **Impact** uses a `number-lockup` with a `count-up`; the **credits** close uses the real avatars as the `focal`.- Each non-code, non-credits frame names its **invented** `focal` + per-element `roles`, kept few and load-bearing.- Layout + motion named **inline** per Scene (no px / ease curves / ms / JS).diff --git a/skills/pr-to-video/scripts/frame-contract.test.mjs b/skills/pr-to-video/scripts/frame-contract.test.mjsindex 7d96dd5d02..e076245023 100644--- a/skills/pr-to-video/scripts/frame-contract.test.mjs+++ b/skills/pr-to-video/scripts/frame-contract.test.mjs@@ -166,13 +166,13 @@ test("validated bare frames survive assembly and transition injection", () => {);});-test("Claude preset stages renderer-parity fonts for an empty PR token set", () => {- const project = mkdtempSync(join(tmpdir(), "p2v-claude-fonts-"));+test("Code editorial preset stages renderer-parity fonts for an empty PR token set", () => {+ const project = mkdtempSync(join(tmpdir(), "p2v-code-editorial-fonts-"));write(join(project, "capture", "extracted", "tokens.json"), '{"colors":[],"fonts":[]}');execFileSync(process.execPath,- [buildFrameScript, "--preset", "claude", "--hyperframes", project],+ [buildFrameScript, "--preset", "code-editorial", "--hyperframes", project],{ encoding: "utf8" },);@@ -198,8 +198,11 @@ test("Claude preset stages renderer-parity fonts for an empty PR token set", ()assert.doesNotMatch(frameMd, /fonts\.googleapis\.com/);});-test("bundled Claude font licenses are shipped beside the assets", () => {- const fontDir = resolve(scriptDir, "../../hyperframes-creative/frame-presets/claude/fonts");+test("bundled Code editorial font licenses are shipped beside the assets", () => {+ const fontDir = resolve(+ scriptDir,+ "../../hyperframes-creative/frame-presets/code-editorial/fonts",+ );for (const family of ["eb-garamond", "inter", "jetbrains-mono"]) {assert.equal(existsSync(join(fontDir, `OFL-${family}.txt`)), true);}diff --git a/skills/pr-to-video/scripts/ingest.mjs b/skills/pr-to-video/scripts/ingest.mjsindex 28c02ff75c..0b474b491c 100644--- a/skills/pr-to-video/scripts/ingest.mjs+++ b/skills/pr-to-video/scripts/ingest.mjs@@ -16,7 +16,7 @@// + fetch-pr.mjs's best-effort shipped_version / version_source// --diff <path> gh pr diff (raw unified diff) [optional — brief still builds without it]// Writes (under --out-dir, default ./capture/extracted):-// tokens.json synthetic design tokens (colors:[] → claude native palette)+// tokens.json synthetic design tokens (colors:[] → code-editorial native palette)// visible-text.txt the narrative SOURCE: a readable plain-text brief assembled// from title + meta + people + body + commits + changed files + a// budget-bounded selection of representative diff hunks.diff --git a/skills/pr-to-video/sub-agents/frame-worker.md b/skills/pr-to-video/sub-agents/frame-worker.mdindex 6204f3d03e..ab8bdb7ed7 100644--- a/skills/pr-to-video/sub-agents/frame-worker.md+++ b/skills/pr-to-video/sub-agents/frame-worker.md@@ -21,12 +21,12 @@ A PR video is **mostly invented**: there are **no screenshots and no captured UI- **Code beats (`diff` / `before_after` / a new-code reveal) — use the named `code-*` block, don't hand-build code motion.** Your `## Frame N` `scene` / `focal` names which block (e.g. `code-diff`, `code-morph`, `code-typing`); the orchestrator has already installed it (pre-install step). Read the `code-vocabulary.md` excerpt in your packet for that block's exact inputs, then:- Use only the packet's `### Source excerpt`. It is the real before/after hunk selected upstream. Never reopen the full diff or brief.- Fill the block's `window.__TOKENS` with that real code (the baked Shiki tokens) and set `window.__BLOCK` (effect, `line`, `duration`) **so the full block completes within the frame's `data-duration`** — a long snippet at the block's default per-character cadence overruns a short frame (the code never finishes typing). `code-diff` / `code-morph` need **2 states** (before, after); the others take one. **Line indexing differs — `code-highlight` is 0-based, `code-scroll` 1-based** — don't off-by-one.- - Integrate the filled block as **this frame's composition** per the core sub-composition contract: its `data-composition-id` and its `window.__timelines[...]` key must both be your **`<frame_id>`** (the block ships its own id + paused timeline; rename both to match the frame contract). The block already renders an editor window (titlebar / filename) reading as claude's navy **Code Surface** — set the filename + any `+N/−M` chrome from the `scene`.+ - Integrate the filled block as **this frame's composition** per the core sub-composition contract: its `data-composition-id` and its `window.__timelines[...]` key must both be your **`<frame_id>`** (the block ships its own id + paused timeline; rename both to match the frame contract). The block already renders an editor window (titlebar / filename) reading as code-editorial's navy **Code Surface** — set the filename + any `+N/−M` chrome from the `scene`.- **The block owns the code animation; your Scene windows choreograph the surrounding Code Surface** — the navy window seating in, the file header typing on, the camera settling onto the hunk, a coral underline on the landed line. **Do not re-specify the code motion** (the block is the development beat). A code beat is usually `blueprint: compose`.- **The block has no caption-safe band.** When `Captions: enabled`, inset/scale the code panel into the top ~83% so it clears the keep-out band; never let code run under the caption pill.- **Mechanism beats (`mechanism`) — build an invented animated diagram of the behavior; the build _is_ the shot.** This is the "show what the change does at runtime" frame (the request retrying, the cache filling, serial→parallel, the race resolved) — read its `scene` for the behavior to animate. Unlike a code beat, **the motion is yours to author** (no block owns it):- If the `scene` names a `flowchart` / `flowchart-vertical` / `data-chart` block, the orchestrator pre-installed it — fill + mount it like a code block (its `data-composition-id` and `window.__timelines[...]` key both become your `<frame_id>`). Otherwise **hand-build the diagram in SVG / HTML / GSAP** from `frame.md`'s atoms.- - **Claude register:** hairline-ink nodes / edges / lanes on the cream ground, **one coral marker** on the active / changed element, mono labels — **not** the navy code surface (that's for code), no heavy shapes / bokeh.+ - **Code editorial register:** hairline-ink nodes / edges / lanes on the cream ground, **one coral marker** on the active / changed element, mono labels — **not** the navy code surface (that's for code), no heavy shapes / bokeh.- **Choreograph the Scene windows:** the nodes / lanes draw on (Scene 1); **the flow runs** as the VO names each step (middle Scenes — the request hops, the lane splits, the front advances, the bars race) — this _is_ the teaching, so it must play across the shot, never enter-then-freeze; the resolved state + the one coral emphasis lands (final Scene). Keep it in the top ~83% (caption keep-out).- **The `credits` close — the one frame with real assets.** Its `asset_candidates` names 2–6 `assets/<login>.png` avatars (downloaded upstream). Render them as `<img>` in hairline-ringed chips — an avatar row with each contributor's name + role in mono (an "approved" mark if the close calls for it), staggered in across the Scene windows. Avatars appear **only** here, never decorating a code frame.@@ -34,5 +34,5 @@ A PR video is **mostly invented**: there are **no screenshots and no captured UI- The composition root also carries a **positive `data-duration` matching the packet**.- **Code-block cadence fits `data-duration`** — for a code beat, the `code-*` block's internal cadence is set so the full block completes within the frame's `data-duration` (a long snippet at the default per-character speed overruns — the code never finishes and the chrome beats never play; see `code-vocabulary.md`).-- Fonts: copy the auto-generated `@font-face` block from `frame.md`; the Claude preset's EB Garamond, Inter, and JetBrains Mono faces live in `assets/fonts/`. Never link Google Fonts.+- Fonts: copy the auto-generated `@font-face` block from `frame.md`; the Code editorial preset's EB Garamond, Inter, and JetBrains Mono faces live in `assets/fonts/`. Never link Google Fonts.- Visible-text exception: real code inside a `code-*` block is the content, not narration.diff --git a/skills/product-launch-video/references/cut-catalog.md b/skills/product-launch-video/references/cut-catalog.mdindex 1c54a5e776..822949ff26 100644--- a/skills/product-launch-video/references/cut-catalog.md+++ b/skills/product-launch-video/references/cut-catalog.md@@ -109,7 +109,7 @@ through_ content; inverse reads as _arriving at_ content.- Easing: `expo.out`, Duration: 0.5sShipped examples: `boring → until-now` and `B3 → "That changes today."` (sfx-music-launch);-seams 3/4 in claude-paper (`follow-up → thinking`, `thinking → compose UI`).+seams 3/4 in editorial-paper (`follow-up → thinking`, `thinking → compose UI`).---diff --git a/skills/product-launch-video/references/motion-language.md b/skills/product-launch-video/references/motion-language.mdindex 367ecbaad2..4980413f37 100644--- a/skills/product-launch-video/references/motion-language.md+++ b/skills/product-launch-video/references/motion-language.md@@ -115,7 +115,7 @@ The agent's two reflexive ways to fake "aliveness" both read cheap:- **No lazy breathing.** Scaling cards/text up and down in a circular loop to look "alive" is the cheap tell. Don't reach for it.- **No bad slow pan / push in the back half.** A slow pan or push on elements in the later ~50% of a scene **disrupts the viewer's sightline and causes eye discomfort** — it actively makes the frame worse, not better.-The fix for both is the same: **stagger element reveals in time with the script** (rule 2). And the governing principle: **"I'd rather have NO motion than BAD motion."** A held, still frame is better than a frame kept "alive" by breathing or a drifting camera. The **only sanctioned aliveness** during a hold is **subtle jitter** — a small low-amplitude jitter that keeps a frame from feeling dead without looking weak (it's in Claude videos now). Everything else holds.+The fix for both is the same: **stagger element reveals in time with the script** (rule 2). And the governing principle: **"I'd rather have NO motion than BAD motion."** A held, still frame is better than a frame kept "alive" by breathing or a drifting camera. The **only sanctioned aliveness** during a hold is **subtle jitter** — a small low-amplitude jitter that keeps a frame from feeling dead without looking weak (it's in current video work now). Everything else holds.## 4. Internal seams are velocity-matched cutsdiff --git a/skills/talking-head-recut/SKILL.md b/skills/talking-head-recut/SKILL.mdindex fc7b1a68ec..a9c797ff52 100644--- a/skills/talking-head-recut/SKILL.md+++ b/skills/talking-head-recut/SKILL.md@@ -279,8 +279,7 @@ densityMultiplier)))`) so the "auto" option's label can show theNot every runtime exposes the same structured-question tool. Apply thisorder:-1. **`AskUserQuestion`** (Claude Code, Anthropic Console) — use the- structured 4-question call below.+1. **Native clarification tool** — use the structured 4-question call below.2. **Other native clarification tool** (e.g. `ask_question`,`request_user_input`, IDE-specific prompt) — use that tool with thesame 4 question texts and option lists. Preserve the recommendation