Communitygithub.com

hashgraph-online/awesome-codex-plugins

用于构建、审查或重构 Remotion 项目,尤其是参数化启动或演示视频,涉及共享 props schema、calculateMetadata、Sequence 和 Series 时间线、多宽高比、终端或素材层以及渲染脚本。因为包行为可能变化,API 细节请优先参考官方 Remotion 文档或 MCP。

awesome-codex-plugins 是什么?

此技能专为使用 Remotion 框架的开发者设计,用于构建、审查或重构参数化启动视频或演示视频项目。它提供了一套完整的构建顺序和最佳实践指导,涵盖从 props schema 建模、calculateMetadata 动态设置、Scene 结构组织到渲染脚本编写的全过程。该技能特别强调使用 Zod 定义共享 props、利用 Series 和 Sequence 实现复杂时间线、处理多宽高比输出、以及支持可选素材(none/placeholder/real)模式。支持在所有主流 AI 编码代理(如 Cursor、Claude Code)中使用,其指导基于 Remotion v4.x 语法,并会提示当 API 行为变更时优先参考官方 Remotion MCP 或文档。此外,它内置了针对 Millrace 启动视频的专用参考文件链接,确保项目实现符合特定要求。

兼容平台~Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/hashgraph-online/awesome-codex-plugins/tree/HEAD/plugins/tim-osterhus/codex-remotion-plugin/skills/remotion-video-builder

在你喜欢的 AI 中提问

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

文档

Remotion 视频构建器

您的 Remotion 知识可能已经过时。当需要确切的 API 行为时,请优先使用官方的 remotion-documentation MCP 服务器或 remotion.dev 上的文档。

从这里开始

  • 如果项目尚不存在,请使用 npx create-video@latest 搭建,并优先选用空白模板。
  • 确保所有 remotion 和 @remotion/* 包的版本完全相同,避免使用 caret 范围。
  • 标准的入口结构:
    • src/index.ts 调用 registerRoot()
    • src/Root.tsx 使用 <Composition> 或 <Still> 注册所有视频

构建顺序

  1. 首先建模输入契约:
    • 顶层 props schema
    • 时间线或事件数据
    • 渲染配置文件
  2. 使用 zod 定义共享 props,并将 schema 传递给每个 <Composition>。
  3. 使用 calculateMetadata 派生 durationInFrames、width、height、转换后的 props 以及 defaultOutName。
  4. 使用 <Series> 构建叙事顺序的场景结构,使用 <Sequence> 构建覆盖层、进场、素材窗口和标注。
  5. 在 Remotion v4.x 项目中,对于需要在其出现前加载资源的 <Sequence> 元素,显式设置 premountFor。
  6. 在打磨动画之前添加示例数据和渲染脚本。

默认值与规则

  • 除非另有说明,默认 fps={30},横屏为 1920x1080。
  • 使用 AbsoluteFill 进行分层。
  • 使用 staticFile() 处理来自 public/ 的内容。
  • 使用 useCurrentFrame() 和 useVideoConfig() 实现基于帧的逻辑。
  • 优先选择微妙的动效:
    • 高阻尼的 spring()
    • 带夹紧的 interpolate()
  • 不要使用 Math.random()。请使用 remotion 中的 random(seed)。
  • 保持文本动画简单且清晰易读。
  • 除非需求确实要求不同,否则保持横屏和竖屏输出使用相同的业务逻辑。

参数化视频清单

  • 一个共享的顶层 z.object() schema
  • 与组件 prop 形状匹配的 defaultProps
  • 当输入需要时,calculateMetadata 返回动态的持续时间或尺寸
  • 用于本地预览的示例 JSON 或 TypeScript 数据
  • 每个目标输出的渲染脚本

素材策略

当素材为可选时,至少支持以下模式:

  • none
  • placeholder
  • real

即使没有真实素材,时间线和覆盖层也应正常渲染。

Millrace 启动视频

如果请求涉及 Millrace 或启动视频管道,请在实施之前阅读 references/millrace-launch-video.md。

参考资料

Individual skills in this repo

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

hashgraph-online/awesome-codex-plugins

Explicit landing-page build and deploy operator. Loads marketing and frontend judgment, scaffolds the smallest suitable site, verifies it rendered, deploys to the configured target.

hashgraph-online/awesome-codex-plugins

Use whenever the task involves inspecting, modifying, or building plugins for Bethesda games via the forked xEdit automation daemon. Loads first; routes to the right path (MCP intent tool, MCP atomic passthrough, or sub-agent delegation) and prevents the agent from bypassing the harness.

hashgraph-online/awesome-codex-plugins

Use when the user's video is on disk - VidSeeds MCP probe, frame/clip extraction, ffmpeg recipes, precision trim, and midroll analysis. Hosted tools return commands/recipes to run locally; media stays on the user's machine.

hashgraph-online/awesome-codex-plugins

Show or change the Cassette editing model and thinking level for the current media session. Invoke only when the user explicitly asks for the model picker, wants to inspect the current Cassette model, or requests a model/thinking change.

hashgraph-online/awesome-codex-plugins

Edit, trim, cut, caption, subtitle, reframe, combine, add background music to, or export video, audio, and image files through Cassette. Use this skill whenever the user asks to change, preview, or render a media file in the project — even if they never say "Cassette" or name a tool — for example "trim the intro off demo.mp4", "add subtitles to this clip", "make me a 30-second cut with music", "why is there dead air at the start". Drives the local Oh My Cassette stdio MCP tools in Codex or Claude as one multi-turn conversation with the Cassette agent, with per-turn timeline previews, guided questions, and rendering only on explicit export.

hashgraph-online/awesome-codex-plugins

Build reusable Manim explainers for technical concepts, graphs, system diagrams, and product walkthroughs, then hand off to the wider ECC video stack if needed. Use when the user wants a clean animated explainer rather than a generic talking-head script.

hashgraph-online/awesome-codex-plugins

Best practices for Remotion - Video creation in React. 29 domain-specific rules covering 3D, animations, audio, captions, charts, transitions, and more.

hashgraph-online/awesome-codex-plugins

Audit a landing page across six conversion dimensions — above-fold clarity, trust signals, form friction, message match against the upstream ad or email, page speed, and mobile experience — each scored 1-10, rolled into an overall score benchmarked against industry averages, with the top 5 fixes ranked by expected conversion impact. Assessment and recommendations only; it does not edit the page. Triggers on \"/digital-marketing-pro:landing-page-audit\", \"audit this landing page\", \"why isn't this page converting\", \"score our signup page\", \"does the page match the ad copy\". Reads the brand profile, guidelines, custom templates, and agency SOPs before scoring.

hashgraph-online/awesome-codex-plugins

Use when you need a single-pane cross-repo health view across all vault-registered GitLab and GitHub projects. Discovers repos from `_overview.md` frontmatter in `<vault>/01-projects/*/`, aggregates open issues, MRs, critical labels, and stale signals via parallel `glab`/`gh` calls, then writes an idempotent `_PORTFOLIO.md` dashboard. Runs automatically at session-start Phase 2 when `gitlab-portfolio.enabled=true`. Triggers: "show portfolio status", "refresh the portfolio dashboard", "which repos have critical issues", "run /portfolio". <example>Context: session-start, gitlab-portfolio.enabled=true, vault has 5 registered repos. user: "/session deep" assistant: "Portfolio: 3 critical issues across 2 repos — run /portfolio for details. Dashboard written to vault/01-projects/_PORTFOLIO.md."</example>

hashgraph-online/awesome-codex-plugins

Aggregate cross-repo issue/MR/CI health across vault-registered projects into a single Markdown dashboard

hashgraph-online/awesome-codex-plugins

Inspect all configured fantasy teams, saved players, lineup analysis, and transaction proposals through the portfolio MCP. Open the local dashboard for visual review and exact proposal approval.

相关技能