Communitygithub.com

nanxnguyen/remotion-ai-agentic-studio

用于在本项目中根据已通过的 brief、脚本和语音片段构建并渲染一个 9:16 竖版 Remotion 视频短片。它封装了上游技能包 skills/video-shotcraft 的全部能力(124 张镜头卡片、演示、库组件、音频库、节拍同步、工作台、剪映导出、社交发布)。适用于 viral-tech-video-creator 已生成 docs/<video>/brief.md 并完成语音测量之后。

remotion-ai-agentic-studio 是什么?

该技能是 Remotion 视频自动化生产中一个高度专业化的编排层。它基于 skills/video-shotcraft 构建,本质上是一个路由器文件,将用户引导至该目录下的 124 张镜头卡片、参考代码、可复用组件和完整的音效库。工作流按照“自主自由创作”模式运行,跳过了上游的分步确认阶段,并假定需求 brief、脚本和语音都已就位。输出是单个 9:16 的 MP4 文件(含背景音乐),通过 scripts/pipeline.py render 渲染。该技能强制执行严格的确定性(禁止 Date.now()/Math.random())和安全区域(底部 210px 内无文本),并提供独立的最终审查、可视化调校工作台以及可选的剪映草稿导出和社交发布功能。虽然大量使用了上游的技能,但它通过引入项目特定的默认值(如渲染一个文件、从 brief 中提取风格)覆盖了上游设置,并确保所有组件布设都在 9:16 画幅内完成,而不是直接拷贝 16:9 的素材。

兼容平台✓Claude Code✓Codex CLI~Cursor✓Antigravity
npx skills add https://github.com/nanxnguyen/remotion-ai-agentic-studio/tree/HEAD/.claude/skills/video-shotcraft

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Video Shotcraft(项目版)

完整的上游技能位于 skills/video-shotcraft/(git 提交 e1d15d9,完整克隆;请勿编辑)。 本文件为路由器,而非替代品。 构建前,请完整阅读 skills/video-shotcraft/SKILL.md,然后使用下面的地图访问所有能力。除非另有说明,路径均相对于 skills/video-shotcraft/。

项目默认值(覆盖上游的“询问模式”规则)

  • 模式:自主自由创作(references/pipeline.md,阶段 0-7,无需分阶段确认)。仅在用户明确要求时切换模式:“dùng template” → template/TEMPLATE.md;“cùng làm / duyệt từng bước” → references/guided-free-creation.md;单镜头 → 从 references/shots/ 中选择一张卡片。
  • 阶段 0-3(产品 brief、视觉方向、镜头映射、分镜)已由本项目的 docs/<video>/brief.md + script.md 满足;请将它们带入设计规格书中,并附上镜头表格 | # | time | shot | key motion |。
  • 风格来自 brief,绝不能来自其他视频或 Ink Press 模板。可以借用运动语法和调优参数;但必须重新设计颜色/字体。目标是 9:16 1080×1920,因此 16:9 的配方必须重新布局,不能逐像素复制。
  • 每个视频仅渲染一个文件:out/<video_id>-<voice-slug>-reel.mp4(含 BGM),通过 scripts/pipeline.py render 完成。不要渲染无 BGM 的版本(这是用户决定,覆盖了上游的两版本规则和最终审查项 A8)。

能力地图

需求用法
浏览/挑选镜头(可视化)图库:cd gallery && python3 -m http.server 4178 → http://localhost:4178/library.html(`gallery/media/` 中已有 150 个片段;索引在 gallery/api/library.json)
镜头配方(约 124 张卡片)references/shots/<category>/(camera、data、effects、interaction、opening、outro、rhythm、transition、typography、ui-entrance);扫描 frontmatter,完整阅读所选卡片
调优的参考代码demos/<category>/;为每个选中的卡片阅读对应的演示 TSX(卡片中的“参考实现”)。绝不要仅凭卡片名称重写;“已知陷阱/命门”参数不得弱化
整片弧线references/sequences/promo-energy-arc.md
可复用组件assets/lib/(PageCam、ClipCard、DigitRoll、FlashCut、Caption、FlatPanel、VerticalTicker、辅助工具)。复制到 src/ 中,不要跨目录导入
真实页面截图(如果主题有网站/应用)assets/scripts/capture-template.mjs(2 倍全页纹理 + 元素裁剪 + layout.json)
美学自查references/aesthetic-rules.md(在构建过程中检查,不仅限于最后)
音效references/sound-design.md;音频文件在 assets/audio/ 中(bgm/ 5 首曲目,sfx/<category>/ 149 个文件;许可说明在 assets/audio/ATTRIBUTION.md)
强节拍 BGMreferences/music-beat-sync.md(先分析 BPM,然后按节拍进行故事板编排)
独立最终审查references/final-review.md(使用干净上下文的子代理)
工作台(对完成视频进行视觉调优/导出)references/workbench.md,node workbench/scripts/open.mjs <project> → http://localhost:5198(需要 src/workbench.ts 清单;交付后提供)
剪映草稿导出references/jianying-export.md(仅在请求时)
社交发布references/publish-upload-post.md(仅在请求时;先试运行,切勿对 unknown 重新运行)
现成的完整视频 + 主题template/(Ink Press,9 种调色板,template/THEMES.md);仅在请求时提供
不用于生产shot-polish/(上游内部重设计笔记),agents/openai.yaml(Codex UI 元数据),demos/_legacy

构建循环(项目)

  1. 先制作时间线(src/<name>Timeline.ts):镜头时长 = 测量后的语音时长 + ~0.5 秒(结尾 +1.4 秒);SFX 偏移量相对于镜头起始位置。
  2. 每个场景:从图库/库中选择卡片,阅读卡片 + 演示 TSX + 所需的 assets/lib 组件,并根据 brief 风格进行调整。将选中的卡片记录在 docs/<video>/design-spec.md 中。
  3. 每个场景之后:执行 npx tsc --noEmit,然后执行 npx remotion still src/index.ts <CompId> out/qa/<id>-<frame>.png --frame=N(每个镜头至少 2 帧)并查看 PNG 文件。如果样式发生任何更改,请重新渲染静态帧。
  4. 音频:将所选文件从 skills/video-shotcraft/assets/audio 复制到 public/audio/<video_id>/,并在 docs/<video>/assets-manifest.md 中记录来源/许可信息。混音时遵循生产工作流程阶段 7 的目标(BGM 背景音比语音低 12–18 dB,语音播放时额外闪避 4–6 dB),而不是固定的百分比。
  5. 通过 python3 -I scripts/pipeline.py render <video_id> 渲染,使用 ebur128/volumedetect 验证响度,并生成联系表。
  6. 由使用干净上下文的子代理按照 references/final-review.md + skills/viral-tech-video-creator/references/qa-checklist.md 进行独立审查;修复发现问题后重新渲染。
  7. 交付后:提供工作台,以及(仅在询问时)剪映导出/发布功能。

确定性:禁止 Date.now()/Math.random()。安全区域:底部 210px 内无文本。上游作者署名和展示邀请为可选项:仅在交付时最多提及一次,且仅当用户表现出兴趣时。

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

nanxnguyen/remotion-ai-agentic-studio

Produce or change a deterministic Remotion video through evidence-backed agent stages and review gates.

nanxnguyen/remotion-ai-agentic-studio

Use when producing a new Vietnamese vertical video in this repository from idea or source material through voice, Remotion scenes, review, and final MP4 delivery.

nanxnguyen/remotion-ai-agentic-studio

Writes short-form video scripts (YouTube Shorts, TikTok, Instagram Reels, 30 to 60 s) in the creator's own voice from video-agent/voice.md, with optimized hooks and a humanize pass so nothing sounds like AI. Use when the user asks for scripts, script ideas, "write my shorts", this week's videos, a hook, a better hook, to rewrite or tighten a script, or to humanize any text (humanize, sounds like AI, sounds robotic, make it sound like me, a caption or description before posting). Starts from what happened in their week, writes 3 hooks per script from 22 formulas, scores them, adds a re-hook, checks timing at their pace, adds visual notes, removes AI tells (invisible characters, AI words in English and French, AI sentence shapes) while keeping every fact, and saves the week to video-agent/scripts/.

nanxnguyen/remotion-ai-agentic-studio

Write and critique viral hooks for short-form video: the opening 1 to 3 seconds that decide whether anything else gets seen. Use this when you need a batch of hook ideas for a video, want to make a weak opening line stronger, are picking which hook archetype fits an idea, or want a critique of a draft hook against proven patterns. Covers the three-layer hook (visual, verbal, on-screen text), the named-creator frameworks (Kallaway, MrBeast, Hormozi, Brunson, Koe, Welsh, Bush, Galloway), scroll-stopping hook tactics, and the anti-patterns that tank first-three-seconds retention. Works across TikTok, Reels, and Shorts. Pattern-based guidance that improves the odds. It does not guarantee virality.

相关技能