Command Palette

Search for a command to run...

Back to skills
skill № 73609

hyperframes-video

HyperFrames MP4/GIF videos; motion graphics; explainer clips; 视频、短片、动图、动画成片。

FreeNo executable scripts
Raccoon-Officeby 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
Sign up freeI already have an account

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_PATH is missing, fall back to $BOX_AGENT_NODE "$HYPERFRAMES_CLI_PATH" and manually enforce the same checks.
  • Pass the project directory (.) to inspect and render, not index.html. For render, omit --composition unless rendering a separate composition HTML file; --composition main is wrong because main is an id, not a file path.
  • Keep exactly one root HTML file with data-composition-id in the project root. Do not leave template-index.html, backups, or reference copies with composition metadata beside index.html; put references outside the project or save them as .txt without composition attributes.
  • Start from $HYPERFRAMES_TEMPLATE_DIR when it exists; it contains the stable composition contract. Treat it as the template root itself, not a templates parent. It may already end in templates/basic-composition, so copy it with cp -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 --strict first. 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 with process.env.BOX_AGENT_PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH || process.env.PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH || process.env.HYPERFRAMES_BROWSER_PATH, record the source file://.../index.html with Playwright recordVideo, 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.html under 5500 characters so it fits in one write_file call 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_file only with fresh, literal content that is visibly present in the current tool call. If append fails or the file becomes partial,
Full SKILL.md on GitHub

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

Compare hyperframes-video with