# Hyperframes Registry > Instala y cablea bloques y componentes del registro en composiciones de HyperFrames. Cubre el comando add, ubicaciones de instalación, cableado, descubrimiento y autoría de bloques nuevos. Fuente: https://skillsagentes.com/skills/calesthio/openmontage/hyperframes-registry Markdown: https://skillsagentes.com/skills/calesthio/openmontage/hyperframes-registry.md Repositorio: https://github.com/calesthio/OpenMontage Autor: calesthio Licencia: AGPL-3.0 Actualizado: el mes pasado Coste de contexto: 111 tok instalada, 1.1k tok al activarse, 12.5k tok con todos los archivos del bundle Bundle: 10 archivos, 49 KB Permisos que pide: ninguno declarado ## Instalación Un skill son archivos markdown: los mismos archivos valen para cualquier agente y lo único que cambia es el directorio de destino, es decir la bandera `--agent`. Añade `-g` para instalarlo en todos los proyectos de la máquina. ```bash # Claude Code npx -y skills add calesthio/OpenMontage --skill hyperframes-registry --agent claude-code # Cursor npx -y skills add calesthio/OpenMontage --skill hyperframes-registry --agent cursor # Codex npx -y skills add calesthio/OpenMontage --skill hyperframes-registry --agent codex # Gemini CLI npx -y skills add calesthio/OpenMontage --skill hyperframes-registry --agent gemini # Windsurf npx -y skills add calesthio/OpenMontage --skill hyperframes-registry --agent windsurf # Cline npx -y skills add calesthio/OpenMontage --skill hyperframes-registry --agent cline ``` ## Qué hace - Instala bloques y componentes del registro con `hyperframes add` y los cablea en la composición - Explica las ubicaciones de instalación y cómo funciona `hyperframes.json` - Cablea los bloques como sub-composiciones y fusiona los snippets de los componentes en `index.html` - Cubre el descubrimiento leyendo el manifiesto del registro - Guía la autoría de un bloque o componente nuevo para contribuirlo: idea, scaffold, validación y PR ## Cuándo usarla - Se ejecuta `hyperframes add` o se instala un bloque o componente - Hay que cablear un elemento instalado en `index.html` - Se trabaja con `hyperframes.json` - Se quiere crear un bloque o componente nuevo para contribuirlo ## Qué la activa - "Instala este bloque del registro" - "¿Qué bloques hay disponibles?" - "Cablea este componente en mi composición" - "Quiero contribuir un bloque nuevo" ## Antes de instalar - Necesita el CLI de HyperFrames y un `hyperframes.json` en el proyecto. - Necesita en el PATH: curl - makes network requests ## Archivos - SKILL.md — 4 KB - examples/add-block.md — 1 KB - examples/add-component.md — 1 KB - references/contributing.md — 6 KB - references/demo-html-pattern.md — 2 KB - references/discovery.md — 17 KB - references/install-locations.md — 1 KB - references/templates.md — 11 KB - references/wiring-blocks.md — 3 KB - references/wiring-components.md — 2 KB ## SKILL.md Reproducido tal cual desde calesthio/OpenMontage bajo AGPL-3.0. Esta sección es el documento original y está en inglés. # HyperFrames Registry The registry provides reusable blocks and components installable via `hyperframes add `. - **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. ## 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 --example ` instead. ## Install locations Blocks install to `compositions/.html` by default. Components install to `compositions/components/.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
``` 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 `
` 3. Copy the `