rea-video
Skill1 starsChanged 8 days agoMITView on GitHub
Use when the user shares a reference video and asks how it was made, whether it's AI, what footage/music/SFX it uses, how to remake it, or how a magic trick works. Runs the rea-video CLI.
- Reads credentials
- Installs packages
1 other project uses a version of this.
Adopted by
Most recently taken up by
- JuneYaooo/rea-videotheir own version, first seen Nov 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- JuneYaooo/rea-video★ 14ksame name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository14 other files it gives its agents.
- animated-3d-story-videoSkill
- auto-video-runbookSkill
- blender-video-shotsSkill
- lemo-opuscarSkill
- mechanism-explainer-3dSkill
- pixelbolt-pixel-artSkill
- pixel-cutaway-videoSkill
- ponytailSkill
- reference-look-matchSkill
- remotion-officialSkill
- retro-2d-style-recipesSkill
- shorts-script-and-soundSkill
- video-effects-packSkill
- video-qa-checklistSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. About 0 are common, 8 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 41
You can see images, so you are the VLM: Do the "visual review and merge" below.
- Very specific: line 71
Read instructions in review_tasks.json, then look at each shot's images (priority=high is required).
- Very specific: line 90
Look at storyboard.jpg and audio.png for the overall picture.
- Very specific: line 92
Cast: check whether one character got split into several (inconsistent naming across shots is common).
- Very specific: line 100
If you edited review_answers.json in steps 3, 5, 6 or 7, re-run apply-review, or the edits won't reach the report.
- Very specific: line 107
If the user says a shot is wrong: rea-video correct out/ref --shots 3,5 --label stop_motion --note "<user's words>".
- Distinctive: line 128
When there are AI shots, add a note: report prompts are generic structure, so tune them to the target model's prompt guide before …
- Very specific: line 130
When the user wants to remake, re-create or do "the same one", list the remake options at the end, one line each (details in …
- Very specific: line 142
Pick the model: Use the one the user named, else prefs engine, else default to MiniMax H3 without stopping to ask.
- Very specific: line 155
Write final per-unit prompts in the model's prompt style to out/ref/remake/prompts.json ({"G1": "..."}).
- Distinctive: line 158
If the user wants to make it themselves, give the "do it like this" steps from report part 2 first, before model rules.
- Distinctive: line 170
Don't judge by art style alone.
- Distinctive: line 171
Don't count text inside a code-rendered frame as an overlay.
- Distinctive: line 172
Don't call the user's real material "AI-generatable".
- Distinctive: line 173
Don't treat missing metadata as evidence of "not AI".
- Distinctive: line 174
Don't call paid generation before the user confirms.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
rea-video: reverse-engineer how a video was made
Adapted from https://github.com/JuneYaooo/rea-video (Apache-2.0, Copyright 2026 JuneYaooo; see LICENSE-APACHE-2.0.txt and NOTICE.txt in this folder). Changes: the original skill is in Chinese; this is a shortened English port of its workflow with setup notes for cloud workspaces. The CLI itself prints help in Chinese, but --lang en makes every report and summary English.
You are a video-production reverse engineer. Given a video, answer:
- How was each shot's base image made? Pick one of 11 classes: live action / film-TV clip / AI video / digital human (avatar) / 3D render / 2D animation / stop motion / code-template render / screen recording-screenshot / still image with pan-zoom / static frame. 2D animation, stop motion and film/TV clips can't be detected by the tool, so judge them by looking. For live action, also check for AI edits (face swap, lip sync, stylization, outfit or background swap) and record them in
ai_edits. - What's layered on top (packaging)? Per-line subtitles (timing, color, stroke, keyword highlights, entrance), decorative text, titles, chapter cards, tracking labels, memes/GIFs/stickers/picture-in-picture, layout templates, and which SFX are synced to text pops or stickers.
- What is the creator's real material? Two kinds: (a) real pixels embedded in the frame (footage, photos, screenshots, screen recordings, clips playing inside a layout). A remake needs the original files. (b) Products, logos or people appearing inside AI/3D shots. These are reference images to prepare, not embedded material.
- How was the sound made? Voice (TTS or human), BGM (style / BPM / key / sections), SFX (timestamp, type, which visual event), and whether cuts land on beats. Focus on the source: AI-generated or stock. A full AI music video is probably an AI song. Ordinary background music is probably stock, but AI-workflow videos often use Suno. Mark it "unconfirmed" and say how to confirm.
- For live action: how was it shot, lit, graded and cut? Shot size, camera position, selfie vs tripod, normal speed / slow-mo / timelapse; key-light direction, softness, ratio, color temp, fill and rim; the lighting setup (front soft, key+fill, side, backlight, night ambient, low-key, high-key, colored mood, product tabletop, outdoor sun/overcast/backlit; write "outdoor" in
lighting.locationwhen it applies); grade (natural, teal-orange, Japanese airy, film, B&W, dark); jump cuts, punch-ins, B-roll rhythm. - How to remake it? Give a route and tools for every shot. Live action gets a shooting plan (lighting + gear list), not just "approximate with AI".
Core rule: every conclusion needs evidence. If you can't be sure, write "unconfirmed" and say what's missing. "Live vs AI unconfirmed (leaning AI 70%)" beats a made-up certainty.
0. Setup (first run in a session)
Needs ffmpeg/ffprobe and Python 3.10–3.14.
# CLI (in this cloud workspace a venv avoids the system-python restriction)
python3 -m venv ~/rv-venv && ~/rv-venv/bin/pip install -q "rea-video[ocr] @ git+https://github.com/JuneYaooo/rea-video"
export PATH="$HOME/rv-venv/bin:$PATH"; rea-video --help
# Optional local speech recognition (zh/en/ja/ko/yue) + speaker split, for videos with no burned-in subtitles:
# ~/rv-venv/bin/pip install sherpa-onnx
# Reference docs used below (taxonomy, review rules, output template, remake guides):
git clone --depth 1 https://github.com/JuneYaooo/rea-video ~/rea-video-repo
REF=~/rea-video-repo/skills/rea-video/referencesOn the user's own machine, use pipx install "rea-video[ocr] @ git+https://github.com/JuneYaooo/rea-video" if pip reports externally-managed-environment. On Windows use py -3.12 -m pip install ".[ocr]" from a clone and run it as py -3.12 -m rea_video if the command isn't on PATH. Full troubleshooting is in $REF/setup.md.
The reference docs are in Chinese. Read them for the details, but write everything for the user in their language.
VLM (optional, recommended). This is a multimodal model the tool sends clips and keyframes to. Configure it with GEMINI_API_KEY (Gemini; it also hears audio) or REA_VLM_BASE_URL / REA_VLM_API_KEY / REA_VLM_MODEL in a .env, then pass it with --env-file. Never open the .env or paste keys into chat. Without a VLM the tool still runs on pixel stats, frame rate, OCR and metadata, but separating live, AI and 3D gets weaker.
- You can see images, so you are the VLM. Do the "visual review and merge" below. Say "no VLM; agent visual review" in the result.
- The repo's eval found that agent review + merge beats Gemini alone. Gemini tends to call cartoon-3D AI video "3D render" and drawn game UIs "screen recording". So always do the visual review, even with a VLM on, and judge independently instead of copying the VLM.
- What a real VLM adds that you can't: it watches motion in the clips and hears the audio. With stills only, voice and SFX sources stay "unconfirmed".
- Whether the VLM actually worked is shown by the
VLM:line ofrea-video summary.failedornot_configuredmeans it was off, and the report must say so.
1. Standard flow
Working copy: put the user's video in the working directory (staged uploads are originals; don't modify them).
rea-video memory # ⓪ saved prefs (default engine, VLM on/off, lang) and past correction types
rea-video survey ref.mp4 -o out/ref # ① look first: contact sheets fix cut points & transitions, then zoomed frames, then per-shot keyframes
# Look at the images it lists, write answers into the file named under "waiting", re-run the same command until status is done.
# Answer one round's images together. Answers use JEV format: options + probabilities only; skip gaps that are "same";
# for zoomed sheets write `scenes` first (what appears in each tile, in order); for keyframe sheets write one `look` per image, skip unchanged shots.
# (With --vlm, decompose does this step automatically.)
rea-video --env-file <.env> decompose ref.mp4 -o out/ref --vlm --lang en # ② drop --env-file/--vlm if no VLM
# --lang en|zh (use en for any non-Chinese user); --ocr-lang ja / ko for Japanese/Korean on-screen text; --asr-lang bn for Bengali speech
rea-video summary out/ref/breakdown.json # ③ compact summary; low-confidence shots flagged; check the VLM: lineOutputs in out/ref/: VIDEO.md + video/ (agent-readable breakdown pack), report.html / report.md (for the user), breakdown.json, storyboard.jpg, audio.png, shots/, stems/, packaging/.
Read the pack layer by layer to save tokens. Start with out/ref/VIDEO.md (card + overview + a map listing path | ~tokens | contents, about 2k tokens), which answers most questions. Use video/timeline.md for per-shot answers (one line per shot; keys with ~ are inferred, keys without it are visible on screen). Use video/shots/<id>.md plus its frames to verify a shot. Other video/*.md files cover audio, packaging, remake, look, cast, content and moments, and video/rhythm.md has rhythm, transitions and keyframes. Never read breakdown.json (hundreds of thousands of characters) or report.md (it's for humans). For review, the shots/shot_XXX.jpg contact sheet is enough. _first / _last frames are references for generation models.
Visual review and merge (mandatory if you can see images)
rea-video review out/ref # writes review_tasks.json (images per shot, tool verdict, priority) + review_answers.json (template)Read instructions in review_tasks.json, then look at each shot's images (priority=high is required). In review_answers.json, fill:
label_probs,evidence,description,embedded_assetsfor each shot. Leavelabel_probsas{}for shots you didn't look at; they're skipped.narrative:role(hook / context / extra info / proof / turn / conclusion / call to action / mood) andpoint(one sentence). The report chains these into a "narrative line".split_suggestion(cutsseconds +labels+note) if a shot is really several cuts merged. This happens when dark graphics alternate with dark talking-head footage.performancefor acted shots: main emotion, intensity, visible expression and action, change within the shot, vocal tone. Fillperformance.move/movers/full_body/backdroponly when big full-body motion is the point (dance, fights, fitness). That switches the remake to motion-driven. Skip it for talking heads and product demos.- Top-level
cast: characters, sets and props across the film. Identify the same character across shots as one, and describe looks well enough to recreate. Add one line on visual style. - Top-level
story:summary(one line),hook(how the first seconds grab attention),highlights(2–4 techniques, each with a timestamp and why it works). overlay_textper shot when the frame contains text that belongs to the scene (phone screens, packaging, signs). List only the post-added subtitles and decorative text here; the rest is treated as scene content.same_clip_ason the shorter copy when the same clip appears twice (a teaser up front and the full clip later), so it's generated once.- Missing prompts (no VLM): fill
replication.image_prompt / video_prompt / video_prompt_en.
rea-video apply-review out/ref --by Claude # merge: rewrites breakdown.json + reports, prints which shots changed
rea-video summary out/ref/breakdown.jsonYour answers are fused with deterministic evidence (frame rate, AIGC watermarks still count), not overwritten. If the merged verdict differs from your view, explain why in the reply. Fusion rules, rules for agents that can't see images, and original-vs-transcoded rules are in $REF/review.md.
Then check it yourself; don't just relay tool output
- Look at
storyboard.jpgandaudio.pngfor the overall picture. - For shots flagged low-confidence or with a close runner-up: open
shots/shot_XXX.jpg. If needed, pull frames withrea-video tiles ref.mp4 --start 12.3 --end 13.1 --every 0.1 -o out/ref/check.jpg, then go through the confusion table in$REF/taxonomy.md. - Cast: check whether one character got split into several (inconsistent naming across shots is common). A remake fixes one reference image per character across all generation units. Fix it in top-level
cast. - Audio (
$REF/audio.md): listen viastems/vocals.wavandstems/music.wav, then read the "sound source" line in summary. Signal-detected SFX are low-confidence candidates; without a VLM, say "light SFX may be missed". Fallback SFX matched to visuals (deterministic_anchored) are real only about 40% of the time, so write "possibly". - Live action: the end of summary (
video/look.md) lists framing / camera / lighting / editing / format plus a shooting plan and gear. Add what pixels can't measure in each shot'saspectsand the top-levelaspects: camera angle, selfie vs rig, key-light source, catchlights, rim/background lights, practicals in frame, likely device, video format. Platform transcoding crushes shadows, so measured softness and fill read conservative. Lighting notes on AI/3D shots are labelled "not a shooting plan" and are for prompts only. - Real material (
$REF/materials.md): the detector finds most screenshots and photos embedded in code templates, but misses dark or semi-transparent background photos. - Packaging (
video/packaging.md, files inpackaging/):- Subtitle timing and style are measured and usually reliable. Identify the font by eye.
- For stickers marked "needs visual check", look at
packaging/sticker_XX.jpgand fillpackaging.stickers→is_overlay,what. Add anything missed topackaging.missed. - Fix misclassified decorative text or labels via
packaging.text→kind.
- If you edited review_answers.json in steps 3, 5, 6 or 7, re-run
apply-review, or the edits won't reach the report. - Where you disagree with the tool, your review wins. Give the reason.
Special moments (magic reveals, twists, climaxes, bloopers, highlights)
With a VLM, decompose already finds these. Otherwise, for magic videos (summary will hint) or when the user asks for highlights, run rea-video moments out/ref and answer/re-run until it finishes. Read the dialogue and overview first to set segments, then zoom per segment to fix keyframes (initial state, the move, the instant of change, the reaction). Write a 3–6 step explanation. The change often happens before the camera shows it or anyone gasps. Draw red circles only when sure. Tool candidates are hints and mostly wrong. Results go to video/moments.md and moments/.
Memory
- If the user says a shot is wrong:
rea-video correct out/ref --shots 3,5 --label stop_motion --note "<user's words>". Use--start/--endfor a time range,--shots allfor the whole video,--real yes|nofor real material. Label names are in$REF/taxonomy.md. - Standing prefs:
rea-video prefs engine <id>,prefs vlm on,prefs env_file <path>,prefs lang en, orprefs --note "..."for anything else. - Record only what the user explicitly said.
2. Deliver to the user
Reply in the user's language. Language priority: language the user asks for > language of the question > lang pref > Chinese. The tool supports --lang en|zh. For other languages, run en, write the reply in the user's language, and if they want a report file in their language, translate report.md to report_<lang>.md. If you forgot --lang at decompose, apply-review out/ref --lang en regenerates the report text.
Structure (full template in $REF/output-template.md):
- One-line verdict, e.g. "Mixed: base image 62% AI video, 30% code template, 8% live; all subtitles code-overlaid; 2 real screenshots; female TTS + 110 BPM pop BGM, cuts on beat."
- Content & cast: what the video is about; main characters, sets and products.
- Narrative line (
video/content.md): what each beat does. Suggest keeping the line and swapping in the user's own case and material, not just a new lead. - Remake plan, organized the way it would be produced:
- AI shots → generation units: consecutive shots generated in one call, which model, references (product/person images, original clip), merged multi-shot prompt, how units join.
- Live shots → shooting setups: shots sharing a set and camera position, lighting per setup, wide before close.
- Acted shots → how to recreate emotion and performance.
- Code renders → per-shot element and motion timeline.
- Shot table: # | time | visible in frame | overlays | method (inferred, confidence) | evidence | material source | remake route. "Visible" holds only what the screenshot shows; tool measurements go under evidence.
- Packaging, Audio, Real material you must supply, Open questions.
- The path to
report.html. Send it plusstoryboard.jpgwith SendUserFile. For code-render remakes, say the wholeout/ref/folder is needed. Offerrea-video pdf out/refif they want a PDF (needs Chrome/Chromium). Never paste breakdown.json.
When there are AI shots, add a note: report prompts are generic structure, so tune them to the target model's prompt guide before generating.
When the user wants to remake, re-create or do "the same one", list the remake options at the end, one line each (details in $REF/remake-tools.md):
- capsule-cinema: open-source local generation pipeline that
rea-video remake-plan/remake-rundrive. Self-hosted; you pay per model call. - ChatCut: AI video editor, desktop + web. It is the rea-video project's sponsor; say so if you mention it. Generating AI shots needs a membership.
- HyperFrames: open-source HTML→MP4 framework for code-render and motion-graphics shots. Needs Node 22+.
- DIY: shoot or generate manually, then put the pieces back on the original timeline with
rea-video assemble.
Skip this list for pure identification questions ("is it AI?", "what footage?").
3. Remake (when asked)
The breakdown (model-independent) and the remake plan (for one model) stay separate. Don't merge shots in the breakdown for the remake's sake.
- Pick the model. Use the one the user named, else
prefs engine, else default to MiniMax H3 without stopping to ask. Settle whether to regenerate everything or only the AI shots, and what to swap. Writeout/ref/remake/intent.yaml:model: seedance-2.5 generate: all # all = regenerate whole video; ai (default) = AI shots only, live gets a shooting plan swaps: - from: female host to: man around 30, short hair, dark suit - from: the lipstick in the original to: user's thermos image: /abs/path/product.jpg - Check the model is current.
rea-video models <id>shows the capability map and its verification date. Web-search the model's latest official docs (versions, max duration, number and length of reference videos/images, multi-shot, first/last frame, native audio, prompt style). Write anything missing or outdated to~/.rea-video/capabilities/models/<id>.yamlin the same format, with source and date. rea-video plan out/refbuilds report part 2 and runs plan checks. It chooses inputs per the model's abilities and fits shots into the fewest calls. Original-clip refs with subtitles erased go inremake/refs/.- Write final per-unit prompts in the model's prompt style to
out/ref/remake/prompts.json({"G1": "..."}). Image numbers follow the unit's reference order. Re-runplanuntil there's no ❌. - Show the plan to the user (number of calls, inputs per call, check results). Generate only after they agree.
If the user wants to make it themselves, give the "do it like this" steps from report part 2 first, before model rules.
rea-video remake out/ref does what it can automatically: rebuilds stills (code renders stay as original placeholders; --code gives a quick draft) and placeholders the rest on the original timeline. remake/status.md lists what's left per shot. Drop new shots into remake/mine.json and re-run. Routes:
- AI shots → capsule-cinema. This is billed: run
rea-video remake-run --dry-runand get the user's OK first. - Live shots → shooting plan.
- Dance/action →
rea-video drive out/refmakes driving videos (--joinstitches results back). - Code renders → hand off to HyperFrames using
video/rhythm.md.rea-video code-remake out/refmakes quick drafts only for particle or data-viz shots. - User's own footage →
rea-video assemble.
Details are in $REF/remake.md, chatcut.md, capsule-cinema.md, hyperframes.md and diy.md.
4. Don'ts
- Don't judge by art style alone. Cartoon-3D can be AI video or a Blender render; check deformation, flicker and geometric stability.
- Don't count text inside a code-rendered frame as an overlay; it is the frame.
- Don't call the user's real material "AI-generatable".
- Don't treat missing metadata as evidence of "not AI"; platforms strip it.
- Don't call paid generation before the user confirms.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

