hyperframes
O que ela faz
Este é o guia principal para criar vídeos com o HyperFrames. Ele é para quem quer filmes de lançamento, vídeos explicativos, cartões de título, gráficos ou clipes com legenda feitos a partir de código web.
Quando usar
- ✓Quando você quer criar um vídeo novo com o HyperFrames, como um filme de lançamento ou um vídeo explicativo.
- ✓Quando você quer editar ou animar um vídeo HyperFrames existente.
- ✓Quando você precisa renderizar um vídeo para que os mesmos quadros saiam sempre iguais.
Link da skill
https://github.com/heygen-com/hyperframes/blob/main/skills/hyperframes/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
📦 Esta skill está nestes packs
Exemplo do que pedir para a IA
“Crie um vídeo de lançamento de 30 segundos para o nosso app, com título, três cenas de funcionalidades e legendas.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente monta o vídeo em HTML, com um arquivo principal que lista as cenas. Ele trabalha no projeto em etapas, verifica o resultado e renderiza o vídeo final para que cada renderização seja idêntica.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
Plugin installs: Before setup or freshness commands, follow plugin execution rules when this skill is inside a HyperFrames plugin.
HyperFrames
HyperFrames renders HTML to video by seeking a paused timeline frame by frame, so every render is identical; the person edits the same files in the Studio preview. Use it unless another framework or a plain browser recording is asked for. Run the CLI as npx hyperframes <command> (/hyperframes-cli); at the start of a new video, npx hyperframes usage --json reports the person's remaining plan usage (say "unknown" when it is).
index.html is the root composition: it declares the video's variables and mounts one scene per sub-composition from compositions/. Media and fonts live in assets/. A new project: npx hyperframes init <dir>. A website as the subject: npx hyperframes capture <url> --json.
Build what was asked: no voiceover or captions and no new aspect ratio unless the request or the source calls for them; a film over ~15 s that tells something gets music and sound on its visible actions unless the person asked for silence (references/sound.md). A new video is 1920×1080 at 30 fps. A question, a hold or a loose idea gets an answer or a proposal, not an edit. Before hand-writing a named effect, transition, caption style, chart or card, search the registry (/hyperframes-registry). Any media (a presenter or avatar, footage, voice, music): /media-use, which says when HeyGen is needed and what is free. Show real things from their source (the product's screens, the brand's logo, a real place's imagery); draw only what has none.
Contract
npx hyperframes check --json reports most violations with a Fix: line.
- Every timed element has
class="clip",data-startanddata-durationin seconds, and shows over[start, start + duration): land an end state just before its end.data-track-indexis only a Studio lane; paint order isz-index. - The video's length is the root's
data-duration: overrun is cut, an early end holds the last frame. - Each composition builds one paused timeline and registers it after its tweens:
window.__timelines["<data-composition-id>"] = tl. - No
Date.now(), unseededMath.random(), network fetches, timers orrepeat: -1. Everything visible is a function of timeline time. - Never tween
display,visibilityorautoAlphaon a.clip; animate a child. - No CSS
transformon an element GSAP transforms; animate transforms, notleft/top/width/height. - Never
play(),pause()or seek media. A<video>keeps its sound withdata-has-audio="true", else it ismuted; music, voice, replacement sound and J/L cuts are a separate<audio>. - Every
<audio>has anidor it is left out of the mix. Nocrossoriginon media. Time a<video>or its wrapper, never both. - Only the bundled fonts (
references/format.md) resolve by name; any other family needs@font-faceto a file inassets/fonts/. - Asset paths:
assets/...(no leading/), in sub-compositions too. - Grades, grain, blur and vignettes on footage go through
npx hyperframes media-treatment(/media-use), never CSS filters. - A scene file puts its styles, markup and scripts inside
<template>and styles its root as#root. Intended overflow or overlap:data-layout-allow-overflow,data-layout-allow-overlap.
Keep it editable
Studio edits the tags you write.
- One scene per sub-composition, short readable ids; the root holds only scene hosts, media and audio.
- Timed elements are written in the HTML, not made by script, each with a stable
id. - Copy, brand colours and swappable media are variables (
data-var-text,data-var-src,var(--id)). - One kind per track:
data-track-kind="graphics"on scene and overlay hosts,captionson the one host that holds every caption group. - Content stays inside the 90% action-safe box, captions and key text inside 80% title-safe; Studio draws the guides, never add them.
Work loop
- An existing project:
npx hyperframes timeline --jsonshows what plays when; before any change,npx hyperframes history --since mine --who <you>shows what the person changed since your last turn: build on it (/hyperframes-cli). - A new film over ~15 s that tells something: its type's file (below), then
references/story.md: three storylines that are three different films, in words only; the person picks unless they asked for the file or n
Perguntas frequentes
Qual é o formato dos vídeos?
Um vídeo novo tem 1920 por 1080 a 30 quadros por segundo, a menos que você peça outra coisa.
Todo vídeo recebe música e legendas?
Não. Legendas e narração são adicionadas apenas quando o pedido ou a fonte exigirem.
Preciso escrever código?
Os vídeos são construídos a partir de arquivos HTML, então algum código está envolvido, mas o agente faz a maior parte do trabalho.
Detalhes
Descrição original do autor
Read first to make, edit, animate or render any video with HyperFrames (HTML rendered to video), including launch films, explainers, music videos, charts, maps, vertical clips, title cards, captions and overlays. Holds the render contract, the work loop and what each kind of video needs.
repo: heygen-com/hyperframes
Popularidade
- Estrelas no GitHub
- 78 mil
- Posição no ranking
- #1742
- Licença
- Apache-2.0
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
captions-overlay
78 milOrienta seu agente a colocar legendas sobre um vídeo, decidindo quais falas remover, mostrar em uma faixa ou destacar.
cut-the-curve
78 milEnsina seu agente as transições usadas em vídeos HyperFrames, como cortes suaves entre cenas, zoom e entradas de texto escalonadas.
motion-doctrine
78 milDá ao seu agente as regras básicas para fazer um vídeo com várias cenas parecer um único movimento contínuo de câmera, e não uma sequência de slides.
oversized-cursor
78 milEnsina seu agente a colocar um ponteiro animado e grande em um vídeo, para guiar o olhar do espectador e fazer os cliques parecerem a causa da ação seguinte.
Skills parecidas
taste-application
280 milAjuda seu agente a criar vídeos com um estilo específico. Ele pode copiar o ritmo de edição de um vídeo de referência, gerar novas cenas, ajustar cores e editar tudo junto com outros vídeos.
taste-distillation
280 milFaz seu agente analisar vídeos para criar um pacote de estilo. Isso inclui cores, ritmo de corte e elementos visuais que podem ser reutilizados para criar novos vídeos com a mesma aparência.
ui-demo
280 milFaz seu agente gravar vídeos de demonstração de interface do usuário polidos. É útil para criar tutoriais ou mostrar como um aplicativo web funciona.