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 repeat...
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Hyperframes Codex Video?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/majinmagros-hyperframes-codex-video)
---
name: hyperframes-codex-video
description: "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."
metadata:
origin: ECC
video_sources:
- "o3IEkKXXXvo - Nate Herk (Hyperframes base)"
- "8X0LNJE5r_I - Claude Now Makes MOTION GRAPHICS On Its Own (@maestrosdaia, 2026-10-26)"
---
# 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)
1. Open a local project folder in the coding agent (Codex desktop app works).
2. 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`.
3. 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.
4. 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)
1. Transcribe first: word-level text with millisecond timestamps. Every
animation, caption, and cut syncs to this transcript. No transcript,
no motion pass.
2. 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.
3. 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.
4. 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.
5. 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.
6. 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 / video 8X0LNJE5r_I, 2026-10-26)
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.
### Economia: motion vs. IA generativa
- Video generativo cobra por segundo (US$ 2-10 por 15 s, conforme o
modelo); depois de baixada, a biblioteca de motion e local,
deterministica e gratuita.
- Para B-roll, lower third, terminal, ranking, demo de produto e slide
animado, o template costuma ser mais didatico e engajar mais do que a
imagem ultrarrealista — que ainda carrega o vies "e IA, logo vale
menos" (caso Monet: quadro real postado como "gerado por IA" e criticado).
- Nao e ou-um-ou-outro: IA generativa onde so ela resolve (fala, cena
impossivel), motion para tudo que precisa de precisao e repeticao.
### O que entra na biblioteca (15 repos open source no video)
Categorias vistas na selecao (a lista completa ficou no material pago;
10 repos nao foram cobertos):
- demos de produto/app, icones e rankings com estetica minimalista "Apple";
- recorte de papel / paper-cut para contar historia sem realismo;
- **Animate** e templates de motion mais padrao;
- VSL/ad com brilho e efeito chamativo (1.000+ estrelas);
- repo que **transforma HTML em video** (citado como "HTML Video Nexo"):
ponte natural com este skill (HTML -> MP4);
- template de terminal/demo do proprio repositorio do **Hyperframes**
(HeyGen), otimo para video de ferramenta.
Quebrar cada repo em elementos pequenos (avatares, icones, cards) torna o
template reutilizavel em contextos diferentes — e voce define a linha
estetica da casa em vez de aceitar o default.
### Workflow do agente de motion
1. Importe todos os templates para **um agente dedicado a motion** (um
basta para comecar; varias bibliotecas por projeto e o passo seguinte).
2. Peca uma versao em video de todos os assets (ou dos principais).
3. Aprove/reprove no **AR-board** (`approval-rejection-board`): aprovado =
o agente mantem o template na biblioteca; reprovado = remove do repo.
O motivo do R vira criterio de selecao.
4. Com algumas dezenas de templates aprovados, peca os primeiros videos
usando os motions "nos lugares mais pertinentes".
Referencia do video: um video montado assim passou de 25 mil views com
zero trabalho humano. O custo real esta no refinamento (gerar 100-1000
motions e filtrar "muito simples / muito infantil"), nao no render.
### Separacao de agentes
O melhor arranjo testado: **um agente so testa os modelos, outro so grava
os testes, outro finaliza o video**. O agente de motion recebe o material,
elabora o roteiro, encaixa numa linha narrativa e aplica os motions por
cima. Ainda e experimental — a divisao reduz o custo de uma rodada
monolitica e facilita o replay de um passo isolado.
## 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
- Framework (open source, site declares Apache 2.0 - confirm LICENSE in
the repo before redistributing):
https://github.com/hyperframes/hyperframes
- Docs: https://hyperframes.heygen.com
- Student kit (free teaching repo: 14 skills, transcript-driven cuts,
motion-graphics cards, templates - own LICENSE, check before reuse):
https://github.com/nateherkai/hyperframes-student-kit
## Exemplo
```text
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.
## EDL por palavra e mixagem (leva YouTube 2026-11-11)
Fonte `WuzMxEKJHkQ`. Corte guiado por **transcricao**: EDL com entrada/saida por palavra
(remove respiro e muleta sem cortar ideia) e **diff do transcript** depois da edicao para
achar frase perdida. Elementos: **matte/tracking** do sujeito para inserir grafico atras,
**OCR** para capturar texto de tela, b-roll de **Pexels**, e **ducking** da trilha sob a
voz + loudness alvo consistente (-14 LUFS). Cada corte justificado por uma palavra =
ritmo, nao corte por tempo.