Hyperframes Codex Video
Edit video by vibe-coding: the agent writes HTML/CSS/JS, Hyperframes renders
deterministic MP4 (same input = identical output). Source: Nate Herk
o3IEkKXXXvo (transcript in local YT_DIR, @nateherk).
When To Activate
- The user says edit this video with Codex/Claude, add motion graphics,
animate this reel, or turn footage into a polished edit.
- Output is YouTube 16:9, reel/Shorts 9:16, or an ad with B-roll and captions.
- There is footage to start from, or a rough outline for motion-only pieces.
- Repeatable style matters more than one-off manual timeline work.
Non-Triggers
- React/Remotion stack -> use
remotion-video-creation.
- Only cutting silences and making a vertical draft ->
video-cut-pipeline.
- Paper-collage narrated explainer ->
vox-style-video.
Setup (once per project)
- Open a local project folder in the coding agent (Codex desktop app works).
- Pull the framework repo and install deps, then run the doctor check:
npx hyperframes doctor (requires Node.js >= 22 and FFmpeg).
Official install for agents: npx skills add heygen-com/hyperframes.
- Transcription provider: create an API key scoped to speech-to-text and
store it in
.env (never commit it). Local Whisper-class models are the
free fallback when paid quality is not needed on the sample.
- Record the choice as a living rule in
AGENTS.md, e.g.
"whenever transcribing video in this project, use provider X".
The agent reads this file every session, so the rule compounds.
Workflow (the loop)
- Transcribe first: word-level text with millisecond timestamps. Every
animation, caption, and cut syncs to this transcript. No transcript,
no motion pass.
- Cut second: remove mistakes, stutters, and dead space (start with gaps
above ~0.5s for fast-paced edits). A 14-minute raw can become 9 minutes
before any graphics exist.
- Plan beats: one beat = one scene. Have the model read the transcript,
infer intent per section, and list beats with their on-screen plan
(layout, music, SFX). Beats drive everything downstream.
- Generate motion: the agent writes plain HTML files with data attributes
plus a JS animation runtime (GSAP, CSS, Lottie, Three.js). Face-cam goes
in rounded crops with drop shadow; captions sit in the lower third with
word-level highlight; B-roll is collected or AI-generated per beat.
- Verify loop: render, screenshot scenes, re-read the transcript, check
sync, bounds, and readability. Loop generate -> verify until the agent
reports confidence. Never ship version one unreviewed.
- Studio tweak: open Hyperframes Studio (localhost preview with hot reload)
for small manual fixes (text size, position) instead of re-prompting
a full render on long videos.
Motion Library (Batch 17d, #65)
AI-slop has a look: same motions, same covers, zero identity. Keep a
library of signature motions (complex, on-brand, word-synced) and
generate one custom image per motion for what is being said. Reuse the
library across videos; never ship the default pattern.
Skill-ify (the compounding step)
- The first edit uses one big explicit prompt (style, timing, layouts).
- When the output is good, tell the agent: "turn that into a skill".
Next time the prompt shrinks to "edit this video, use this skill".
- Each round of feedback ("do X next time") updates the skill file.
This is the
self-improving-skill pattern applied to video.
Hooks and Retention
- First 2 seconds need a dedicated hook (animated text or motion, never
covering the speaker's face). Open loops ("three missing pieces...")
keep Shorts retention; switch scenes every 1-2 seconds.
- For ads: pull real context (past videos, logos from Drive, event assets)
so the piece feels specific, not theoretical.
Cost Rule
- Default to local transcription; pay only when speed or quality on the
sample justifies it. Vendor prices seen in source videos are author
measurements, not quotes. Check the vendor pricing page first.
- Rendering is local (headless browser + FFmpeg); the expensive part is
model tokens during the generate -> verify loop, so converge beats
before generating.
Anti-Patterns
- Generating motion before transcribing -> nothing syncs.
- Shipping the first render with no screenshot verify pass.
- Overlapping 3D layers with broken physics (fan clips behind each other,
never cutting through).
- Committing
.env with API keys; hard-coding brand hex values inside
compositions instead of one shared theme.
- Full-screen cutaways laid over the speaker's face.
Relations
remotion-video-creation: same job on the React motor; pick one motor
per project, never mix.
video-cut-pipeline: owns transcribe + cut; this skill consumes its
output and adds beats + motion.
vox-style-video: word-sync discipline for narrated explainers.
goal: goal-driven loop prompts for multi-pass renders.
self-improving-skill: the prompt -> skill -> iterate mechanism.
ui-demo: screen-capture verification sibling.
Sources
Exemplo
Projeto local + npx hyperframes doctor OK + AGENTS.md: "transcribe via provider X"
Bruto 65s -> transcript (ms) -> cut 28s -> 6 beats -> HTML+GSAP (liquid-glass cards)
Studio: texto 80px, fan 3D sem overlap -> verify screenshots OK -> render MP4
"Turn that into a skill" -> proxima edicao: "edit this video, use this skill"
Enriquecimento 2026-09-26 — Opus 5.5 + ScrollCraft (captura semanal)
N. Herk 25/09 ("Opus 5.5 Just Changed Video Editing Forever"): intro do
próprio vídeo editada por Opus 5.5 via Hyperframes de 1 prompt — motion,
sound, B-roll, screenshots e imagens geradas pelo modelo, com toques
criativos próprios (zooms sutis). Setup: apontar Claude Code ao repo +
transcrição ElevenLabs ou Whisper local p/ temporizar animações. Prompt
exact usado no vídeo inclui logos animados sobre liquid-glass cards,
highlight de texto e overlays. Sizzle reel de 105GB em 3 prompts. Skill
grátis citada: ScrollCraft (website design) + student kit. Regra:
em Opus 5.5, 1 prompt gera multi-beats com gosto visual melhor (pós-crítica
ao Opus 5); validar screenshot antes de render final.
Validação externa (Fase 2, Dubibubi 26/09, canal fora da lista): todo o
motion graphics do vídeo feito via Hyperframes de descrição falada —
"melhor que Remotion na maioria das vezes, com menos nagging"; firework
de ~8s gerado em ~8 min (vs 1 dia no After Effects). Reforça o verify
loop: ratio esforço/payoff é o argumento.
1---2name: hyperframes-codex-video3description: "Use when editing video with an AI coding agent (Codex, Claude Code) through Hyperframes HTML-to-video: transcript-first beats, HTML/CSS/JS motion graphics, Studio preview, screenshot verify loop. Triggers on \"hyperframes\", \"codex edit video\", \"html to video\", \"motion graphics with ai\", \"transcript beats\". Non-triggers: React-based programmatic video (use remotion-video-creation); raw silence-cut only (use video-cut-pipeline). Outcome: a rendered MP4 plus a reusable skill that repeats the style."4metadata:5 source: https://skillmd.com/skills/majinmagros/hyperframes-codex-video6 origin: ECC7---89# Hyperframes Codex Video1011Edit video by vibe-coding: the agent writes HTML/CSS/JS, Hyperframes renders12deterministic MP4 (same input = identical output). Source: Nate Herk13`o3IEkKXXXvo` (transcript in local YT_DIR, `@nateherk`).1415## When To Activate1617- The user says edit this video with Codex/Claude, add motion graphics,18 animate this reel, or turn footage into a polished edit.19- Output is YouTube 16:9, reel/Shorts 9:16, or an ad with B-roll and captions.20- There is footage to start from, or a rough outline for motion-only pieces.21- Repeatable style matters more than one-off manual timeline work.2223## Non-Triggers2425- React/Remotion stack -> use `remotion-video-creation`.26- Only cutting silences and making a vertical draft -> `video-cut-pipeline`.27- Paper-collage narrated explainer -> `vox-style-video`.2829## Setup (once per project)30311. Open a local project folder in the coding agent (Codex desktop app works).322. Pull the framework repo and install deps, then run the doctor check:33 `npx hyperframes doctor` (requires Node.js >= 22 and FFmpeg).34 Official install for agents: `npx skills add heygen-com/hyperframes`.353. Transcription provider: create an API key scoped to speech-to-text and36 store it in `.env` (never commit it). Local Whisper-class models are the37 free fallback when paid quality is not needed on the sample.384. Record the choice as a living rule in `AGENTS.md`, e.g.39 "whenever transcribing video in this project, use provider X".40 The agent reads this file every session, so the rule compounds.4142## Workflow (the loop)43441. Transcribe first: word-level text with millisecond timestamps. Every45 animation, caption, and cut syncs to this transcript. No transcript,46 no motion pass.472. Cut second: remove mistakes, stutters, and dead space (start with gaps48 above ~0.5s for fast-paced edits). A 14-minute raw can become 9 minutes49 before any graphics exist.503. Plan beats: one beat = one scene. Have the model read the transcript,51 infer intent per section, and list beats with their on-screen plan52 (layout, music, SFX). Beats drive everything downstream.534. Generate motion: the agent writes plain HTML files with data attributes54 plus a JS animation runtime (GSAP, CSS, Lottie, Three.js). Face-cam goes55 in rounded crops with drop shadow; captions sit in the lower third with56 word-level highlight; B-roll is collected or AI-generated per beat.575. Verify loop: render, screenshot scenes, re-read the transcript, check58 sync, bounds, and readability. Loop generate -> verify until the agent59 reports confidence. Never ship version one unreviewed.606. Studio tweak: open Hyperframes Studio (localhost preview with hot reload)61 for small manual fixes (text size, position) instead of re-prompting62 a full render on long videos.6364## Motion Library (Batch 17d, #65)6566AI-slop has a look: same motions, same covers, zero identity. Keep a67library of signature motions (complex, on-brand, word-synced) and68generate one custom image per motion for what is being said. Reuse the69library across videos; never ship the default pattern.7071## Skill-ify (the compounding step)7273- The first edit uses one big explicit prompt (style, timing, layouts).74- When the output is good, tell the agent: "turn that into a skill".75 Next time the prompt shrinks to "edit this video, use this skill".76- Each round of feedback ("do X next time") updates the skill file.77 This is the `self-improving-skill` pattern applied to video.7879## Hooks and Retention8081- First 2 seconds need a dedicated hook (animated text or motion, never82 covering the speaker's face). Open loops ("three missing pieces...")83 keep Shorts retention; switch scenes every 1-2 seconds.84- For ads: pull real context (past videos, logos from Drive, event assets)85 so the piece feels specific, not theoretical.8687## Cost Rule8889- Default to local transcription; pay only when speed or quality on the90 sample justifies it. Vendor prices seen in source videos are author91 measurements, not quotes. Check the vendor pricing page first.92- Rendering is local (headless browser + FFmpeg); the expensive part is93 model tokens during the generate -> verify loop, so converge beats94 before generating.9596## Anti-Patterns9798- Generating motion before transcribing -> nothing syncs.99- Shipping the first render with no screenshot verify pass.100- Overlapping 3D layers with broken physics (fan clips behind each other,101 never cutting through).102- Committing `.env` with API keys; hard-coding brand hex values inside103 compositions instead of one shared theme.104- Full-screen cutaways laid over the speaker's face.105106## Relations107108- `remotion-video-creation`: same job on the React motor; pick one motor109 per project, never mix.110- `video-cut-pipeline`: owns transcribe + cut; this skill consumes its111 output and adds beats + motion.112- `vox-style-video`: word-sync discipline for narrated explainers.113- `goal`: goal-driven loop prompts for multi-pass renders.114- `self-improving-skill`: the prompt -> skill -> iterate mechanism.115- `ui-demo`: screen-capture verification sibling.116117## Sources118119- Framework (open source, site declares Apache 2.0 - confirm LICENSE in120 the repo before redistributing):121 https://github.com/hyperframes/hyperframes122- Docs: https://hyperframes.heygen.com123- Student kit (free teaching repo: 14 skills, transcript-driven cuts,124 motion-graphics cards, templates - own LICENSE, check before reuse):125 https://github.com/nateherkai/hyperframes-student-kit126127## Exemplo128129```text130Projeto local + npx hyperframes doctor OK + AGENTS.md: "transcribe via provider X"131Bruto 65s -> transcript (ms) -> cut 28s -> 6 beats -> HTML+GSAP (liquid-glass cards)132Studio: texto 80px, fan 3D sem overlap -> verify screenshots OK -> render MP4133"Turn that into a skill" -> proxima edicao: "edit this video, use this skill"134```135136## Enriquecimento 2026-09-26 — Opus 5.5 + ScrollCraft (captura semanal)137138N. Herk 25/09 ("Opus 5.5 Just Changed Video Editing Forever"): intro do139próprio vídeo editada por Opus 5.5 via Hyperframes de 1 prompt — motion,140sound, B-roll, screenshots e imagens geradas pelo modelo, com toques141criativos próprios (zooms sutis). Setup: apontar Claude Code ao repo +142transcrição ElevenLabs ou Whisper local p/ temporizar animações. Prompt143exact usado no vídeo inclui logos animados sobre liquid-glass cards,144highlight de texto e overlays. Sizzle reel de 105GB em 3 prompts. Skill145grátis citada: **ScrollCraft** (website design) + student kit. Regra:146em Opus 5.5, 1 prompt gera multi-beats com gosto visual melhor (pós-crítica147ao Opus 5); validar screenshot antes de render final.148149Validação externa (Fase 2, Dubibubi 26/09, canal fora da lista): todo o150motion graphics do vídeo feito via Hyperframes de descrição falada —151"melhor que Remotion na maioria das vezes, com menos nagging"; firework152de ~8s gerado em ~8 min (vs 1 dia no After Effects). Reforça o verify153loop: ratio esforço/payoff é o argumento.