hyperframes-cli
Installation
SKILL.md
Plugin installs: Before setup or freshness commands, follow plugin execution rules when this skill is inside a HyperFrames plugin. Standalone installs keep the update instructions below.
HyperFrames CLI
Run commands as npx hyperframes ... unless project instructions provide a wrapper. Obey the wrapper when present. The CLI requires Node.js 22 or newer and FFmpeg.
Development loop
- Scaffold:
npx hyperframes init <project>(centered blank). Or capture a site. Pass--example=<name>only to start from a named example. - Find the move: if the request names an asset, sound, image, voice or fast visual edit, resolve it through
/media-usebefore proposing a plan. Otherwise, before authoring motion by hand, search for a primitive that already does it:npx hyperframes catalog --query "reveal a headline one line at a time". Ask for the effect you want rather than the mechanism you have in mind. Install withnpx hyperframes add <name>(see/hyperframes-registry). Author by hand only once nothing fits. - Author: write the composition using
/hyperframes-core. To know what is on a project's timeline (tracks, clips, starts, ends, what plays), runnpx hyperframes timeline --jsoninstead of readingindex.htmland every sub-composition file: nested rows carry absolute main-timelineabsStart/absEndand their owningfile, not just their local, per-sub-composition time. Prefer--jsonover the text form; it costs fewer tokens for the same or better correctness. Seereferences/upgrade-info-misc.mdfor one-liners that answer common questions without reading the whole output. - Get fast feedback while editing: run
npx hyperframes lintafter the first HTML pass and after structural changes. - Run the final gate: run
npx hyperframes check; it reruns lint before opening the browser. Do not prepend a redundant standalone lint invocation. Add--snapshotsfor annotated overview frames and finding crops. - Inspect sub-compositions: when
index.htmlmountsdata-composition-src, capture midpoint snapshots and inspect each mounted scene. Inspect the opening 30 seconds and reported problem times at full resolution; zoom into fine geometry, text, and WebGL edges rather than judging a contact sheet alone. - Open the final Studio preview: run
npx hyperframes preview --background, verify the URL returns HTTP 200, hand the timeline project URL to the user, and ask whether to revise or render. Keep it alive until review ends. - Render only after approval: use
--quality draftwhile iterating,--quality looksfor the first real encode (the CLI default), and--quality deliveryfor final delivery. - Hand the project to the desktop app (on offer): when the render's Framey line ends in
hyperframes open …, offernpx hyperframes open [dir]. It opens the project in the HyperFrames desktop app and adds it to Home; under Claude Code, Codex or Grok its chat picks up this conversation. Without the app it exits 1 and prints the download link.--jsonfor agents. Whenopensays to runcatch-uponce the person is back, or any command ends with a line naming it, runnpx hyperframes catch-up [dir]before your next change: it lists what was asked and changed in the app since the hand-off. An older CLI has nocatch-up. - Verify the output: confirm the file exists and is non-empty. Read the render summary's second line (
beginframevsscreenshot, GPU, stage timings).screenshot+software gpuon Linux is the slow path.ffprobe -v error -show_format -show_streamsand compare duration (and fps if the brief set it) to the rootdata-duration. Visually inspect decoded output frames at the same times as the preview, including close-ups; a successful check or encode does not certify the pixels inside a canvas.