hyperframes-video
HyperFrames MP4/GIF videos; motion graphics; explainer clips; 视频、短片、动图、动画成片。
by Raccoon-Office★ 20 GitHub stars
Install hyperframes-video in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
HyperFrames Video
Use the host-provided HyperFrames runtime for video deliverables when it is available in the environment context.
Non-Negotiables
- Do not say there is no video tool when the environment context says HyperFrames is
available=true. - Do not use
npx,npx --yes,npm install, global installs, or a user-machine HyperFrames CLI. - Prefer
$BOX_AGENT_NODE "$HYPERFRAMES_RUNNER_PATH"for HyperFrames commands. The runner treats StaticGuard contract messages, browser page errors, missing local assets, and timeline registration timeouts as failures; it also finds the actual rendered MP4, copies it to the requested output path, and runs ffprobe validation. - If
HYPERFRAMES_RUNNER_PATHis missing, fall back to$BOX_AGENT_NODE "$HYPERFRAMES_CLI_PATH"and manually enforce the same checks. - Pass the project directory (
.) toinspectandrender, notindex.html. Forrender, omit--compositionunless rendering a separate composition HTML file;--composition mainis wrong becausemainis an id, not a file path. - Keep exactly one root HTML file with
data-composition-idin the project root. Do not leavetemplate-index.html, backups, or reference copies with composition metadata besideindex.html; put references outside the project or save them as.txtwithout composition attributes. - Start from
$HYPERFRAMES_TEMPLATE_DIRwhen it exists; it contains the stable composition contract. Treat it as the template root itself, not a templates parent. It may already end intemplates/basic-composition, so copy it withcp -R "$HYPERFRAMES_TEMPLATE_DIR"/. <project-dir>/and use vendor assets from"$HYPERFRAMES_TEMPLATE_DIR/vendor"; do not append another/basic-composition. - Write generated videos under the selected task directory or unchanged session cwd, unless the user named another path; do not infer a separate output/artifact root.
- Render with
--strictfirst. If strict fails, fix the composition and retry rather than handing raw CLI errors to the user.
Existing HTML / Webpage to Video
Use this branch when the user asks to convert an existing HTML file, folder, webpage, landing page, or "这里面的 html" into video. The goal is fidelity, not redesign.
- Preserve the original page's text, layout, assets, colors, and existing CSS/JS animation. Do not rewrite the page into a new creative composition, change button copy, invent new titles, or create a lookalike page.
- First inspect the real entry file (
index.html, linked CSS/JS, and local assets), then open that exact page in a browser at the target viewport. If the original page renders, capture that page; do not rebuild it from memory. - Prefer recording or screenshotting the original page with the managed Chromium/Playwright environment and encoding frames with the managed ffmpeg. This is the right fallback for normal CSS transitions, DOM animations, and non-seekable JavaScript effects.
- For direct capture, use the host-managed Node/Playwright already exposed through
NODE_PATH; do not install anything. Launch Chromium withprocess.env.BOX_AGENT_PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH || process.env.PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH || process.env.HYPERFRAMES_BROWSER_PATH, record the sourcefile://.../index.htmlwith PlaywrightrecordVideo, then convert the recorded WebM to MP4 with$HYPERFRAMES_FFMPEG_PATH. - Use HyperFrames only as a thin capture wrapper when it preserves the original page. If an iframe/wrapper capture shows a blank page, missing fonts/images, wrong text, or only a background color, treat it as a failed render and switch to direct browser frame capture of the original HTML.
- Keep generated files small and purposeful: final MP4, a contact sheet, and minimal capture scaffolding. Do not copy an entire site tree into the final artifact unless relative asset paths require a local staging copy.
- Before reporting success, compare sampled frames against the original browser rendering. Key text, logo, buttons, hero image, and visible animation state must match the source page. A readable MP4 with changed copy/layout, blank frames, or a fake recreated scene is a failure.
- If the user explicitly asks to create new video effects from scratch, remix a still image, or design a motion graphic rather than convert an existing page, use the composition workflow below.
Artifact Size Guardrails
- Keep the first renderable
index.htmlunder 5500 characters so it fits in onewrite_filecall with safety margin. - Prefer compact CSS plus JS-generated scenes from arrays over spelling out many repeated HTML blocks.
- Do not attempt a 9-scene or long-form visual treatment until a small strict-rendered MP4 exists.
- Do not copy or append text that says
[Full tool-call argument omitted from model history]; that is a history placeholder, not file content. - Use
append_fileonly with fresh, literal content that is visibly present in the current tool call. If append fails or the file becomes partial,
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the hyperframes-video skill do?
HyperFrames MP4/GIF videos; motion graphics; explainer clips; 视频、短片、动图、动画成片。
How do I install the hyperframes-video skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the hyperframes-video skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
slack-gif-creator
AnthropicKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request…
automate-this
GitHubAnalyze a screen recording of a manual process and produce targeted, working automation scripts. Extracts frames and audio narration from video files…
from-the-other-side-vega
GitHubPatterns and lived experience from Vega, an AI partner in a deep long-term partnership. For Ember to draw on when working with humans who are building…
plantuml-ascii
GitHubGenerate ASCII art diagrams using PlantUML text mode. Use when user asks to create ASCII diagrams, text-based diagrams, terminal-friendly diagrams, or…