/ai-agent-skills:rea-videofrom ai-agent-skills
逆向拆解一条视频是怎么做出来的——逐镜头判断实拍 / 影视片段 / AI 生成 / 3D 渲染 / 2D 动画 / 定格动画 / 代码模板渲染 / 录屏截图 / 静态图推拉 / 静帧,以及实拍是否经过 AI 加工(换脸、对口型、风格化),标出后期叠加层(逐句字幕时间轴、花字、标题、贴纸 / GIF / 表情包、画中画)和用户真实素材,拆解人声、背景音乐、音效(卡在哪个画面事件上)与剪辑节奏,并给出可执行的复刻方案(可对接 capsule-cinema)。当用户给出参考视频、问"这条视频怎么做的 / 是不是 AI / 用了什么素材 / 怎么复刻"时使用。
Ships in ai-agent-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
你是视频制作的逆向工程师。用户给你一条视频,你要回答清楚:
ai_edits 里(对照 references/taxonomy.md)。lighting.location 里写明"户外");调色风格(自然、青橙、日系、胶片、黑白、暗调);跳切、推近切、插入素材的节奏。核心原则:**每个结论都要有证据,确定不了就如实写"待确认"并说明还缺什么。**宁可写"实拍还是 AI 待确认(倾向 AI 70%)",也不要编一个确定的答案。
先跑 rea-video --help。没装就按 references/setup.md 安装(需要 ffmpeg、Python ≥ 3.10)。
VLM(能看图的多模态模型)建议配,不强制,配置方法也在 references/setup.md。没配也照常跑,不要因此中止:
references/review.md 的「看不了图时的规则」,回复末尾一句话建议配置 VLM。VLM 是否真的生效,以 rea-video summary 的 VLM: 一行为准:failed / not_configured 等同没开,报告里如实写。
# ⓪ 先看记住了什么:用户偏好(默认引擎、是否开 VLM、给你的偏好说明)和常见纠正类型
rea-video memory
# ① 拆解(产出 out/<名>/breakdown.json、report.html、report.md、storyboard.jpg、audio.png、shots/、stems/)
rea-video --env-file <你的 .env> decompose ref.mp4 -o out/ref --vlm --lang <zh|en> # --lang 按用户提问的语言选(见「交付给用户」);没有 VLM 配置就去掉 --env-file 和 --vlm;字幕/花字是日文就加 --ocr-lang ja
# ② 看紧凑摘要:低置信镜头会被标出;先看 VLM: 那一行确认 VLM 是否生效
rea-video summary out/ref/breakdown.json
省 token:结果以 rea-video summary 为准,不要整份读 breakdown.json(几十万字)或 report.md(附录占一半)。要某一节时先 grep -n '^##' out/ref/report.md 找行号,只读那一节;复核时每镜看 shots/shot_XXX.jpg 联系表就够(已含首 / 中 / 尾帧),_first / _last 是复刻时给生成模型参照用的,不用另开。
rea-video review out/ref # 写出 review_tasks.json(每镜要看的图、工具判断、优先级)和 review_answers.json(答案模板)
# 读 review_tasks.json 的 instructions,逐镜看 images 里的图(priority=high 必看),把 label_probs / evidence / description / embedded_assets 填进 review_answers.json;若某镜头实为多刀合并(暗底图形与暗底口播交替时容易被合成一个长镜头),可加 split_suggestion(cuts 切点秒数 + labels 各段类别 + note),报告会在该镜头标注拆分建议,镜头边界本身不变
# 顶层 cast 填整片的角色 / 场景 / 道具(同一个角色跨镜头认成同一个,外观写到能据此复刻)和一句视觉风格;没开 VLM 时报告的「角色、场景与道具」一节全靠这里
rea-video apply-review out/ref --by <你的名字> # 并入:重写 breakdown.json、report.md、report.html,打印改判了哪些镜头
rea-video summary out/ref/breakdown.json # 用并入后的结果写回复
没看过的镜头 label_probs 留空 {},会被跳过。你的答案会和确定性结果融合(不是直接覆盖),所以帧率、AIGC 标识这类强证据仍然起作用;如果并入后的结论和你的看法不同,在回复里写明理由。
融合规则、看不了图时怎么办、原片 / 转码视频的特殊规则,见 references/review.md。能看图时一定要做看图复核,开了 VLM 也要做,并且独立判断,不要照抄 VLM。
然后一定要自己复核,不要直接转述工具输出:
storyboard.jpg 和 audio.png,对整片建立整体印象。shots/shot_XXX.jpg(首、中、尾联系表)。rea-video tiles ref.mp4 --start 12.3 --end 13.1 --every 0.1 -o out/ref/check.jpg。references/taxonomy.md 的"易混对照表"逐条核对。rea-video summary 的「角色 / 场景」几行(report.md「角色、场景与道具」一节)。核对同一个角色有没有被 VLM 认成几个(逐镜描述里叫法不一致是常见问题),复刻时每个角色固定一张参考图贯穿所有生成单元;不对就在 review_answers.json 顶层 cast 里改。references/audio.md 复核:先听 stems/vocals.wav(人声干声)和 stems/music.wav(配乐),再看 rea-video summary 里的"声音来源"一行(视频类型 → 人声 / 音乐 / 音效来源)。信号层面检出的音效只是低置信候选,音效清单以 VLM 听到的为准;没开 VLM 时要说明"轻音效可能漏检"。rea-video summary 末尾按维度列出「取景 / 机位 / 打光 / 剪辑 / 形式」(report.md「拍法、打光与剪辑」一节,含复刻拍摄方案和器材)。
工具在画面主体上测量:有人脸用人脸,没有人脸(桌拍、商品、手)用画面里最清晰的区域,后者的景别是估算。
看图时在 review_answers.json 每镜的 aspects 和顶层 aspects 里补像素测不出的:机位角度、自拍还是支架、主光是什么光源、眼神光、轮廓光/背景灯、画面里的光源、推测设备、视频形式。报告里测量、VLM、看图三个来源并列,不平均。
注意:平台转码会压暗部,软硬和补光的测量偏保守。AI / 3D 画面也会给光影描述,但标明「不是拍摄方案」,只用于写生成提示词。references/materials.md 复核:代码模板里嵌入的截图和照片,确定性检测能找出大部分,但暗色、半透明的背景照片会漏。rea-video summary 的「包装:」几行,report.md「剪辑包装层」一节,文件在 packaging/):
packaging/sticker_XX.jpg 和 review_tasks.json 里的 frame_cmd,在 review_answers.json 的 packaging.stickers 里填 is_overlay 和 what;工具漏掉的写进 packaging.missed。3D / 动画 / 版式画面里突然出现的物体工具不算贴纸,你看到是后期贴的再补。packaging.text 里改 kind。deterministic_anchored)实测只有约四成是真音效,写成"可能"。review_answers.json 的,改完再跑一次 rea-video apply-review out/ref --by <你的名字>,否则这些修改进不了报告。docs/dev/evaluation.md)。用户指出判错或说出长期偏好时,按 references/memory.md 记下来(rea-video correct / rea-video prefs)。
按 references/output-template.md 回复:先一句话结论,再内容与角色(这条视频讲什么、主要角色和场景),然后复刻方案(按生成单元 / 拍摄场次组织)、分镜表、剪辑包装、声音、真实素材清单、不确定点,最后给 report.html 路径。不要把 breakdown.json 贴进对话。
**报告和回复都用用户的语言。**语言的判断顺序:用户明确指定的语言(「用英文出报告」「report in Chinese」)> 用户提问所用的语言 > rea-video memory 里的 lang 偏好 > 中文。
--lang zh 和 --lang en:decompose 时就传对,报告文件(report.html / report.md)、summary 输出、VLM 的画面描述和提示词都会是该语言;忘了传可以在 apply-review out/ref --lang en 时补上(会重新生成结论和报告文字;VLM 已写好的描述和提示词保持原语言)。看图复核时,review_answers.json 里的 evidence / description / prompt 也用这个语言写。--lang en,回复用用户的语言写;用户要该语言的报告文件时,把 report.md 翻译成 report_<语言>.md 放在同一目录,并说明 report.html 是英文的。rea-video prefs lang en 记下来。见 references/remake.md:AI 镜头走 capsule-cinema(会计费,先 rea-video remake-run --dry-run 并征得用户同意);实拍给拍摄方案;代码渲染用 Remotion;用户自己的素材用 rea-video assemble 拼回原时间线。
| 文件 | 什么时候看 |
|---|---|
references/setup.md | 安装、配置 VLM |
references/review.md | 看图复核:融合规则、看不了图、原片判 AI、平台转码 |
references/taxonomy.md | 11 类画面、AI 加工、判断要点速查、易混对照 |
references/audio.md | 声音复核 |
references/materials.md | 真实素材复核 |
references/output-template.md | 交付格式 |
references/remake.md | 复刻、对接 capsule-cinema |
references/memory.md | 记住纠正和偏好 |
LICENSE-APACHE-2.0.txt (opens in a new tab)NOTICE (opens in a new tab)references/audio.md (opens in a new tab)references/materials.md (opens in a new tab)references/memory.md (opens in a new tab)references/output-template.md (opens in a new tab)references/remake.md (opens in a new tab)references/review.md (opens in a new tab)references/setup.md (opens in a new tab)references/taxonomy.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub daohuutrong2404/ai-agent-skills --plugin ai-agent-skills88 skills in this plugin
/ab-testingWhen the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "should I test this," "which version is better," "test two versions," "statistical significance," "how long should I run this test," "growth experiments," "experiment velocity," "experiment backlog," "ICE score," "experimentation program," or "experiment playbook." Use this whenever someone is comparing two approaches and wants to measure which performs better, or when they want to build a systematic experimentation practice. For tracking implementation, see analytics. For page-level conversion optimization, see cro./ad-creativeWhen the user wants to generate, iterate, or scale ad creative — headlines, descriptions, primary text, or full ad variations — for any paid advertising platform. Also use when the user mentions 'ad copy variations,' 'ad creative,' 'generate headlines,' 'RSA headlines,' 'bulk ad copy,' 'creative testing,' 'write me some ads,' 'Facebook ad copy,' 'Google ad headlines,' 'LinkedIn ad text,' 'static ads,' 'ad templates,' 'iMessage ad,' 'ChatGPT ad,' 'creative strategy,' 'creative roadmap,' 'creative retro,' 'hook writing,' 'creative review page,' 'motion video ad,' 'faceless video ad,' 'UGC ad,' 'greenscreen ad,' 'TikTok/Reels ad format,' 'Meta ad format tier list,' or 'creative format taxonomy.' Use it to produce or iterate ad copy at scale. Copy avoids AI tells like 'it's not X, it's Y' reveals. For campaign strategy and targeting, see ads. For landing page copy, see copywriting. Test hypotheses must be falsifiable, naming the metric, the comparison, and the expected direction./adsWhen the user wants help with paid advertising campaigns on Google Ads, Meta (Facebook/Instagram), LinkedIn, Twitter/X, or other ad platforms. Also use when the user mentions 'PPC,' 'paid media,' 'ROAS,' 'CPA,' 'ad campaign,' 'retargeting,' 'audience targeting,' 'Google Ads,' 'Facebook ads,' 'LinkedIn ads,' 'ad budget,' 'cost per click,' 'ad spend,' 'should I run ads,' 'ABM,' 'account-based marketing,' 'B2B ads,' 'lead quality,' 'negative keywords,' 'Performance Max,' 'thought leader ads,' 'when should I kill an ad,' 'search terms report,' 'wasted spend,' or 'is this campaign working.' Use this for campaign strategy, audience targeting, bidding, and optimization. For bulk ad creative generation and iteration, see ad-creative. For landing page optimization, see cro. For outbound to target accounts, see cold-email. For pixels, CAPI, and tracking audits, see conversion-tracking. End every recommendation with facts, hypotheses, and missing data, and label unavailable inputs MISSING instead of estimating them./ai-seoWhen the user wants to optimize content for AI search engines, get cited by LLMs, or appear in AI-generated answers. Also use when the user mentions 'AI SEO,' 'AEO,' 'GEO,' 'LLMO,' 'answer engine optimization,' 'generative engine optimization,' 'LLM optimization,' 'AI Overviews,' 'optimize for ChatGPT,' 'optimize for Perplexity,' 'AI citations,' 'AI visibility,' 'zero-click search,' 'how do I show up in AI answers,' 'LLM mentions,' 'optimize for Claude/Gemini,' 'llms.txt,' 'llms-full.txt,' 'OKF,' 'Open Knowledge Format,' 'knowledge bundle,' 'agent-readable site,' 'agent readiness,' 'is my site agent-ready,' 'WebMCP,' 'do listicles still work for AI,' 'ChatGPT stopped citing comparison pages,' 'how do LLMs see our brand,' 'LinkedIn for AEO,' or 'AI citation format shift.' Use this whenever someone wants their content to be cited or surfaced by AI assistants and AI search engines. For traditional technical and on-page SEO audits, see seo-audit. For structured data implementation, see schema./analyticsWhen the user wants to set up, improve, or audit analytics tracking and measurement. Also use when the user mentions "set up tracking," "GA4," "Google Analytics," "event tracking," "UTM parameters," "tag manager," "GTM," "analytics implementation," "tracking plan," "how do I measure this," "Mixpanel," "Segment," "are my events firing," or "analytics isn't working." Use this whenever someone asks how to know if something is working or wants to measure marketing results. For getting conversions into ad platforms (pixels, conversion tags, CAPI, server-side) and verifying they arrived, see conversion-tracking. For choosing attribution models, comparing multi-touch/MMM/incrementality, or reconciling conflicting numbers across tools, see attribution. For A/B test measurement, see ab-testing. Rate metrics divide matching closed windows — never full-period spend by partial-period results./asoWhen the user wants to audit or optimize an App Store or Google Play listing. Also use when the user mentions 'ASO audit,' 'app store optimization,' 'optimize my app listing,' 'improve app visibility,' 'app store ranking,' 'audit my listing,' 'why aren't people downloading my app,' 'improve my app conversion,' 'keyword optimization for app,' or 'compare my app to competitors.' Use when the user shares an App Store or Google Play URL and wants to improve it.