rea-toon
Break down any short drama with AI: why it works, how the script is written, how every shot is filmed.
- Source repo
- JuneYaooo/rea-toon
- Stars
- ★ 352
- Last updated
- 2d ago v0.1.0
- FARS reviewed
- Nov 30, 2026
- License
- NOASSERTION
- Primary language
- Python
- FA score
- 60/100 · Some gaps
At a glance
- How it runs
- Works with
- Portable with changesCodex · Claude Code · OpenAI API
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- A short-drama screenwriter studying a hit: wants the one-line hook, the pacing curve, the rhythm of twists and comeuppances, plus a reusable formula and remix ideas.
- Not a fit if
- Teams that need commercial use: the licence is noncommercial only
- Users who only have video URLs: links are never downloaded
- Text-only model pipelines: the breakdown must look at frames
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-30latest release v0.1.0 (2026-11-14)+4.9 ★/day over 7 days
- Source review
- 60/100 · Some gaps
What does this agent do, and when should you use it?
rea-toon is a Python CLI (Python 3.10+, ffmpeg) built to be driven by an AI agent such as Claude Code or Codex: you hand the agent a local video file or a folder with one video per episode, and it installs the tool and runs the whole breakdown. It first detects the drama's format — live-action, AI live-action, 2D/3D animation, motion or meme comic, commentary — and applies a different rubric to each. Shot cutting and voice/music separation come from its sibling project rea-video, subtitles are read locally with RapidOCR, and a character table plus per-shot speaker attribution reconstructs who says what. Every shot is then read for framing, lines, sound, motion, duration, dramatic beat and emotion, at roughly 30 vision calls per episode. Output comes in two forms: a self-contained index.html with Study, Script and Shot script views (PDF export), and a VIDEO.md + video/ package in the open videomd format that other agents can read instead of re-watching the video. Everything is written in the language you talk to your agent in, and the PolyForm Noncommercial 1.0.0 licence means commercial use needs the author's written permission.
Input is video already on disk — one file, or a folder with one video per episode sorted by the episode number in the file name; links are never downloaded, and a multi-episode compilation is split only after the agent confirms each episode's start with you. The pipeline has five stages. Split: overview frame sheets locate transitions, rea-video cuts the shots there and separates voice from music, and local RapidOCR reads only text on the subtitle line. Cast: a character table merges disguises and costume changes into one person, then each shot records who is on screen and what they do. Lines: every line is attributed to a speaker across the episode, and disagreements with what the frames show are settled by looking at frames. Read the script: scenes and their look, on-screen text, camera angles and eyelines, dramatic beats, the point and emotion of every shot, information gaps — in a series each episode is read with what came before. Results: code measures pacing, an emotion ledger (satisfaction, frustration, heartbreak, sweetness, laughs, suspense, shock, hype) and screen time, then writes the report, the script and the shot script and builds the index.html pages plus the VIDEO.md and video/ package. Every call carries evidence — shot number, time, line, frame — so mistakes can be fixed and the pages rebuilt. Vision judgments come either from an image-capable agent answering itself in a loop (a dozen or so rounds per episode) or from a configured OpenAI-compatible vision API (Gemini, Doubao, Qwen-VL) that is billed per call and runs in parallel. A series additionally gets a cross-episode view: phases, recurring tropes, character arcs, setups and payoffs, episode-end hooks, paywall points.
- A short-drama screenwriter studying a hit: wants the one-line hook, the pacing curve, the rhythm of twists and comeuppances, plus a reusable formula and remix ideas.
- A series planner or producer assessing a full season: needs phases, recurring tropes, character arcs, setups and payoffs, episode-end hooks and paywall points.
- A director or storyboard team wanting shot-level reference: framing, action, lines, sound, motion, duration, and thumbnails that replay the matching moment of the source.
- An AI live-action creator reverse-engineering technique: what makes a character land at first sight, how much is spectacle only AI can film, how cutting and music carry scenes with little lip-sync.
- A motion-comic, meme-comic or commentary creator quantifying how long a picture holds, how fast images change, which panels get partial motion, joke density, speech rate and information density.
- An agent developer who wants downstream tools to consume the result: hand VIDEO.md + video/ to another agent for questions instead of having it watch the video again.
How do you install or deploy this agent?
Installation is agent-mediated; the README does not publish a pip package name or a standalone CLI command. First check the runtime prerequisites:
python3 --version # must be >= 3.10
ffmpeg -version # required for shot cuts and voice/music separationThen, in Claude Code, Codex or any agent that can run commands, say:
Install https://github.com/JuneYaooo/rea-toon, then break down this short drama: <a video file, or a folder with one video per episode>The agent installs the CLI, learns the workflow from skills/rea-toon/SKILL.md and runs it to the end. Vision is a hard requirement: either the agent can see images (Claude Code and Codex both can), or you configure an OpenAI-compatible vision model (Gemini, Doubao, Qwen-VL) for rea-toon. The README does not name the config file or environment variables for that path — check SKILL.md and the docs in the repository.
How do you use this agent?
Start with a few episodes to check results and cost:
Break down the first 5 episodes only, so I can check the results and the cost.Then run the rest; series mode can stop and pick up where it left off:
Break down this short drama: /data/dramas/ (one video per episode, episode number in the file name)For a compilation file the agent first confirms with you where each episode starts, then splits it. When it finishes, open index.html: one bar on top switches episode and three views. Study gives the one-line hook, why viewers stay, weak spots, a reusable formula, remix ideas, the pacing curve and structure, with the evidence (emotion ledger, information gaps, characters and pairings, production load) folded at the bottom. Script gives standard short-drama script format with PDF export. Shot script gives character sheets (headshot, looks, a voice sample cut from the original vocal track) and, per shot, thumbnail, framing, what happens, lines, sound, motion and duration, also exportable to PDF. Click any "shot N" or thumbnail and that part of the original plays in the corner for verification. The same run also produces VIDEO.md and video/ for other agents and tools.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- Every claim is traceable: each call returns shot number, time, line and frame, and clicking a shot or thumbnail replays that moment of the source so errors can be fixed and pages rebuilt.
- The emotion ledger and pacing numbers are computed by code from the emotion tagged on every shot, not summarized by a model afterwards.
- Format-aware analysis: live-action, AI live-action, 2D/3D animation, motion/meme comic and commentary each get a distinct list of what to look at.
- Series-level view covering phases, recurring tropes, character arcs, setups and payoffs, episode-end hooks and paywall points, with stop-and-resume.
- Two outputs from one run: human-facing index.html pages with PDF export, and a machine-facing VIDEO.md + video/ package in the open videomd format.
- The breakdown is written in the language you talk to the agent in, while dialogue and subtitles stay in the drama's original language.
- PolyForm Noncommercial 1.0.0 only: any commercial use requires the author's written permission first.
- Token-hungry: about 30 vision calls per episode, and the README itself advises breaking down 5 episodes first to gauge cost; text-only models cannot run it at all.
- No published install command or configuration schema — setup goes through an agent reading skills/rea-toon/SKILL.md, and the API-model config keys and variable names are absent from the README.
- Local files only: links are never downloaded, and compilations must be split after confirming episode boundaries with the agent.
- Page frames are built in only for English and Chinese; other languages are written inside an English frame.
How does this agent compare with similar options?
rea-video, by the same author, answers "how was this video made?" — filmed, AI-generated or coded. rea-toon is built on it (shot cuts, voice and music separation) and adds the layer only drama has: characters, speaker-attributed lines, dramatic beats, the emotion ledger and whole-series structure. If you only need to reverse-engineer a single video's production, rea-video is the narrower fit; if you need to know why a drama works and how it is written, use rea-toon.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| rea-toon This agent | 60 · Some gaps | Agent plugin / skillFree + model costs | ★ 352 | 2d ago | Python | Codex · Claude Code · OpenAI API |
| Oh Story DSH | 66 · Some gaps | CLIFree + model costs | ★ 863 | 3d ago | JavaScript | — |
| SuperCMO Creative Skills | 71 · Some gaps | Agent plugin / skillFree + model costs | ★ 345 | 20d ago | Python | Codex · Claude Code |
| LinkedIn Skills for Claude Code and Codex | 66 · Some gaps | Agent plugin / skillFree + model costs | ★ 6.3k | today | Python | Codex · Claude Code · Claude.ai |
How does FollowAgents rate this agent?
Why each dimension lost points
Evidence shows a local CLI that ingests only local video files, does not download links, and instructs the agent to run commands rather than write its own HTML reports. However, there is no explicit least-privilege design, sensitive-data policy, or dependency security measure. least_privilege is deducted: no permission boundary is described and the agent can run arbitrary commands. user_confirmation scores: review pages, lock, exit code 3 waiting for agent answers, and confirmation before splitting compilations. data_flow_transparency scores: README explains local OCR, optional API model, token cost, and output paths. sensitive_data_handling is deducted: only a note not to commit keys and work/, with no key management or retention policy. dependency_security is deducted: dependencies have minimum versions only, no lockfile, hashes, or vulnerability scanning. external_effects scores: writes files, runs ffmpeg and optional API calls, but scope is the work directory and reruns are safe. rollback scores: keeps story.prev.json and subtitles.prev.json; redo pages does not call models. source_attribution scores: credits rea-video, VIDEO.md, RapidOCR, and includes a copyright notice.
self_consistency scores: README, AGENTS.md, SKILL.md, and cli.py broadly agree on commands, directories, and workflow. dependency_availability is deducted: public PyPI dependencies but no lockfile, plus an external rea-video repository and ffmpeg requirement, so availability is not pinned. failure_messages scores: CLI prints lint errors, uses exit code 3 for pending answers, tells users to open an issue, and distinguishes incomplete from complete runs.
audience_and_scenarios scores: covers live-action, AI live-action, 2D/3D animation, motion comics, commentary, single episodes and series, and multiple languages. capability_boundaries scores: states vision is required, only local video is supported, and documents token cost and language-frame limits. trigger_precision scores: SKILL.md description includes clear trigger phrases. environment_fit scores: requires Python 3.10+, ffmpeg, and a vision-capable agent or OpenAI-compatible vision API, all documented.
information_architecture scores: AGENTS.md describes directory layout and module responsibilities in detail; README is well sectioned. install_notes is deducted: README only covers agent-driven installation, manual setup details live in an unprovided setup.md, and pyproject lists dependencies without full install steps. naming_stability is deducted: version 0.1.0 with no naming stability commitment or migration notes. examples_and_faq scores: demo, FAQ, and format table are present. known_limitations scores: vision requirement, token cost, no link download, and non-English/Chinese page-frame limitation are stated. license scores: full PolyForm Noncommercial 1.0.0 text in LICENSE, consistent with README and pyproject. versioning_changelog is deducted: only version 0.1.0, no changelog. maintenance_responsibility is deducted: publisher is unverified and there is no explicit maintainer commitment or update path.
output_usability scores: produces index.html, VIDEO.md, SERIES.md, PDF script and storyboard, structured for both humans and models. marginal_value scores: turns a short drama into reviewable source and reports more systematically than manual shot-by-shot analysis. cost_benefit scores: warns about token consumption and suggests trying 5 episodes first, but gives no quantified cost comparison.
claim_traceability scores: every judgment is required to carry shot number, time, line, and frame, and the review page allows checking. cross_source_corroboration scores: subtitles, shot frames, and speaker labels are cross-checked, and character merges are reviewed. fact_inference_separation scores: emotion ledger and pacing curves are computed by code, while the model writes summaries, and the docs explicitly separate these.
- Publisher identity is unverified; maintenance responsibility and update path are unclear.
- License is PolyForm Noncommercial 1.0.0; commercial use requires written permission from the author.
- Dependencies are not locked and include an external rea-video repository plus ffmpeg, limiting environment reproducibility.
- Breakdown requires a vision model and can consume many tokens for long series; try 5 episodes first to validate output and cost.
- README only covers agent-driven installation; manual setup details are in an unprovided setup.md.
- No changelog; version is only 0.1.0, so upgrade compatibility is unknown.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
v0.1.0 v0.1.0 · AI 拆解学习短剧 / Break down any short drama with AI
Release notes excerpt
rea-toon v0.1.0 中文 | [English](#english) AI 拆解学习短剧的第一个版本。一部短剧为什么火、剧本怎么写、每一镜怎么拍,拆成三份给你看。 拆完得到什么 - 学习分析:一句话卖点、留人原因、短板、可复用公式、改编方向、节奏曲线;整部剧还有分阶段打法、人物弧光、伏笔回收、集尾钩子、付费卡点。 - 剧本:标准短剧剧本格式(场次、人物、△动作、带标点的台词、OS / 内心OS / 旁白),可导出 PDF。 - 分镜拆解:角色设定(头像、造型图、从原片人声轨切出的配音样本)和逐镜表(画面、景别、描述、台词、音效、动效、时长),可导出 PDF。 - VIDEO.md 拆片包:给 AI 读的开放格式,之后问这部剧的任何问题都不用重新看片。 页面上任何"镜 N"和缩略图都能点,直接播放原片的那一段。 能拆什么 真人短剧、AI 真人感短剧、2D / 3D 漫剧、动态漫画、解说类,自动识别类型。单集或整部剧都行,整部剧可以中断后续跑。片源是你自己准备好的本地视频。 怎么用 在 Claude Code、Codex 这类能跑命令、能看图的 agent 里说: ```text …View on GitHub ↗
FAQ
Do I need an API key?
What will a whole season cost?
Can it work from a video URL?
Can I use the output commercially?
What if the breakdown gets something wrong?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.