remotion
它能做什么
这项技能用 Remotion 和 React 以代码方式制作视频。由于视频是一个项目,因此可以反复编辑并重新渲染。适合想要可重复、可编辑视频的人。
适用场景
- ✓当你想把竖版短视频、产品演示或教程做成可编辑的项目时。
- ✓当你需要修改字幕、时间安排或场景,并每次渲染出新的 MP4 时。
- ✓当你想用代码构建可重复使用的视频模板,而不是一次性的片段时。
技能链接
https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/skills/remotion/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我做一段 20 秒的竖版产品演示视频,带字幕,之后还能修改。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会把你的想法整理成简短的制作说明,搭建 Remotion 项目,并把各个场景写成 React 组件。然后它会预览视频,并将其渲染为 MP4。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Remotion
Use this skill when the user wants Hermes to turn a short video idea into an editable, renderable React video project with Remotion.
Remotion is different from prompt-only AI video tools: it produces a code project. That means the agent can repeatedly edit subtitles, timing, characters, scenes, voiceover, sound effects, and visual rhythm, then render a new MP4.
Good fits include vertical short videos, product demos, story-driven animations, HUD/tech-style videos, feed ad creatives, tutorial explainers, caption-heavy clips, and reusable video templates.
Setup
If the upstream Remotion skill is not installed, install it first:
hermes skills install skills-sh/google-labs-code/stitch-skills/remotion
For a new Remotion project, scaffold from an empty folder:
npx create-video@latest --yes --blank --no-tailwind my-video
Replace my-video with a short project name based on the user's brief.
Workflow
- Turn the request into a concise production brief: purpose, audience, duration, aspect ratio, style, scenes, text, narration, music, sound effects, and output path.
- Use practical defaults when the user does not specify them: 1080x1920 for vertical short video, 1920x1080 for horizontal video, 30 fps, MP4 output, and a duration that fits the requested platform.
- Create or reuse a Remotion project.
- Build the video as React components and Remotion compositions. Keep scene data, captions, colors, timing, and copy easy to edit.
- Use Remotion primitives for timing and media:
Composition,Sequence,AbsoluteFill,Audio,Video,Img,useCurrentFrame,useVideoConfig,interpolate, andspring. - Preview in Remotion Studio while iterating:
npx remotion studio
- For non-trivial layouts, render at least one still frame to catch layout, color, and timing issues:
npx remotion still <composition-id> --scale=0.25 --frame=30
- Render the final MP4:
npx remotion render <composition-id> out/final.mp4
Implementation Guidelines
- Prefer code that is easy to revise over one-off generated visuals.
- Keep copy, scene timing, colors, and asset references in clear constants or data arrays.
- Make captions readable on mobile: high contrast, generous line height, and safe margins.
- Use deterministic animation. Avoid time-based randomness that changes between renders.
- Use Remotion's frame-based timing instead of browser timers.
- Use separate components for scenes, captions, overlays, lower thirds, and recurring visual motifs.
- When adding voiceover or sound effects, keep audio timing explicit and easy to adjust.
- When using user assets, keep their original files in the project and reference them through Remotion's asset path conventions.
Checks
Before delivery, run the strongest practical validation for the scope:
npm run build
npx remotion still <composition-id> --scale=0.25 --frame=30
npx remotion render <composition-id> out/final.mp4
If the project uses a different package script, follow that project instead. If rendering fails because of missing browser, FFmpeg, codec, or dependency setup, report the blocker and run the relevant Remotion or environment diagnostic before retrying.
Delivery
When finished, tell the user:
- the Remotion project path;
- the rendered MP4 path;
- the preview command or Studio URL if a preview server is running;
- the composition ID used for rendering;
- any assumptions about duration, aspect ratio, voiceover, music, assets, or style.
Do not stop at a concept. A Remotion video task is complete when the project is editable and the requested MP4 is rendered, unless the user explicitly asks for source code only.
常见问题
为什么要用代码,而不是只靠提示词的视频工具?
因为结果是一个项目,智能体可以持续修改字幕、时间安排和场景,并渲染出新版本。
它默认使用什么设置?
除非你另行说明,短视频默认为竖版 1080 × 1920,横版为 1920 × 1080,帧率为每秒 30 帧,输出为 MP4。
如何开始一个新项目?
该技能会在空文件夹中使用 create-video 工具创建一个空白项目。
详情
作者的原始描述
Create editable AI video projects with Remotion and React, then preview and render them to MP4. Use for vertical short videos, product demos, story-driven animations, HUD/tech visuals, feed ads, tutorial videos, subtitles, voiceover, sound effects, and code-based video iteration.
repo: EKKOLearnAI/ekko-studio
热度
- GitHub 星标
- 12k
- 排名
- #11587
- 许可证
- —
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
1password
12k帮你的智能体使用 1Password CLI 为命令和配置文件获取机密信息,同时不在聊天、日志或已保存的文件中显示这些信息。
apple-notes
12k帮你的智能体在 Mac 上使用 memo 命令行工具创建、搜索、阅读、编辑、移动或删除 Apple 备忘录。
apple-reminders
12k帮你的智能体在 Mac 上使用 remindctl 工具列出、创建、编辑、完成或删除 Apple 提醒事项及提醒列表。
document-to-action-items
12k帮你的智能体把文档、会议记录或一组笔记,整理成一张清晰的任务、负责人、截止日期和决定的表格。