remotion-to-hyperframes — скилл для Claude Code: установка
Конвертирует код Remotion или видеофутажи в HyperFrames с покадровой проверкой оригинала через SSIM.
npx skills add heygen-com/hyperframes --skill remotion-to-hyperframes -a claude-codeЧто делает remotion-to-hyperframes
Скилл переносит видеопроекты в HyperFrames на трех уровнях поддержки. Нативный уровень переводит код Remotion в связку HTML и GSAP. Уровень Hosted сохраняет оригинальный код для Three.js или Lottie, отдавая управление таймингом движку HyperFrames. Рендеры из Blender или After Effects подключаются как стандартные видеоклипы.
Для проектов Remotion миграция начинается с проверки скриптом python3 /scripts/lint_source.py. Хуки вроде useState, асинхронный calculateMetadata и UI-библиотеки вроде MUI или shadcn блокируют прямой перевод, поэтому их придется рефакторить. Сверка результата выполняется через npx hyperframes snapshot и scripts/render_diff.sh, вычисляющий SSIM для каждого кадра.
Ставить скилл имеет смысл для переноса готовых роликов в редактор HyperFrames Studio. Если исходный код завязан на сетевые запросы или физику реального времени, нативный перенос не сработает.
Какие задачи решает
- перенести композиции Remotion в HyperFrames с сохранением переменных
- выявить несовместимые хуки React с помощью скрипта lint_source.py
- подключить сцены Three.js или Lottie под управление таймлайна HyperFrames
- смерить покадровые различия с оригинальным mp4 по метрике SSIM
Примеры запросов агенту
- Проверь проект Remotion через lint_source.py и перенеси сцены в HyperFrames.
- Сравни полученное видео с original.mp4 через render_diff.sh.
- Подключи анимацию Lottie как Hosted-слой с контролем тайминга.
Как установить remotion-to-hyperframes
1Через Skills CLI (Vercel)
npx skills add heygen-com/hyperframes --skill remotion-to-hyperframes -a claude-code2Вручную: положить файлы
~/.claude/skills/remotion-to-hyperframes/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/remotion-to-hyperframes/
1Через Skills CLI (Vercel)
npx skills add heygen-com/hyperframes --skill remotion-to-hyperframes -a codex2Вручную: положить файлы
.agents/skills/remotion-to-hyperframes/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add heygen-com/hyperframes --skill remotion-to-hyperframes -a cursor2Вручную: положить файлы
.cursor/skills/remotion-to-hyperframes/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install heygen-com/hyperframes remotion-to-hyperframes2Вручную: положить файлы
.github/skills/remotion-to-hyperframes/SKILL.md1Через Skills CLI (Vercel)
npx skills add heygen-com/hyperframes --skill remotion-to-hyperframes -a gemini-cli2Командой платформы
gemini skills install https://github.com/heygen-com/hyperframes --path skills/remotion-to-hyperframesВручную: положить файлы
.devin/skills/remotion-to-hyperframes/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add heygen-com/hyperframes --skill remotion-to-hyperframes -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
Из того же набора14
Весь набор →Похожие
Вопросы о remotion-to-hyperframes
Как установить remotion-to-hyperframes в Claude Code?
Выполните команду npx skills add heygen-com/hyperframes --skill remotion-to-hyperframes -a claude-code в терминале.
Что делает remotion-to-hyperframes?
Скилл портирует видеопроекты и веб-анимации в HyperFrames и проверяет точность рендера покадрово против исходного видео.
Какие элементы Remotion блокируют нативный перенос?
Прямой перевод блокируют useState, useReducer, useEffect с зависимостями, асинхронный calculateMetadata и сторонние UI-киты вроде MUI или shadcn.
Исходный текст
SKILL.md · Apache-2.0
---
name: remotion-to-hyperframes
description: Bring existing video code or footage into HyperFrames and verify it frame by frame against the original - Remotion first, also Motion Canvas, Lottie, Three.js, p5.js, canvas or plain HTML/CSS animation, or renders from Manim, After Effects or Blender. Use to port, convert, migrate or reuse work made with another tool.
---
**Plugin installs:** Before setup or freshness commands, follow [plugin execution rules](../hyperframes/references/plugin-installation.md) when this skill is inside a HyperFrames plugin.
# Import into HyperFrames
HyperFrames is the container: its tracks, sub-compositions and variables are editable in Studio whatever runs inside a clip. Bring each part in at the highest level it supports and record which level you used.
| Level | For | How | Editable in Studio afterwards |
| --- | --- | --- | --- |
| Native | code that can become HTML + GSAP: most Remotion, HTML/CSS/GSAP animation, simple Motion Canvas | translate it, then verify frame by frame | every element; variables, catalog, presets apply |
| Hosted | code that can draw any requested frame in a browser: canvas, p5.js, Three.js, Lottie, WebGL, other JS animation | keep the code and drive it from HyperFrames time | timing, position, exposed parameters |
| Media | anything that outputs video or frames: Manim, After Effects, Blender, PIL, moviepy | render to a file and use it as a clip | cut, place, layer; not the pixels inside |
Code that depends on wall-clock time, live physics or the network can only come in as media.
## Native: translate, then verify
1. For Remotion, run `python3 <SKILL_DIR>/scripts/lint_source.py <source dir>` first. Blockers (`useState`, `useReducer`, `useEffect` with dependencies, async `calculateMetadata`, React UI kits such as MUI, Chakra, Mantine, antd, shadcn, Radix, NextUI) don't translate: host them or refactor them out, never approximate (`references/escape-hatch.md`). Warnings (`@remotion/lambda` config, `delayRender`, `useMemo`, custom hooks) are dropped and noted.
2. Translate to the `/hyperframes` contract: one sub-composition per scene, times in seconds (`frame / fps`), asset paths root-relative. Each Remotion API's equivalent is in `references/api-map.md`.
3. Keep it editable: the source's props become `data-composition-variables` bound with `data-var-text`, `data-var-src` or `var(--id)`; each `Sequence` becomes a timed clip or a sub-composition; a reused component becomes one sub-composition mounted several times with `data-variable-values`.
4. Compare frame by frame: `npx hyperframes snapshot --at <t,…> --against <original.mp4>` saves the original's frame at each time next to yours. Sample every scene and both sides of every cut; look for one late or recoloured element, not only the overall picture. For a scored check, `scripts/render_diff.sh <original.mp4> <hf.mp4> <out>` gives SSIM per frame and `scripts/frame_strip.sh` shows which frames diverged (thresholds per complexity tier in `references/eval.md`). Render the Remotion side with `Config.setVideoImageFormat("png")` and `Config.setColorSpace("bt709")`, or the diff measures the encoders (about 0.05 SSIM).
5. Write what didn't translate cleanly (dropped volume ramps, approximated presentations, substituted fonts) to `TRANSLATION_NOTES.md`.
| Remotion | Read |
| --- | --- |
| `Composition`, `defaultProps`, `schema`, `calculateMetadata` | `references/parameters.md` |
| `Sequence`, `Series`, `Loop`, `AbsoluteFill`, `Freeze` | `references/sequencing.md` |
| `useCurrentFrame`, `interpolate`, `spring`, `Easing`, `interpolateColors` | `references/timing.md` |
| `Audio`, `Video`, `Img`, `IFrame`, `staticFile`, `delayRender` | `references/media.md` |
| `TransitionSeries`, `@remotion/transitions` | `references/transitions.md` |
| `@remotion/lottie` | `references/lottie.md` |
| `@remotion/google-fonts`, `Font.loadFont`, `@font-face` | `references/fonts.md` |
| What can't be ported | `references/limitations.md` |
Before hand-building a named visual the source used, search `npx hyperframes catalog --query "<the visual, in English>" --json`: it ranks the whole registry with nothing installed.
## Hosted
Keep the code and let HyperFrames own the clock: it draws the frame for the time it is given. The seek protocol and the built-in adapters for Lottie, Three.js, anime.js, WAAPI and CSS animations are in `../hyperframes/references/runtimes.md`. No `requestAnimationFrame` loop or timer as the time source, seeded randomness only, and `data-duration` on the root when nothing else defines the length.
## Media
`<video class="clip" data-has-audio="true" src="assets/x.mp4" ...>`, or `muted` when it is silent. Nothing else is needed.
In the final message, list each imported part with its level, what a person can change in Studio, and how the frame-by-frame comparison came out.
© heygen-com · Apache-2.0 · heygen-com/hyperframes