hyperframes-registry · openai — скилл для Codex: что делает и как установить
Скилл помогает устанавливать блоки и компоненты из реестра HyperFrames и встраивать их в HTML-композиции.
npx skills add openai/plugins --skill hyperframes-registry -a codexЧто делает hyperframes-registry
Разделяет блоки и компоненты реестра. Блоки скачиваются как отдельные композиции в compositions/<name>.html со своими размерами и хронометражем. Компоненты сохраняются в папку compositions/components/<name>.html и служат сниппетами визуальных эффектов.
Скилл упрощает работу с командой hyperframes add. Для блоков он прописывает путь data-composition-src, тайминг data-start и слой в index.html. Для компонентов он помогает вставить разметку и вызовы GSAP прямо в код страницы.
Команда hyperframes add не ставит готовые примеры. Для них придётся вызывать hyperframes init <dir> --example <name>. Пути сохранения файлов можно настроить в hyperframes.json.
Какие задачи решает
- встроить готовый блок в таймлайн файла index.html
- перенести разметку и стили компонента в композицию
- проверить список элементов через манифест реестра
- настроить каталоги сохранения в файле hyperframes.json
Примеры запросов агенту
- Поставь блок data-chart через hyperframes add и добавь его на вторую секунду в index.html
- Установи компонент grain-overlay и перенеси его разметку в наш проект
- Покажи список доступных блоков из манифеста реестра HyperFrames
Как установить hyperframes-registry
1Через Skills CLI (Vercel)
npx skills add openai/plugins --skill hyperframes-registry -a codex2Вручную: положить файлы
.agents/skills/hyperframes-registry/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add openai/plugins --skill hyperframes-registry -a claude-code2Вручную: положить файлы
~/.claude/skills/hyperframes-registry/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/hyperframes-registry/
Вручную: положить файлы
.cursor/skills/hyperframes-registry/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install openai/plugins hyperframes-registry2Вручную: положить файлы
.github/skills/hyperframes-registry/SKILL.mdКомандой платформы
gemini skills install https://github.com/openai/plugins --path plugins/hyperframes/skills/hyperframes-registryВручную: положить файлы
.devin/skills/hyperframes-registry/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Скиллы Codex: как установить, где лежат и как вызвать
Вопросы о hyperframes-registry
Как установить hyperframes-registry в Codex?
Выполните в терминале команду npx skills add openai/plugins --skill hyperframes-registry.
Чем отличаются блоки от компонентов в HyperFrames?
Блоки имеют собственную длительность и размеры холста, поэтому подключаются через тег с атрибутом data-composition-src. Компоненты не имеют своих размеров и вставляются сниппетами прямо в разметку и скрипты композиции.
Можно ли установить целый пример проекта через hyperframes add?
Нет, команда hyperframes add рассчитана только на блоки и компоненты. Чтобы развернуть готовый пример проекта, используйте команду hyperframes init <dir> --example <name>.
Исходный текст
SKILL.md · Apache-2.0
---
name: hyperframes-registry
description: Install and wire registry blocks and components into HyperFrames compositions. Use when running hyperframes add, installing a block or component, wiring an installed item into index.html, or working with hyperframes.json. Covers the add command, install locations, block sub-composition wiring, component snippet merging, and registry discovery.
---
# HyperFrames Registry
The registry provides reusable blocks and components installable via `hyperframes add <name>`.
- **Blocks** — standalone sub-compositions (own dimensions, duration, timeline). Included via `data-composition-src` in a host composition.
- **Components** — effect snippets (no own dimensions). Pasted directly into a host composition's HTML.
## When to use this skill
- User mentions `hyperframes add`, "block", "component", or `hyperframes.json`
- Output from `hyperframes add` appears in the session (file paths, clipboard snippet)
- You need to wire an installed item into an existing composition
- You want to discover what's available in the registry
## Quick reference
```bash
hyperframes add data-chart # install a block
hyperframes add grain-overlay # install a component
hyperframes add shimmer-sweep --dir . # target a specific project
hyperframes add data-chart --json # machine-readable output
hyperframes add data-chart --no-clipboard # skip clipboard (CI/headless)
```
After install, the CLI prints which files were written and a snippet to paste into your host composition. The snippet is a starting point — you'll need to add `data-composition-id` (must match the block's internal composition ID), `data-start`, and `data-track-index` attributes when wiring blocks.
Note: `hyperframes add` only works for blocks and components. For examples, use `hyperframes init <dir> --example <name>` instead.
## Install locations
Blocks install to `compositions/<name>.html` by default.
Components install to `compositions/components/<name>.html` by default.
These paths are configurable in `hyperframes.json`:
```json
{
"registry": "https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry",
"paths": {
"blocks": "compositions",
"components": "compositions/components",
"assets": "assets"
}
}
```
See [install-locations.md](./references/install-locations.md) for full details.
## Wiring blocks
Blocks are standalone compositions — include them via `data-composition-src` in your host `index.html`:
```html
<div
data-composition-id="data-chart"
data-composition-src="compositions/data-chart.html"
data-start="2"
data-duration="15"
data-track-index="1"
data-width="1920"
data-height="1080"
></div>
```
Key attributes:
- `data-composition-src` — path to the block HTML file
- `data-composition-id` — must match the block's internal ID
- `data-start` — when the block appears in the host timeline (seconds)
- `data-duration` — how long the block plays
- `data-width` / `data-height` — block canvas dimensions
- `data-track-index` — layer ordering (higher = in front)
See [wiring-blocks.md](./references/wiring-blocks.md) for full details.
## Wiring components
Components are snippets — paste their HTML into your composition's markup, their CSS into your style block, and their JS into your script (if any):
1. Read the installed file (e.g., `compositions/components/grain-overlay.html`)
2. Copy the HTML elements into your composition's `<div data-composition-id="...">`
3. Copy the `<style>` block into your composition's styles
4. Copy any `<script>` content into your composition's script (before your timeline code)
5. If the component exposes GSAP timeline integration (see the comment block in the snippet), add those calls to your timeline
See [wiring-components.md](./references/wiring-components.md) for full details.
## Discovery
Browse available items:
```bash
# Read the registry manifest
curl -s https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/registry.json
```
Each item's `registry-item.json` contains: name, type, title, description, tags, dimensions (blocks only), duration (blocks only), and file list.
See [discovery.md](./references/discovery.md) for details on filtering by type and tags.
© HeyGen · Apache-2.0 · openai/plugins
Похожие скиллы
Все скиллы по теме «Фронтенд и UI» →Сначала — hyperframes-registry от других авторов.