docs(skills): reverse-any-video gets a recipe for animated and painted films (#6933)

The skill assumed live footage, so an agent on a painted film worked out the path alone.

Says what to tell the person, what stays code, and how to regenerate a shot from its plate.
This commit is contained in:
WaterrrForever
2026-11-01 16:24:48 +00:00
committed by GitHub
parent 7aa3a447e2
commit aa77770ebe
3 changed files with 35 additions and 3 deletions
+2 -2
View File
@@ -26,8 +26,8 @@
"files": 76
},
"reverse-any-video": {
"hash": "e2610b70ef822e80",
"files": 4
"hash": "ce99bdcbc8802b93",
"files": 5
},
"slideshow": {
"hash": "c8a591e2aa7a6d86",
+2 -1
View File
@@ -25,6 +25,7 @@ Reverse is a HyperFrames Pro feature: start only when `npx hyperframes auth stat
- **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, without asking or naming a price: `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.
@@ -35,4 +36,4 @@ What decides whether drawn things match, in `references/match.md`: text sized fr
2. When every shot has content: `npx hyperframes check`, fix its errors, then `npx hyperframes cloud render --fps <data-fps> -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. Small score differences are not worth another round.
Work alone: one agent holding the whole film beats subagents that each re-read and re-watch it and wait on each other. 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.
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.
@@ -0,0 +1,31 @@
# Animated and painted films
In a hand-painted or 3D-animated film the character, the world and the camera are one picture, so the layers do not come apart. Most of the result is regenerated footage, with the type, the marks and the light effects in code.
Say so before starting, in the person's language. For example:
> This film is painted, so most of it will be regenerated from its own frames, shot by shot. The text, logo and light effects stay editable. The painted shots come back as clips you can replace, not layers you can change.
## What is code and what is generated
- **Code:** text and handwriting, logos, the end card, and light that sits on the picture: flashes, glows, a portal's ring.
- **Generated:** everything else, one clip per shot. A drawn character goes with its shot.
## The recipe
Work as `people.md` does, one generated shot per original shot, with these changes:
1. **Read the cuts by eye.** Sudden light in a shot can list as a cut. Look at the frames either side of each one: the same picture under different light is one shot. Join its pieces into one guide and pass `--allow-cuts`.
2. **The plate is the shot's first frame** with its text and logos removed by an image edit.
3. **Generate from the plate, with the shot as the guide:**
```bash
npx hyperframes media-use generate --type video --reference <plate> --motion <the original shot> \
--aspect <the source's> --seconds <n> --prompt "<the painting style, what moves, the camera>" --out <shot>.mp4
```
`--first-frame` does not combine with `--motion`, so the plate goes in `--reference`. Name the style in the prompt, and blank drawn text in the guide with `--mask`.
4. **Frame it** with `npx hyperframes diff <video> . --at t,t,…` on a shape in the shot. `measure face` is for real faces.
`REVERSE.md` lists which shots are generated and which layers are code.