hyperframes — скилл для Claude Code: что делает и как установить
Скилл задаёт агенту правила рендера HTML-кода в видео через HyperFrames. Помогает собирать проморолики, эксплейнеры и титры прямо в коде проекта.
npx skills add heygen-com/hyperframes --skill hyperframes -a claude-codeЧто делает hyperframes
Скилл учит агента создавать и редактировать видео, где каждый кадр собирается из HTML и таймлайнов GSAP. Рендер идёт покадрово с фиксацией шкалы времени. По умолчанию проект создаётся в разрешении 1920×1080 при 30 fps. Корневой файл index.html монтирует сцены из папки compositions/, а шрифты и медиа лежат в папке assets/.
Внутри заложен контракт верстки под видеорендер. Элементы анимации получают класс clip, атрибуты data-start и data-duration. Запрещены несидированный Math.random(), таймеры и внешние сетевые запросы. Проверка ошибок выполняется командой npx hyperframes check --json с выводом готовых исправлений.
Ставьте скилл, если собираете ролики кодом и правите их в HyperFrames desktop app. Для простого захвата экрана из браузера он избыточен.
Какие задачи решает
- создать проморолик или эксплейнер из HTML и CSS
- проверить таймлайны и стили видео перед рендером через
npx hyperframes check - собрать титры или вертикальные клипы по детерминированному таймлайн-контракту
- захватить веб-страницу для видеоролика командой
npx hyperframes capture
Примеры запросов агенту
- Создай новый проект проморолика на HyperFrames в разрешении 1920x1080
- Проверь проект через npx hyperframes check и исправь ошибки в таймлайнах
- Сделай сцену с титрами в compositions/title.html и подключи её в index.html
Как установить hyperframes
1Через Skills CLI (Vercel)
npx skills add heygen-com/hyperframes --skill hyperframes -a claude-code2Вручную: положить файлы
~/.claude/skills/hyperframes/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/hyperframes/
1Через Skills CLI (Vercel)
npx skills add heygen-com/hyperframes --skill hyperframes -a codex2Вручную: положить файлы
.agents/skills/hyperframes/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add heygen-com/hyperframes --skill hyperframes -a cursor2Вручную: положить файлы
.cursor/skills/hyperframes/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install heygen-com/hyperframes hyperframes2Вручную: положить файлы
.github/skills/hyperframes/SKILL.md1Через Skills CLI (Vercel)
npx skills add heygen-com/hyperframes --skill hyperframes -a gemini-cli2Командой платформы
gemini skills install https://github.com/heygen-com/hyperframes --path skills/hyperframesВручную: положить файлы
.devin/skills/hyperframes/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add heygen-com/hyperframes --skill hyperframes -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
Из того же набора14
Весь набор →Похожие
Вопросы о hyperframes
Как установить hyperframes в Claude Code?
Выполните команду npx skills add heygen-com/hyperframes --skill hyperframes -a claude-code. Также файл скилла можно положить локально в ~/.claude/skills/hyperframes/SKILL.md.
Что делает скилл hyperframes?
Он передаёт агенту спецификацию и правила работы с CLI HyperFrames для пошагового рендера HTML в видео. Агент учится связывать сцены, избегать запрещённых методов браузера и валидировать проект.
Какие ограничения накладывает контракт HyperFrames на код анимации?
В коде запрещено использовать Date.now(), случайные числа без сида, таймеры и прямые сетевые вызовы. Все видимые изменения обязаны строго зависеть от времени шкалы GSAP.
Исходный текст
SKILL.md · Apache-2.0
--- name: hyperframes description: 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. --- **Plugin installs:** Before setup or freshness commands, follow [plugin execution rules](references/plugin-installation.md) 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. 1. Every timed element has `class="clip"`, `data-start` and `data-duration` in seconds, and shows over `[start, start + duration)`: land an end state just before its end. `data-track-index` is only a Studio lane; paint order is `z-index`. 2. The video's length is the root's `data-duration`: overrun is cut, an early end holds the last frame. 3. Each composition builds one paused timeline and registers it after its tweens: `window.__timelines["<data-composition-id>"] = tl`. 4. No `Date.now()`, unseeded `Math.random()`, network fetches, timers or `repeat: -1`. Everything visible is a function of timeline time. 5. Never tween `display`, `visibility` or `autoAlpha` on a `.clip`; animate a child. 6. No CSS `transform` on an element GSAP transforms; animate transforms, not `left`/`top`/`width`/`height`. 7. Never `play()`, `pause()` or seek media. A `<video>` keeps its sound with `data-has-audio="true"`, else it is `muted`; music, voice, replacement sound and J/L cuts are a separate `<audio>`. 8. Every `<audio>` has an `id` or it is left out of the mix. No `crossorigin` on media. Time a `<video>` or its wrapper, never both. 9. Only the bundled fonts (`references/format.md`) resolve by name; any other family needs `@font-face` to a file in `assets/fonts/`. 10. Asset paths are root-relative (`assets/...`), in sub-compositions too. 11. Grades, grain, blur and vignettes on footage go through `npx hyperframes media-treatment` (`/media-use`), never CSS filters. 12. 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, `captions` on 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 --json` shows 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 no stops. Then `SPEC.md` (`references/spec.md`): every adjective as a number, the defaults banned by name, the shots by frame. - After your last edit: `npx hyperframes check --json`; fix every error, weigh every warning. A film: `npx hyperframes snapshot --review` and `references/review.md`, ending in `REVIEW.md`. A small edit: snapshot what you changed (`--at`, `--range`, `--composition`) and look before you reply. - Render when the person approves the Studio preview, asks for the file or asks for no stops, after your check and review pass; otherwise stop at the preview and wait. ## The HyperFrames desktop app Call it "the HyperFrames desktop app", never "Studio"; offer it as the better way to keep editing, not the only one. - Before the delivery render of a new video, open the Studio preview, even in no-questions mode, and say they can edit there. If `preview` printed "Keep editing by chatting with Framey", add that the **Edit with Framey** button opens the app. - After the delivery render, pass on its Framey line in your own words: offer to run the `hyperframes open` it names or give its download link; else say nothing (autonomous: the delivery note). - When any command says to run `catch-up`, run `npx hyperframes catch-up [dir]` before your next change; what it lists is their work, not a new request. ## What to read | The request | Read | | --- | --- | | Launch, promo, feature | `references/types/launch.md` | | Explainer, tutorial | `references/types/explainer.md` | | Music video | `references/types/music.md` | | Chart, numbers | `references/types/data.md` | | Vertical or social clip | `references/types/vertical.md` | | 3D, simulation, generative | `references/types/3d.md` | | Character, mascot, story short | `references/types/character.md` | | A real place or map; a website, PR or script; kinetic type | `references/film.md` | | Captions; cards over a talking head | `references/captions.md`; `references/overlays.md` | | Motion: eases, titles, cuts, punch-ins, speed, holds | `references/motion.md` | | Scenes, attributes, media, lint; GSAP, Lottie, 3D, canvas | `references/format.md`; `references/runtimes.md` | Decks: `/slideshow`. Remotion source: `/remotion-to-hyperframes`. Figma: `/figma`. Installing, refreshing or upgrading skills and the pinned CLI: `references/skill-lifecycle.md`.
© heygen-com · Apache-2.0 · heygen-com/hyperframes