PluginBench
Skill
Review
Audit score 70

hyperframes-registry

heygen-com/hyperframes

Install and wire reusable blocks and components into HyperFrames compositions via registry.

What is hyperframes-registry?

The HyperFrames Registry provides installable blocks (standalone sub-compositions) and components (effect snippets) that you can add to your compositions using the `hyperframes add` command. Use this skill when installing registry items, wiring them into your host composition, or authoring new blocks/components to contribute upstream.

  • Install blocks and components via `hyperframes add <name>`
  • Wire blocks into compositions using `data-composition-src` and related attributes
  • Paste component snippets (HTML, CSS, JS) directly into host compositions
  • Configure install locations and registry paths in `hyperframes.json`
  • Discover available registry items via the manifest and metadata
  • Author and contribute new blocks or components upstream via PR workflow

How to install hyperframes-registry

npx skills add https://github.com/heygen-com/hyperframes --skill hyperframes-registry
Prerequisites
  • HyperFrames project initialized with `hyperframes init`
  • Access to the HyperFrames registry (GitHub)
  • Basic understanding of HyperFrames composition structure (index.html, hyperframes.json)
Claude Code
Cursor
Windsurf
Cline

How to use hyperframes-registry

  1. 1.Run `hyperframes add <block-or-component-name>` to install from the registry
  2. 2.For blocks: add the printed snippet to your host `index.html` and set `data-composition-id`, `data-start`, `data-duration`, `data-track-index`, `data-width`, and `data-height` attributes
  3. 3.For components: copy the HTML elements into your composition markup, paste the CSS into your style block, and merge any JS into your script before timeline code
  4. 4.Verify the install paths in `hyperframes.json` match your project structure (default: `compositions/` for blocks, `compositions/components/` for components)
  5. 5.Test the wired block or component in your composition preview

Use cases

Good for
  • Adding a pre-built data visualization block to a composition timeline
  • Installing a grain overlay or visual effect component and integrating it into your markup
  • Discovering and installing reusable caption styles or transitions from the registry
  • Configuring custom install paths for blocks and components in a project
  • Contributing a new VFX block or effect component back to the upstream registry
Who it's for
  • HyperFrames composition developers
  • Motion graphics and animation creators
  • Teams building reusable animation libraries
  • Contributors authoring new blocks or components for the registry

hyperframes-registry FAQ

What's the difference between a block and a component?

Blocks are standalone sub-compositions with their own dimensions, duration, and timeline; they're included via `data-composition-src`. Components are effect snippets without their own dimensions; you paste their HTML, CSS, and JS directly into your host composition.

How do I wire a block into my composition?

Use `data-composition-src` to reference the block file, set `data-composition-id` to match the block's internal ID, and add `data-start`, `data-duration`, `data-track-index`, `data-width`, and `data-height` attributes to control timing and positioning.

Can I customize the install location for blocks and components?

Yes, configure the `paths` object in `hyperframes.json` to specify custom directories for blocks, components, and assets.

How do I discover what's available in the registry?

Run `curl -s https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/registry.json` to view the manifest, or use `hyperframes add --json` to get machine-readable output.

How do I contribute a new block or component to the registry?

Follow the idea → scaffold → build → validate → preview → ship workflow in the contributing.md guide, use the starter templates in templates.md, and submit a PR to the upstream repository.

Full instructions (SKILL.md)

Source of truth, from heygen-com/hyperframes.


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, registry discovery, and authoring a new block or component to contribute upstream (idea → scaffold → validate → PR).

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.

Quick reference

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:

{
  "registry": "https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry",
  "paths": {
    "blocks": "compositions",
    "components": "compositions/components",
    "assets": "assets"
  }
}

See install-locations.md for full details.

Wiring blocks

Blocks are standalone compositions — include them via data-composition-src in your host index.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 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 for full details.

Discovery

Browse available items:

# 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 for details on filtering by type and tags.

Contributing a new block or component

To author a NEW registry item (caption style, VFX block, transition, lower third, or a reusable component) and ship it as an upstream PR — not install an existing one — follow the full idea → scaffold → build → validate → preview → ship workflow in contributing.md. Copy-paste starter templates (caption / VFX / component / registry-item.json) are in templates.md.