rea-video breaks any video down shot by shot for Claude Code and Codex
rea-video is a new open-source skill and command-line tool for Claude Code, Codex and other agents that can run commands, and it reverse-engineers a video one shot at a time. Give your agent the repo link and a local video file. It installs the tool, cuts the video into shots, and splits the audio into voice, music and effects.
Each shot is judged on its own as live footage, AI video, avatar, 3D or animation, code-built graphics, or screen recording. The call leans on measured evidence such as frame cadence, sensor noise and AIGC tags in the metadata, and conflicts are flagged for the agent to check by eye. You get back a report as HTML or PDF with a plan for remaking the video, plus a VIDEO.md package your agent can read. Filmed shots come with camera positions, moves, lighting setups and color grade. AI shots get a reverse-engineered prompt and a suggested model. Code-style shots come out ready to rebuild in Remotion.
The tools-only mode runs offline and is free. Connecting a video-capable model such as Gemini or Doubao makes the calls more accurate on recompressed platform downloads and adds a prompt for every shot, and that service bills you. Setup needs ffmpeg and Python 3.10 or newer, and the project is Apache-2.0 on GitHub.
Open-source agent skill and CLI that breaks a video down shot by shot, says whether each shot was filmed, AI-generated or coded, and writes a plan to remake it.