video: Hyperframes example imports a render() API that the hyperframes package does not export

Author: pjthegiantCreated Sep 26, 2026Updated Sep 26, 2026

The video skill's Hyperframes example can't run. It shows:

typescript
import { render } from "hyperframes";
await render({ frames: [{ html: "...", duration: 3 }], output: "intro.mp4", ... });

The hyperframes npm package (v0.8.78, heygen-com/hyperframes) is a CLI only. Its package.json has a bin entry and no main or exports, so there is nothing to import, and no API takes a frames: [...] array. Agents following the skill write code that fails at the import, and the same code gets copied into generated answers (it showed up in our eval runs for the changelog-video and personalized-video prompts).

What actually works

CLI (from the package README):

bash
npx hyperframes init my-video
cd my-video
npx hyperframes preview
npx hyperframes render -o output.mp4
npx hyperframes render -c ./my-composition.html -o output.mp4

Programmatic, via the separate @hyperframes/producer package (also v0.8.78):

typescript
import { createRenderJob, executeRenderJob } from "@hyperframes/producer";

const job = createRenderJob({
  inputPath: "./my-composition.html",
  outputPath: "./output.mp4",
  width: 1080,
  height: 1920,
  fps: 30,
});
await executeRenderJob(job, (p) => console.log(p.percent));

The model is one HTML composition file per render, not an array of frames with durations. Requirements are Node.js 22+ and FFmpeg.

Affected (at 5b2c000):

  • skills/video/SKILL.md lines 59 to 77 (install line and the render({ frames }) example)
  • tools/integrations/hyperframes.md lines 32 to 34 and 112 (same render API)
  • skills/video/SKILL.md line 335 links to ../../tools/integrations/hyperframes.md, which does not resolve once the skill is installed on its own in ~/.claude/skills/video

Suggested fix: replace the example with the CLI flow plus the @hyperframes/producer snippet above, and add a line telling the agent to run npx hyperframes docs for the current composition format, since the CLI is still 0.x and moving quickly. Happy to open a PR if useful.

Source: coreyhaines31/marketingskills