Preface¶
When creating product promotional videos, voiceovers with subtitles, or stacked animations for social platforms, the common path is to build a timeline in After Effects (AE), Premiere, or an online editor, and then export the final cut. However, when a webpage already contains a set of HTML/CSS/JS and GSAP animations, one often has to “record the screen again” or manually align frames, which is difficult to reproduce and hard to hand over to an Agent for iteration.
Below, we introduce hyperframes-超帧视频 (HyperFrames Chaozhen Video) on SkillHub (Coordinates: @u_cfbf2639/hyperframes-chaozhen-shipin). It integrates the workflow of the upstream HyperFrames (maintained by heygen-com, Apache-2.0) into an Agent Skill: using HTML as the single source of truth, the engine captures the page frame-by-frame and encodes it to MP4/WebM via FFmpeg. It is ideal for simply saying in a conversation, “Turn this script into a video with TTS and subtitles,” or “Make a promotional video for this website.”
What is this¶
hyperframes-超帧视频 is a community-sourced (community) design-media Skill. The current version is 1.0.0. The SkillHub page lists the author as Pang Cairen; the Skill body remains consistent with the upstream HyperFrames documentation, declaring author: heygen-com. It has requires_api_key=false and does not depend on any additional API keys.
It solves the core problem of unifying the “planning → writing composition HTML → lint/preview → rendering” protocol on the Agent side, while clarifying its boundaries with skills like manim-video (mathematical explanations) and meme-generation (meme images).
Runtime prerequisites (Skill metadata): The local machine must have node, ffmpeg, and npx; linux / macos / windows are supported. For one-time environment preparation, it is recommended to use Node.js >= 22, globally install hyperframes@>=0.4.2, and pre-install chrome-headless-shell via Puppeteer (see the installation section below for details).
Core Features¶
The following capabilities are derived from the descriptions in the SKILL.md / hyperframes-超帧视频-SKILL.md within the Skill package and correspond to the official HyperFrames CLI:
- HTML Video Composition: The composition page uses
data-*attributes to control timing, GSAP timelines to drive animations, and CSS to control appearance; outputs MP4 or WebM. - Motion & Layout: Animated title cards, bottom info bars, kinetic typography, and overlaying charts/logos on top of media.
- Voiceover & Subtitles: Generates narration via TTS, obtains word-level subtitles via
transcribe, and aligns them with the waveform; supports selection rules for various subtitle styles. - Audio Reactive: Pre-extracts low/mid/high frequency bands, samples frame-by-frame on the timeline to drive scale, glow, opacity, etc. (preventing infinite
repeatfrom breaking the capture). - Transitions: Hard cuts are prohibited between scenes; CSS transitions or shader transitions installed via
npx hyperframes add(e.g.,flash-through-white,liquid-wipe) can be used. - Social Overlays & Website-to-Video: Instagram/TikTok/YouTube style overlays; when given a URL, it processes via a 7-step workflow (Capture → DESIGN.md → SCRIPT.md → Storyboard → Composition → Render → Deliver).
- Quality & Accessibility Toolchain:
lint(structure),validate(WCAG contrast),inspect(layout overflow/occlusion),doctor(environment diagnostics).
Explicitly not applicable scenarios: Pure mathematical equation animations (use manim-video), static meme generation, real-time conferencing, or live streaming.
Installation and Activation¶
Installing the Skill on SkillHub¶
First, verify if the skillhub CLI is already available (for full instructions, see skillhub.cn/install/skillhub.md):
command -v skillhub && skillhub --version
If not installed, you can run the official installation script (internet connection required):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
Install the Skill into the skills directory recognized by the current Agent (you must use --dir; otherwise, it defaults to ./skills/ and may not be loaded):
skillhub install '@u_cfbf2639/hyperframes-chaozhen-shipin' --dir ~/.cursor/skills/
Common paths for various clients (excerpted from SkillHub installation docs):
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
You can also ask the Agent in the conversation to install it via official prompts:
Please install
@u_cfbf2639/hyperframes-chaozhen-shipinbased on https://skillhub.cn/install/skillhub.md.
SkillHub display page (as of data capture): Rating 100000, Downloads 5883, Category design-media, Tag requires_api_key=false.
One-time HyperFrames Runtime Preparation¶
The Skill suggests running the upstream setup.sh before the first render (the path depends on the hyperframes package in the local Hermes/OpenClaw skills directory; if only the SkillHub Chinese version is installed, you can use the CLI via npx first and manually satisfy dependencies):
bash "$(dirname "$(find ~/.hermes/skills -path '*/hyperframes/SKILL.md' 2>/dev/null | head -1)")/scripts/setup.sh"
The script will: check for Node.js >= 22 and FFmpeg; execute npm install -g hyperframes@>=0.4.2; pre-cache chrome-headless-shell; and run npx hyperframes doctor.
Typical Usage¶
1. Scaffolding from Zero to Final Cut¶
First, initialize the project with the CLI and enter the directory:
npx hyperframes init my-video --non-interactive
cd my-video
Optional templates include blank, warm-grain, kinetic-type, product-promo, etc.; you can use --example <name>, or bring in assets with --video clip.mp4 / --audio track.mp3.
Before writing HTML, the Skill requires defining the visual identity first (project root DESIGN.md or confirming the mood/light-dark/brand colors with the user) to avoid “undesigned” traces like default #333 or Roboto. The layout order is: static hero frame first, then add GSAP entrances; the timeline must be paused: true and registered to window.__timelines["<composition-id>"].
Validate and render:
npx hyperframes lint
npx hyperframes preview
npx hyperframes render --quality draft --output draft.mp4
npx hyperframes render --quality high --output final.mp4
Common rendering parameters: --quality draft|standard|high, --fps 24|30|60, --format mp4|webm, --docker, --strict.
2. TTS + Subtitle Voiceover¶
Generate narration and transcribe it into word-level subtitles (example from the Skill body):
npx hyperframes tts "Script text" --voice af_nova --output narration.wav
npx hyperframes transcribe narration.wav
The audio track should use a separate <audio> element, while the video tag remains muted playsinline. For non-English content, be careful not to mistakenly use the English-only Whisper .en model (it will translate rather than transcribe).
3. Multi-scene & Transitions¶
Install shader transitions and view the list:
npx hyperframes add flash-through-white
npx hyperframes add --list
Multi-scene rules summary: There must be a transition between scenes; do not use element exit animations (the transition acts as the exit) except for the very last shot.
4. Pre-delivery Self-check¶
Minimum checks recommended by the Skill:
npx hyperframes lint --strict && npx hyperframes validate && npx hyperframes inspect
ls -lh final.mp4
ffprobe -v error -show_entries format=duration -of default=nw=1:nk=1 final.mp4
If rendering fails, run npx hyperframes doctor first and troubleshoot based on the output.
Applicable Scenarios & Notes¶
Who it is for
- Those familiar with front-end development and GSAP who want to turn “web animations” into version-controlled video assets.
- Those who need to complete the pipeline of script → TTS → subtitles → rendering within an Agent conversation.
- Those who want to record an existing website or product UI into a promotional short video (following the website-to-video workflow referenced by the Skill).
Limitations & Common Pitfalls (from the Skill’s “Common Traps” section)
repeat: -1breaks frame capture; it must be converted to a finite repeat.- Timelines must be constructed synchronously; do not wrap the registration of
window.__timelinesinasync/awaitorsetTimeout. - Chromium 147+ may lack
HeadlessExperimental.beginFrame;hyperframes@>=0.4.2is required, and if necessary,export PRODUCER_FORCE_SCREENSHOT=true. - Do not call
video.play()/audio.play()yourself; do not use the video track to carry audio. - When using system Chrome instead of
chrome-headless-shell, rendering may time out at 120 seconds—install the headless shell as prompted bydoctor.
Division of labor with manim-video: Use Manim for geometric/formula explanations; use HyperFrames for motion graphics, real media-driven content, social overlays, and shader transitions.
Conclusion¶
hyperframes-超帧视频 solidifies the “HTML as the source of the final cut” workflow of HyperFrames into a protocol that Agents can execute: from DESIGN.md and hero frame layout, to lint, preview, and high-quality rendering, covering TTS, subtitles, audio reactivity, and website-to-video conversion. If your requirement is deterministic export of MP4/WebM, rather than real-time editing or pure mathematical animation, you can add it to your skills directory and describe the final video goal directly in your conversation.
- SkillHub Page: https://www.skillhub.cn/skills/u_cfbf2639/hyperframes-chaozhen-shipin
- API Coordinate Page: https://api.skillhub.cn/u_cfbf2639/hyperframes-chaozhen-shipin
- Installation Instructions: https://skillhub.cn/install/skillhub.md