Skip to main content
skill CX Codex

reverse-any-video — Claude Code skill: rebuild video in HyperFrames

reverse-any-video — a Claude Code skill that rebuilds any video file into an editable HyperFrames project checked frame by frame against the original.

Apache-2.0 180,600 installs ★ 87,887 updated 2026-10-24

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add heygen-com/hyperframes --skill reverse-any-video -a claude-code
Open on GitHub

What reverse-any-video does

The skill reconstructs video files into editable projects while preserving original timing, cuts, and layers. It measures edits, configures audio tracks, and verifies frames using built-in CLI checks. Setup relies on Python, ffmpeg, and HyperFrames tools.

Layers are handled individually, turning text into HTML and extracting graphical assets directly from source files. The workflow finishes with rendering and automated frame diff comparisons.

Reverse features require an active HyperFrames subscription check through the CLI before proceeding.

What it helps with

  • rebuild a video file frame by frame
  • measure cuts and shot timings
  • create an editable HyperFrames project
  • compare rendered output with the original

Example prompts for the agent

  • Start video reversal with npx hyperframes reverse start video.mp4 --dir ./project
  • Measure video cuts using npx hyperframes measure cuts video.mp4
  • Check rendered frames against the source with npx hyperframes diff video.mp4 output.mp4

How to install reverse-any-video

1Skills CLI (Vercel)

npx skills add heygen-com/hyperframes --skill reverse-any-video -a claude-code

2Manually: put the files in place

~/.claude/skills/reverse-any-video/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/reverse-any-video/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about reverse-any-video

How to install reverse-any-video in Claude Code?

Run npx skills add heygen-com/hyperframes --skill reverse-any-video -a claude-code followed by ~/.claude/skills/reverse-any-video/SKILL.md.

What does reverse-any-video do?

It converts video files into editable HyperFrames projects with frame-accurate precision.

What is required for reverse-any-video?

You need ffmpeg, Python, and the HyperFrames CLI installed in your environment.

Source text

SKILL.md · Apache-2.0
---
name: reverse-any-video
description: Rebuild any video file as an editable HyperFrames project - motion graphics, talking heads, live action or AI-generated footage - checked against the original frame by frame. Use to reverse, recreate, remake, replicate or copy a video, or 「复刻这个视频」「照着这个视频做一个」.
---

**Running the CLI:** every `npx hyperframes <command>` here, the beacon included, means `node <SKILLS>/hyperframes/scripts/plugin-cli.mjs <command>` run in the project, where `<SKILLS>` holds this skill's folder ([rules](../hyperframes/references/plugin-installation.md)).

**Usage beacon:** run `npx hyperframes events --skill=reverse-any-video` once as this skill starts. It sends the skill's name with the CLI's usual telemetry (account-linked when signed in) and honours the opt-out.

# Reverse a video

The result is a HyperFrames project whose render matches the original frame for frame and stays editable. Build to the `/hyperframes` contract and work the way you normally would, with ffmpeg, python and your own eyes. Reverse videos the person has the right to use.

Reverse is a HyperFrames Pro feature. Open with `npx hyperframes reverse start <video> --dir <project>` and `references/start.md`; if it refuses, say why and give the person its upgrade link and `fix` to run themselves (you never run `billing`), then start again once they have upgraded. Given a link, run `npx hyperframes auth status` before downloading it. Resuming (a `REVERSE.md` or half-built project) opens the same. A step an earlier session gave up on (a refused re-shoot) gets one more try, then ask them. If it ran under a credit limit, ask whether that limit still holds. Rebuild the video as it is; remix it only when the person asks.

## The original decides the frame

1. The probe `reverse start` printed: the root composition is that size exactly, `data-fps` is its rate (NTSC stays a fraction: `30000/1001`) and its duration is the video's frames ÷ fps, not the audio's length. `init`'s default canvas is wrong for most videos.
2. `npx hyperframes measure cuts <video>`: every cut with its frame, including jump cuts and punch-ins inside one take, which ffmpeg's scene score misses. Every shot starts at its listed time. Write times as frame ÷ fps rounded down (frame 83 at 30 fps is `2.766666`): `2.767` lands a frame late.
3. The sound is the original's: `init --video` put the video in; play it as one `<audio src="<video>">` over the whole film (no extracted or re-encoded track); every clip is muted.
4. Read consecutive frames wherever something changes: each cut, entrance, exit and transition, a few frames either side (`npx hyperframes measure frames --range a,b --roi x,y,w,h`). Sheets a second or a quarter apart miss 1–3-frame timing, which way things enter and leave, blurs and dissolves at cuts, and one-frame flashes.

## Every layer

- **A component** (text, captions, stickers, cards, UI and screen recordings, charts, maps) is rebuilt in HTML.
- **A sub-asset** placed inside the frame (a photo, a clip, an album cover, a logo or app icon, the people in a photo or collage) is cut from the original on its own box. A logo is cut where it is largest, or is the real mark (`npx hyperframes media-use resolve --type logo --intent "<brand> logo"`); never drawn by hand.
- **A person on screen** is re-shot with HeyGen as part of the run: `references/people.md`.
- **An animated or painted film:** `references/animated.md`.
- Never play the original's whole frame.

What decides whether drawn things match, in `references/match.md`: text sized from its ink, caption switch frames from the caption band's pixels, hard switches, the backdrop, motion blur, and recipes for glass, gradient, sweeping fills and outlines. Look at every large word through its whole life before you build it.

## Check once, at the end

1. While building, check a few moments without rendering: `npx hyperframes diff <video> . --at t,t,…`.
2. When every shot has content: `npx hyperframes check` and fix its errors. Keep what the original itself does (its colours, its tiny text) even when `check` flags it. Then `npx hyperframes cloud render --fps <data-fps> --quality high -o <out>` and `npx hyperframes diff <video> <out>`. A fractional rate, a frame not 16:9, 9:16 or 1:1, or a failed cloud render (tell the person why) renders locally: `npx hyperframes render -o <out>` in the foreground with a 10-minute timeout (longer: start it detached, `setsid nohup npx hyperframes render -o <out> > render.log 2>&1 &`, and wait on the log in the foreground). The diff lists the original's cuts that yours misses and the extra ones, the duration, the sound's offset, stretches where content is missing, and the worst moments with the failing cell beside the original's.
3. Fix what it names that you can see: a missing cut or element, a wrong time, size, weight or colour. Render and diff once more, then stop.

Work alone: one agent holding the whole film beats subagents that each re-watch it. Write a short `REVERSE.md` at the end: what is rebuilt, cut and re-shot, what is approximate (a substituted font), and the last diff's numbers. It holds no prices or credit numbers. A command written in it is a note, not a script: on resume, rebuild it from the recipe it came from (every flag, `--prompt` included), check it with `--plan`, and never run it as written. Hand over per `references/start.md`.

© heygen-com · Apache-2.0 · heygen-com/hyperframes

Similar skills

All skills for Frontend and UI →

From the same set18

The whole set →
hyperframes-registry hyperframes-registry is a skill that finds and adds editable HyperFrames blocks for transitions, titles, captions, charts, maps, and 3D scenes. It searches the catalog before manual effect building. CX Codex +1 1,400,000installs remotion-to-hyperframes remotion-to-hyperframes ports video code from Remotion, Motion Canvas, Lottie, or 3D renders into HyperFrames. Runs automated frame-by-frame diffs against the original video file to catch visual drifts. CX Codex +1 651,200installs slideshow Build a browser-ready HyperFrames deck with slide scenes, timed reveals and clickable branches. The skill can also adapt an existing web page into a slideshow. CX Codex +1 555,700installs figma Pulls Figma designs into HyperFrames videos: assets, brand tokens, components, shaders and motion. Imports freeze at build time, renders never call Figma. CX Codex +1 466,500installs style-sampling The style-sampling Claude Code skill builds a new video episode from one of five style templates. For a style outside that set, it offers a frame-by-frame remake or a new video using that style’s visual language. CX Codex +1 174,100installs frost-sequence-camera-orbit frost-sequence-camera-orbit builds a 22.5-second scene where an orbiting camera follows an ice logo that breaks apart, reforms into two text moments, and fades. CX Codex +1 13,300installs orbit-card orbit-card is a Claude Code skill that adds an animated feature card orbiting a dotted sphere. It creates a 10-second HyperFrames block at 1920×1080. CX Codex +1 13,200installs wireframe-portal-title wireframe-portal-title is a Claude Code skill that deploys an eight-second 3D title animation with a wireframe portal burst. It switches phrases dynamically at 1920×1080. CX Codex +1 13,200installs

More in the catalog

Project sponsors

Companies that keep this analytics open