hyperframes-cli
Skill584 starsChanged 59 days agoMITView on GitHub
HyperFrames CLI and Minis rendering. Use for: (1) CLI commands — init, lint, preview, render, transcribe, tts, doctor; (2) Minis iOS rendering via hf-render.py (set_viewport + minis-browser-use + ffmpeg, no Chrome required); (3) Website-to-video workflow — capture a URL and produce a professional MP4 in 7 steps; (4) Preview/snapshot compositions at correct resolution. Trigger when user says render, init project, lint, transcribe audio, generate TTS, capture a website for video, or run any hyperframes CLI command.
We split this skill into the rules it gives an agent
7 rules. 0 are common, 2 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 50 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 27
Before any task, verify the environment is ready:
- Distinctive: line 56
After installing missing skills, restart the conversation for them to take effect.
- Very specific: line 118
Always set_viewport before navigating — otherwise the browser uses the phone's default viewport and the composition renders at the wrong …
- Very specific: line 172
Wait for window.__hf ({ duration, seek }) — works with GSAP and pure CSS animations
- Very specific: line 195
DURATION must equal the GSAP timeline's actual duration: If ambient animations use repeat, calculate carefully:
- Very specific: line 213
No scale wrappers, no transform: scale() on the stage — these break pixel accuracy
- Very specific: line 289
Run doctor first if rendering fails.
“Common” is measured: kept by at least 6 in 10 of the 50 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
HyperFrames CLI
Environment Check (Run First)
Before any task, verify the environment is ready:
python3 /var/minis/skills/hyperframes-cli/scripts/check-env.pyThis checks:
minis-browser-use— built-in Minis tool for browser control (required for rendering and preview)ffmpeg— video encodinghyperframesskill — composition authoringhyperframes-cliskill — this skill itself (hf-render.py)
If anything is missing, run with --fix to auto-install:
python3 /var/minis/skills/hyperframes-cli/scripts/check-env.py --fixOr install a specific skill manually:
# From heygen-com/hyperframes (HyperFrames skills)
python3 /var/minis/skills/hyperframes-cli/scripts/install-skill.py \
hyperframes --repo heygen-com/hyperframes --subdir skills
# From OpenMinis/MinisSkills (community skills)
python3 /var/minis/skills/hyperframes-cli/scripts/install-skill.py notion-hubIf minis-browser-use is missing: it is a Minis built-in tool. Update Minis App to the latest version — it ships with the app and cannot be installed separately.
After installing missing skills, restart the conversation for them to take effect.
Everything runs through npx hyperframes. Requires Node.js >= 22 and FFmpeg.
Workflow
- Scaffold —
npx hyperframes init my-video - Write — author HTML composition (see the
hyperframesskill) - Lint —
npx hyperframes lint - Preview —
npx hyperframes preview - Render —
npx hyperframes render
Lint before preview — catches missing data-composition-id, overlapping tracks, unregistered timelines.
Scaffolding
npx hyperframes init my-video # interactive wizard
npx hyperframes init my-video --example warm-grain # pick an example
npx hyperframes init my-video --video clip.mp4 # with video file
npx hyperframes init my-video --audio track.mp3 # with audio file
npx hyperframes init my-video --non-interactive # skip prompts (CI/agents)Templates: blank, warm-grain, play-mode, swiss-grid, vignelli, decision-tree, kinetic-type, product-promo, nyt-graph.
init creates the right file structure, copies media, transcribes audio with Whisper, and installs AI coding skills. Use it instead of creating files by hand.
Linting
npx hyperframes lint # current directory
npx hyperframes lint ./my-project # specific project
npx hyperframes lint --verbose # info-level findings
npx hyperframes lint --json # machine-readableLints index.html and all files in compositions/. Reports errors (must fix), warnings (should fix), and info (with --verbose).
Previewing
npx hyperframes preview # serve current directory
npx hyperframes preview --port 4567 # custom port (default 3002)Hot-reloads on file changes. Opens the studio in your browser automatically.
🍎 Minis (iOS) Alternative — Preview & Snapshot
Set viewport to composition size first, then navigate. This gives accurate preview at the correct resolution.
# Preview at correct resolution
minis-browser-use set_viewport --width 960 --height 540
minis-browser-use navigate --url minis://workspace/<project>/index.html
# Snapshot at specific timestamps
minis-browser-use execute_js --script 'window.__hf.seek(2.5)'
minis-browser-use screenshot # saves to /var/minis/browser/Always set_viewport before navigating — otherwise the browser uses the phone's default viewport and the composition renders at the wrong scale.
Rendering
npx hyperframes render # standard MP4
npx hyperframes render --output final.mp4 # named output
npx hyperframes render --quality draft # fast iteration
npx hyperframes render --fps 60 --quality high # final delivery
npx hyperframes render --format webm # transparent WebM
npx hyperframes render --docker # byte-identical| Flag | Options | Default | Notes |
--output | path | renders/name_timestamp.mp4 | Output path |
--fps | 24, 30, 60 | 30 | 60fps doubles render time |
--quality | draft, standard, high | standard | draft for iterating |
--format | mp4, webm | mp4 | WebM supports transparency |
--workers | 1-8 or auto | auto | Each spawns Chrome |
--docker | flag | off | Reproducible output |
--gpu | flag | off | GPU-accelerated encoding |
--strict | flag | off | Fail on lint errors |
--strict-all | flag | off | Fail on errors AND warnings |
Quality guidance: draft while iterating, standard for review, high for final delivery.
🍎 Minis (iOS) — hf-render.py
npx hyperframes render requires Puppeteer + Chrome (unavailable on iOS). Use the Minis-native renderer instead — it uses minis-browser-use set_viewport to lock the browser to the exact composition size, captures frames at Retina resolution, and encodes with FFmpeg.
One-line render:
python3 /var/minis/skills/hyperframes-cli/hf-render.py <project_dir>Full options:
python3 /var/minis/skills/hyperframes-cli/hf-render.py <project_dir> \
--fps 24 \
--quality high \
--output /var/minis/workspace/<project>/renders/output.mp4| Flag | Options | Default | Notes |
--fps | 24, 30 | 24 | 30fps increases render time ~25% |
--quality | draft, standard, high | standard | draft=2Mbps, standard=4Mbps, high=8Mbps |
--output | path | <project>/renders/output.mp4 | Output path |
--width / --height | px | auto from data-width/height | Override composition size |
How it works:
set_viewport W H— locks browser CSS viewport to composition size- Navigate to
minis://workspace/<rel-path>/index.html(supports subdirectories) - Wait for
window.__hf({ duration, seek }) — works with GSAP and pure CSS animations - For each frame:
execute_js __hf.seek(t)→screenshot --with-base64→ save JPEG - Frames captured at Retina resolution (e.g. 2880×1620 for 960×540 @ DPR=3)
ffmpeglanczos-downscale → MP4 (h264_videotoolbox, fallback libx264)set_viewport --resetalways runs — even on error or Ctrl-C
Performance: ~10fps capture (~12s for a 5s@24fps video on iPhone).
Requirements for index.html:
The composition MUST expose window.__hf at the end of its <script> block:
// Required: __hf render protocol
const DURATION = 5.0; // seconds — must match your actual animation length
window.__hf = {
get duration() { return DURATION; },
seek(t) { tl.pause(); tl.seek(Math.max(0, Math.min(t, DURATION)), false); }
};
window.__playerReady = true;
window.__renderReady = true;DURATION must equal the GSAP timeline's actual duration. If ambient animations use repeat, calculate carefully:
// WRONG — glow-gold ends at 0.4 + 2.0*(2+1) = 6.4s, timeline extends past 5s → black frames
tl.to("#glow", { duration: 2.0, repeat: 2, yoyo: true }, 0.4);
// CORRECT — calculate max repeats that fit within DURATION
const DURATION = 5.0;
tl.to("#glow", {
duration: 2.0,
repeat: Math.floor((DURATION - 0.4) / 2.0) - 1, // = 1 repeat, ends at 4.4s
yoyo: true
}, 0.4);HTML template rules (required for correct rendering):
- Fixed
width/heightonhtml,body, and#stage— matchdata-width/data-height - No
<meta name="viewport">— the renderer sets viewport externally viaset_viewport - No scale wrappers, no
transform: scale()on the stage — these break pixel accuracy - Project must be under
/var/minis/workspace/— the renderer converts the path to aminis://URL - Multi-scene layout: use
position:absolute; inset:0per scene — see note below
⚠️ Minis layout difference from standard HyperFrames: The standard skill says
.scene-contentshould usewidth:100%; height:100%. In Minis/iOS WebKit,set_viewportsets the CSS viewport width but iOS Safari's height is influenced by system UI, soheight:100%on a flex container can exceed the stage height. Content then centers relative to that oversized container and lands outside the screenshot crop.Fix: for compositions with multiple sequential scenes, give each scene its own
position:absolute; inset:0container (see thehyperframesskill → "Multi-scene compositions" section). For single-scene compositions,width:100%; height:100%is fine.
<!-- Correct HTML structure -->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<!-- NO viewport meta -->
<style>
html, body { margin: 0; padding: 0; width: 960px; height: 540px; overflow: hidden; }
#stage { width: 960px; height: 540px; position: relative; overflow: hidden; }
</style>
</head>
<body>
<div id="stage" data-composition-id="my-comp" data-width="960" data-height="540">
<!-- content -->
</div>
<script src="https://cdn.jsdelivr.net/npm/gsap@3.14.2/dist/gsap.min.js"></script>
<script>
window.__timelines = window.__timelines || {};
const DURATION = 5.0;
const tl = gsap.timeline({ paused: true });
// ... tweens ...
window.__timelines["my-comp"] = tl;
window.__hf = {
get duration() { return DURATION; },
seek(t) { tl.pause(); tl.seek(Math.max(0, Math.min(t, DURATION)), false); }
};
window.__playerReady = true;
window.__renderReady = true;
</script>
</body>
</html>Transcription
npx hyperframes transcribe audio.mp3
npx hyperframes transcribe video.mp4 --model medium.en --language en
npx hyperframes transcribe subtitles.srt # import existing
npx hyperframes transcribe subtitles.vtt
npx hyperframes transcribe openai-response.jsonText-to-Speech
npx hyperframes tts "Text here" --voice af_nova --output narration.wav
npx hyperframes tts script.txt --voice bf_emma
npx hyperframes tts --list # show all voicesTroubleshooting
npx hyperframes doctor # check environment (Chrome, FFmpeg, Node, memory)
npx hyperframes browser # manage bundled Chrome
npx hyperframes info # version and environment details
npx hyperframes upgrade # check for updatesRun doctor first if rendering fails. Common issues: missing FFmpeg, missing Chrome, low memory.
Other
npx hyperframes compositions # list compositions in project
npx hyperframes docs # open documentation
npx hyperframes benchmark . # benchmark render performanceWebsite → Video Workflow
Turn any URL into a video in 7 steps. Read each step's reference file before executing it.
| Step | What | Reference |
| 1 | Capture website (screenshots, tokens, assets) | references/website-to-video/step-1-capture.md |
| 2 | Write DESIGN.md (brand colors, fonts, style) | references/website-to-video/step-2-design.md |
| 3 | Write SCRIPT.md (narration, scene durations) | references/website-to-video/step-3-script.md |
| 4 | Write STORYBOARD.md (per-beat creative direction) | references/website-to-video/step-4-storyboard.md |
| 5 | Generate VO + map word timestamps to beats | references/website-to-video/step-5-vo.md |
| 6 | Build compositions (use the hyperframes skill) | references/website-to-video/step-6-build.md |
| 7 | Lint, snapshot, render, handoff | references/website-to-video/step-7-validate.md |
Visual techniques (SVG drawing, Canvas 2D, 3D, typing, MotionPath, Lottie): references/website-to-video/techniques.md
Quick formats
| Type | Duration | Beats | Narration |
| Social ad (IG/TikTok) | 10-15s | 3-4 | Optional |
| Product demo | 30-60s | 5-8 | Full |
| Feature announcement | 15-30s | 3-5 | Full |
| Brand reel | 20-45s | 4-6 | Optional |
Landscape: 1920×1080 · Portrait: 1080×1920 · Square: 1080×1080
Other versions52 projects use a version of this.
Word for word · 0
None found.
Edited · 27
- openai/plugins★ 7.4k54% same
- nateherkai/hyperframes-student-kit★ 2.2k90% same
- nateherkai/herk-edit-kit★ 1.5k90% same
- boraoztunc/skills★ 33736% same
- notivn/AIEV★ 13290% same
- itgoyo/hermes-skills★ 5368% same
- anton-abyzov/vskill★ 4836% same
- nateherkai/hyperframes-video-pipeline★ 2190% same
- coltonjosephdean-rgb/Hyperframes-colton.ai.dean★ 1990% same
- delorenj/skills★ 1836% same
17 more not listed
Wrote their own version · 25
- heygen-com/hyperframes★ 77ksame name
- calesthio/OpenMontage★ 74ksame name
- langchain-ai/design-agent★ 535same name
- EvovexAI/EvoFlow★ 436same name
- edenfunf/reelmimic★ 311same name
- duyet/clickhouse-monitoring★ 303same name
- PinkR1ver/vibe-roast★ 49same name
- STARDUSTLC666/dsh-hyperframes★ 24same name
- tuan3w/herdr-mobile★ 22same name
- Jakeschincariol/video-production-skills★ 15same name
15 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Used alongsideProjects with it also use oversized-cursor, cut-mistakes and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
ElyzeSolutionsSkilloversized-cursor
House-style oversized macOS cursor technique for HyperFrames launch videos. Load whenever a scene involves cursors or a pointer-led action, when kicking off a UI scene, when igniting a morph/transition/typing run with a click, or when a scene reads as static, dead, or stale and needs a cheap high-yield source of motion to carry the viewer's eye and segment them out of the stale state. Covers cursor size/look (incl. brand-motif cursors), the off-screen entry law, tip-targeting and the click tap, click-ignites-the-next-beat, and exit / cross-scene handoff.
Also in 5 projects that use this
nateherkaiSkillcut-mistakes
Agent 2 of the video editing pipeline. Finds and removes spoken mistakes — stutters, repeated words, false starts, and retakes (re-recorded lines) — from a talking-head recording. Use after cut-silences, when asked to cut mistakes, remove stutters / repeats / filler restarts, clean up flubs, or keep the best take. Works review-gated: it proposes every cut with context and a reason for approval, then renders only the approved cuts via ffmpeg. Requires a word-level transcript.
Also in 5 projects that use this
nateherkaiSkillcut-silences
Agent 1 of the video editing pipeline. Removes silences and dead air from a talking-head recording. Use when asked to cut silences, trim pauses, remove dead air / gaps, or tighten the pacing of a raw video, given a word-level transcript. Produces an edit list (EDL), a re-timed transcript for downstream agents, and optionally the cut video via ffmpeg. Does NOT cut mistakes, repeats, or false starts — that is the cut-mistakes agent.
Also in 5 projects that use this
LangChainSkillhyperframes-creative
Non-animation creative direction for HyperFrames videos. Use for design spec (frame.md / design.md) handling, palettes, typography, narration, beat planning, audio-reactive visuals, composition patterns, and brand / style decisions. For atomic motion patterns and scene blueprints, use `hyperframes-animation`.
Also in 21 projects that use this
anton-abyzovSkillhyperframes-media
Asset preprocessing for HyperFrames compositions — text-to-speech narration (Kokoro), audio/video transcription (Whisper), and background removal for transparent overlays (u2net). Use when generating voiceover from text, transcribing speech for captions, removing the background from a video or image to use as a transparent overlay, choosing a TTS voice or whisper model, or chaining these (TTS → transcribe → captions). Each command downloads its own model on first run.
Also in 13 projects that use this
LangChainSkillhyperframes-animation
All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.
Also in 21 projects that use this
- +2 more from nateherkai
- +3 more from langchain-ai
In this repository56 other files it gives its agents.
- android-devSkill
- android-ui-automationSkill
- apple-remindersSkill
- appstoreprice-hubSkill
- asc-cliSkill
- bilibili-hubSkill
- Clash 控制器Skill
- cloudflare-dnsSkill
- codex-imageSkill
- codex-on-ishSkill
- contact-vcard-extractorSkill
- coredevice-toolkitSkill
- deepseek-usageSkill
- doubao-ttsSkill
- douyin-downloaderSkill
- evidence-chain-builderSkill
- exa-searchSkill
- free-ttsSkill
- fucai3d-latestSkill
- generative-ui-minisSkill
- github-sync-helperSkill
- health-sleep-analysisSkill
- health-training-checkinSkill
- hyperframesSkill
- ios-devSkill
- korea-stockSkill
- maimai-hubSkill
- memos-apiSkill
- nano-bananaSkill
- notion-hubSkill
- openstreetmap-markerSkill
- pdf-converterSkill
- production-agent-publicSkill
- qbt-hubSkill
- quark-hubSkill
- reverse-dcfSkill
- self-improving-agentSkill
- shortcuts-builderSkill
- shortcut-share-fileSkill
- spotify-hubSkill
- stock-fund-flowSkill
- stock-priceSkill
- tavily-searchSkill
- tg-hubSkill
- todoocardSkill
- twitter-downloaderSkill
- twitter-x-hubSkill
- us-stockSkill
- web-content-extractorSkill
- web-searchSkill
- weibo-hubSkill
- whenpeakSkill
- xianyu-hubSkill
- xiaohongshu-hubSkill
- youtube-downloaderSkill
- ytmusic-hubSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

