К основному содержанию
скилл CX Codex

HyperFrames · heygen-com — скилл для Claude Code: HTML в видео

Скилл для создания видео из HTML: рендер кадр за кадром по паузе таймлайна, правки в превью, монтаж, анимация, звук. Включается в начале любого видео с HyperFrames.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add heygen-com/hyperframes --skill hyperframes -a claude-code
Открыть на GitHub

Что делает hyperframes

HyperFrames рендерит HTML в видео, покадрово проходя паузу таймлайна. Каждый рендер получается одинаковым, а человек правит те же файлы, что видит в превью. Корень композиции — index.html, сцены лежат в compositions/, медиа и шрифты — в assets/.

Скилл держит контракт рендера из 12 пунктов: каждый таймированный элемент получает class="clip", data-start и data-duration; длина видео задаётся data-duration корня; твины регистрируются в window.__timelines. Запрещены Date.now(), несидированный Math.random(), сетевые запросы, таймеры и repeat: -1.

Для работы нужен CLI через npx hyperframes. Новый проект поднимается командой npx hyperframes init <dir> --skip-skills --skill=hyperframes, проверка контракта — npx hyperframes check --json, а перед правками чужого проекта стоит заглянуть в npx hyperframes history --since mine --who <you>. Без предупреждения CLI может слать телеметрию: npx hyperframes events --skill=hyperframes выполняется один раз при старте скилла.

Какие задачи решает

  • собрать фильм, эксплейнер или клип из HTML-разметки
  • сделать каждый рендер воспроизводимым по таймлайну
  • проверить тайминги и контракт перед отдачей файла
  • подхватить чужие правки в проекте
  • оформить графики, карты, титры и оверлеи

Примеры запросов агенту

  • Собери launch-фильм по index.html из compositions/
  • Проверь контракт: npx hyperframes check --json
  • Сделай снимок кадра --at 5 и покажи, что изменилось

Как установить hyperframes

1Через Skills CLI (Vercel)

npx skills add heygen-com/hyperframes --skill hyperframes -a claude-code

2Вручную: положить файлы

~/.claude/skills/hyperframes/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/hyperframes/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о hyperframes

Как установить HyperFrames в Claude Code?

Выполни npx skills add heygen-com/hyperframes --skill hyperframes -a claude-code, затем открой ~/.claude/skills/hyperframes/SKILL.md.

Что делает HyperFrames?

Рендерит HTML в видео через покадровый проход паузы таймлайна. Человек правит те же файлы в превью, а результат рендера не зависит от окружения.

Какие ограничения накладывает контракт рендера?

Нельзя использовать Date.now(), несидированный Math.random(), сетевые запросы, таймеры и repeat: -1. Всё видимое должно быть функцией времени таймлайна.

Исходный текст

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:** Inside a HyperFrames plugin, follow [plugin execution rules](references/plugin-installation.md).

**Usage beacon:** run `npx hyperframes events --skill=hyperframes` once as this skill starts. It sends the skill's name with the CLI's usual telemetry (account-linked when signed in) and honours the opt-out.

# 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> --skip-skills --skill=hyperframes`. 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 the `<video>`, never its wrapper.
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: `assets/...` (no leading `/`), 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`. Copy a video: `/reverse-any-video`. Figma: `/figma`. Skills and the pinned CLI: `references/skill-lifecycle.md`.

© heygen-com · Apache-2.0 · heygen-com/hyperframes

Похожие скиллы

Все скиллы по теме «Настройка агента: память, контекст, субагенты» →

Сначала — hyperframes от других авторов.

hyperframes boraoztunc Скилл создаёт HTML-композиции для видео: анимации, титры, субтитры, озвучку и переходы. Пригодится для сборки роликов из сцен. CX Codex +1 215установок hyperframes calesthio Скилл направляет запросы на создание и монтаж видео в HyperFrames, где композиции описываются HTML. Подходит для роликов, анимации и моушн-графики. CX Codex ★ 78 316звёзд репо hyperframes-registry официальный HeyGen Скилл помогает устанавливать блоки и компоненты из реестра HyperFrames и встраивать их в HTML-композиции. CX Codex GP ChatGPT 2установок hyperframes-core calesthio Задаёт правила сборки видеороликов из HTML в HyperFrames: тайминги через data-атрибуты, детерминированный рендеринг и структуру вложенных сцен. CX Codex ★ 78 316звёзд репо hyperframes-cli boraoztunc Оркестрирует создание HTML-видео через npx hyperframes: от инициализации проекта до визуального аудита и сборки MP4. CX Codex +1 203установок hyperframes-sales-demo-builder OneWave-AI Скилл для Claude Code, Codex, Cursor и других платформ — строит персонализированное демо-видео в HyperFrames под конкретного клиента. CX Codex +1 152установок drop neuronik-io Публикует свёрстанные ассистентом HTML-страницы в вебе и возвращает готовую ссылку для отправки коллегам. CX Codex +1 twocents twocents-page Отправляет HTML людям на визуальную проверку и возвращает агенту закреплённые замечания с привязкой к нужному месту. CX Codex +1 RepeaterBook MicaelJarniac MCP-сервер для Claude Code и других IDE, ищет любительские репитеры на RepeaterBook.com по местоположению, диапазону и виду модуляции. Агент получает данные о частотах и сам решает, что показать. CX Codex +1 ★ 5звёзд репо

Из того же набора15

Весь набор →
hyperframes-cli Управляет видеопроектами HyperFrames через терминал: генерирует структуру, правит таймлайн, проверяет контраст и рендерит кадры. Запускается при работе над кодовым видео. CX Codex +1 1 500 000установок media-use Ищет и генерирует медиафайлы для видеопроектов HyperFrames, сохраняя их локально в папку assets. Подключает каталог HeyGen, озвучку, фоновую музыку и цветовую коррекцию видео. CX Codex +1 1 300 000установок hyperframes-registry Скилл ищет и добавляет редактируемые HyperFrames-блоки для переходов, титров, субтитров, графиков и 3D-сцен. Поиск запускается перед ручной сборкой визуального эффекта. CX Codex +1 1 200 000установок remotion-to-hyperframes Переносит анимации и видеокод из Remotion, Motion Canvas или Lottie в проект HyperFrames. Позволяет проверить результат покадровым сравнением с оригиналом через diff. CX Codex +1 578 600установок slideshow Скилл собирает в HyperFrames презентацию для показа в браузере: слайды, раскрытие фрагментов и переходы по интерактивным точкам. Он также помогает перенести существующую страницу в формат слайдов. CX Codex +1 484 400установок figma Импортирует дизайн из Figma в видео HyperFrames: ассеты, токены бренда, компоненты, шейдеры и анимацию. Работает на этапе сборки, рендер не обращается к Figma. CX Codex +1 396 200установок frost-sequence-camera-orbit Скилл собирает 22.5-секундную сцену: камера облетает ледяной логотип, он рассыпается, собирается в два текста и растворяется. CX Codex +1 11 700установок orbit-card Скилл для встраивания готового 10-секундного 3D-блока HyperFrames: карточка фичи облетает сферу из точек по траектории камеры из Blender. CX Codex +1 11 700установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой