Token导航 LogoToken导航

Agent Skill · 开发

remotion-video(Remotion video 开发)

用于辅助视频生成、动画合成、脚本化剪辑或 Remotion 等视频项目开发。它适合让 Agent 组织镜头、生成素材说明、维护合成代码或排查渲染问题。使用时需要确认分辨率、时长、素材路径和导出格式;涉及外部素材、人物肖像或商业发布时,应先核对版权授权和内容审核要求。

remotion-video 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描有未通过项,按安装量在开发类的 21,746 个 Skill 里排第 12,805。

总安装 1,123周安装 45GitHub Stars 134下载 364核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:remotion-video(Remotion video 开发)
来源仓库:https://github.com/absolutelyskilled/absolutelyskilled
仓库路径:skills/remotion-video
安装命令:
npx skills add https://github.com/absolutelyskilled/absolutelyskilled --skill remotion-video
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/absolutelyskilled/absolutelyskilled --skill remotion-video

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

remotion-video 支持基于 React 的视频项目开发与自动化渲染流程。适合制作动画演示、数据可视化视频或批量生成个性化内容。涵盖镜头编排、帧级动画控制、音频集成及多格式导出等核心能力。涉及外部素材或人物肖像时,应提前核查版权许可与合规要求。部署前请确认目标分辨率、时长限制及服务器资源是否满足渲染需求。

来源仓库内路径:skills/remotion-video

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/absolutelyskilled/absolutelyskilled --skill re…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

remotion-video 怎么安装?

在终端执行 npx skills add https://github.com/absolutelyskilled/absolutelyskilled --skill remotion-vid…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

remotion-video 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

remotion-video 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

remotion-video 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

remotion-video 用的人多吗?

公开数据是累计安装 1,123 次,近一周安装 45 次,下载 364 次,GitHub 134 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

remotion-video 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
remotion-video

Remotion video 开发 · 本页

1,123134需要联网未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

When this skill is activated, always start your first response with the:clapper: emoji.

Remotion Video

Remotion is a framework for creating videos programmatically using React. Instead of timeline-based editors, you write compositions as React components where every frame is a function of the current frame number. This gives you the full power of TypeScript, npm packages, and component-based architecture for building videos - from animated explainers and social media clips to data-driven visualizations and personalized video at scale.

This skill covers project setup, composition structure, frame-based animations with interpolate and spring, scene sequencing, asset management, audio integration, parametrized videos with Zod schemas, and rendering to MP4/WebM via CLI or programmatic APIs.


When to use this skill

Trigger this skill when the user:

  • Wants to create a video programmatically using React/TypeScript
  • Asks about Remotion compositions, useCurrentFrame, or useVideoConfig
  • Needs to animate text, elements, or transitions between scenes
  • Wants to render a video to MP4, WebM, or GIF from code
  • Asks about spring animations, interpolate, or frame-based timing
  • Needs to set up a new Remotion project from scratch
  • Wants to add audio, images, or fonts to a Remotion video
  • Asks about parametrized/data-driven video generation
  • Needs to configure Remotion Studio for previewing compositions

Do NOT trigger this skill for:

  • General React questions unrelated to video creation - use React skills
  • Video editing with traditional timeline tools (Premiere, DaVinci, FFmpeg CLI)
  • CSS animations for web pages - use absolute-ui skill
  • Video playback or streaming in web apps - use media player skills

Key principles

  1. Every frame is a pure function - A Remotion component receives the current frame via useCurrentFrame() and must render deterministically for that frame. No side effects, no randomness without seeds, no reliance on wall-clock time. The same frame number must always produce the same visual output.
  2. Compositions are the unit of video - Each <Composition> defines a video with explicit dimensions (width, height), frame rate (fps), and duration (durationInFrames). Think of compositions as "pages" in your project - one per video variant or scene that can be rendered independently.
  3. Interpolate for everything - The interpolate() function maps frame numbers to any numeric value (opacity, position, scale, color channels). Combined with extrapolateRight: 'clamp', it is the workhorse for all animations. Use spring() when you need physics-based easing.
  4. Sequence for time offsets - Use <Sequence from={frame}> to delay when children start appearing, and <Series> to play children one after another. Never use setTimeout or manual frame math for sequencing - the declarative primitives handle it correctly across preview and render.
  5. Assets are static, data is dynamic - Put images, fonts, and audio files in the public/ folder and reference them with staticFile(). For dynamic data (API responses, database records), use delayRender() / continueRender() to pause rendering until the data is loaded.

Core concepts

Composition structure

Every Remotion project has a root file that registers compositions:

import { Composition } from 'remotion';
import { MyVideo } from './MyVideo';

export const RemotionRoot: React.FC = () => {
  return (
    <Composition
      id="MyVideo"
      component={MyVideo}
      durationInFrames={150}
      fps={30}
      width={1920}
      height={1080}
    />
  );
};

Frame-based timing

All timing in Remotion is expressed in frames, not seconds. To convert:

  • Seconds to frames: seconds * fps
  • Frames to seconds: frame / fps

At 30 fps, a 5-second video is 150 frames. Frame 0 is the first frame.

Animation model

Remotion provides two core animation primitives:

PrimitiveUse caseExample
interpolate()Linear/clamped mapping from frame to valueFade, slide, scale
spring()Physics-based animation with damping/massBouncy entrances, natural motion

Both return a number you apply to styles (opacity, transform, etc.).


Common tasks

1. Set up a new Remotion project

npx create-video@latest

This scaffolds a project with TypeScript, a sample composition, and Remotion Studio configured. The project structure will be:

my-video/
  src/
    Root.tsx          # Registers all compositions
    MyComp.tsx        # Your first composition component
  public/             # Static assets (images, fonts, audio)
  remotion.config.ts  # Remotion configuration
  package.json

Start the preview studio with:

npx remotion studio

2. Create a basic composition with useCurrentFrame

import { AbsoluteFill, useCurrentFrame, useVideoConfig, interpolate } from 'remotion';

export const FadeInText: React.FC = () => {
  const frame = useCurrentFrame();
  const { fps } = useVideoConfig();

  const opacity = interpolate(frame, [0, 30], [0, 1], {
    extrapolateRight: 'clamp',
  });

  const translateY = interpolate(frame, [0, 30], [20, 0], {
    extrapolateRight: 'clamp',
  });

  return (
    <AbsoluteFill
      style={{
        justifyContent: 'center',
        alignItems: 'center',
        backgroundColor: '#0f0f0f',
      }}
    >
      <h1
        style={{
          fontSize: 80,
          color: 'white',
          opacity,
          transform: `translateY(${translateY}px)`,
        }}
      >
        Hello Remotion
      </h1>
    </AbsoluteFill>
  );
};

3. Animate text word by word

Split text into words and stagger each word's appearance using <Sequence>:

import { AbsoluteFill, Sequence, useCurrentFrame, interpolate } from 'remotion';

const AnimatedWord: React.FC<{ children: string }> = ({ children }) => {
  const frame = useCurrentFrame();
  const opacity = interpolate(frame, [0, 15], [0, 1], {
    extrapolateRight: 'clamp',
  });
  const translateY = interpolate(frame, [0, 15], [10, 0], {
    extrapolateRight: 'clamp',
  });

  return (
    <span
      style={{
        display: 'inline-block',
        opacity,
        transform: `translateY(${translateY}px)`,
        marginRight: 12,
      }}
    >
      {children}
    </span>
  );
};

export const WordByWord: React.FC<{ text: string }> = ({ text }) => {
  const words = text.split(' ');

  return (
    <AbsoluteFill
      style={{
        justifyContent: 'center',
        alignItems: 'center',
        backgroundColor: '#1a1a2e',
        flexWrap: 'wrap',
        padding: 100,
      }}
    >
      {words.map((word, i) => (
        <Sequence key={i} from={i * 8}>
          <AnimatedWord>{word}</AnimatedWord>
        </Sequence>
      ))}
    </AbsoluteFill>
  );
};

4. Element animations with spring

Use spring() for physics-based animations that feel natural:

import { AbsoluteFill, useCurrentFrame, useVideoConfig, spring } from 'remotion';

export const SpringCard: React.FC = () => {
  const frame = useCurrentFrame();
  const { fps } = useVideoConfig();

  const scale = spring({
    frame,
    fps,
    config: { damping: 200, stiffness: 100, mass: 0.5 },
  });

  const slideUp = spring({
    frame: frame - 10,
    fps,
    config: { damping: 12, stiffness: 100 },
  });

  return (
    <AbsoluteFill style={{ justifyContent: 'center', alignItems: 'center', backgroundColor: '#0d1117' }}>
      <div
        style={{
          width: 400,
          height: 250,
          backgroundColor: '#161b22',
          borderRadius: 16,
          transform: `scale(${scale}) translateY(${(1 - slideUp) * 50}px)`,
        }}
      >
        <p style={{ color: 'white', fontSize: 32 }}>Spring Animation</p>
      </div>
    </AbsoluteFill>
  );
};

5. Scene transitions with Sequence and Series

Use <Sequence> for overlapping scenes and <Series> for sequential playback:

import { AbsoluteFill, Sequence, Series, useCurrentFrame, interpolate } from 'remotion';

const Scene: React.FC<{ color: string; title: string }> = ({ color, title }) => {
  const frame = useCurrentFrame();
  const opacity = interpolate(frame, [0, 20], [0, 1], {
    extrapolateRight: 'clamp',
  });

  return (
    <AbsoluteFill style={{ backgroundColor: color, justifyContent: 'center', alignItems: 'center' }}>
      <h1 style={{ color: 'white', fontSize: 72, opacity }}>{title}</h1>
    </AbsoluteFill>
  );
};

export const MultiScene: React.FC = () => {
  return (
    <AbsoluteFill>
      <Series>
        <Series.Sequence durationInFrames={60}>
          <Scene color="#e63946" title="Scene One" />
        </Series.Sequence>
        <Series.Sequence durationInFrames={60}>
          <Scene color="#457b9d" title="Scene Two" />
        </Series.Sequence>
        <Series.Sequence durationInFrames={60}>
          <Scene color="#2a9d8f" title="Scene Three" />
        </Series.Sequence>
      </Series>
    </AbsoluteFill>
  );
};

6. Asset handling (images, fonts, staticFile)

Reference static assets from the public/ folder using staticFile():

import { AbsoluteFill, Img, staticFile } from 'remotion';

export const AssetDemo: React.FC = () => {
  return (
    <AbsoluteFill style={{ justifyContent: 'center', alignItems: 'center' }}>
      <Img
        src={staticFile('logo.png')}
        style={{ width: 300, height: 300 }}
      />
    </AbsoluteFill>
  );
};

Load custom fonts with @remotion/google-fonts or CSS @font-face:

import { loadFont } from '@remotion/google-fonts/Inter';

const { fontFamily } = loadFont();

export const FontDemo: React.FC = () => {
  return (
    <AbsoluteFill style={{ justifyContent: 'center', alignItems: 'center' }}>
      <h1 style={{ fontFamily, fontSize: 64, color: 'white' }}>
        Custom Font
      </h1>
    </AbsoluteFill>
  );
};

7. Audio integration

Add audio with volume control and timing:

import { AbsoluteFill, Audio, Sequence, staticFile, interpolate } from 'remotion';

export const WithAudio: React.FC = () => {
  return (
    <AbsoluteFill style={{ backgroundColor: '#000' }}>
      <Audio
        src={staticFile('background-music.mp3')}
        volume={(f) =>
          interpolate(f, [0, 30, 120, 150], [0, 0.8, 0.8, 0], {
            extrapolateLeft: 'clamp',
            extrapolateRight: 'clamp',
          })
        }
      />
      <Sequence from={15}>
        <Audio src={staticFile('whoosh.mp3')} volume={0.5} />
      </Sequence>
    </AbsoluteFill>
  );
};

8. Rendering videos

Render to MP4 from the command line:

# Render default composition
npx remotion render src/index.ts MyVideo out/video.mp4

# Render at 4K resolution
npx remotion render src/index.ts MyVideo out/video.mp4 --width 3840 --height 2160

# Render to WebM
npx remotion render src/index.ts MyVideo out/video.webm --codec vp8

# Render a specific frame range
npx remotion render src/index.ts MyVideo out/video.mp4 --frames 0-90

# Render with custom props
npx remotion render src/index.ts MyVideo out/video.mp4 --props '{"title": "Hello"}'

For programmatic rendering, see references/rendering-guide.md.


Anti-patterns / common mistakes

MistakeWhy it is wrongWhat to do instead
Using Math.random() without a seedProduces different output per frame during renderUse a deterministic seed or random() from Remotion
Using setTimeout / setIntervalBreaks frame-based rendering - timers do not advance per frameUse useCurrentFrame() and frame math for all timing
Missing extrapolateRight: 'clamp'Values overshoot beyond the target range on later framesAlways add {extrapolateRight: 'clamp'} to interpolate()
Hardcoding fps in frame calculationsBreaks when composition fps changesUse useVideoConfig().fps to derive timing
Using <Video> for rendered outputSlower rendering performance due to seeking overheadUse <OffthreadVideo> for better render performance
Forgetting delayRender() for async dataRenders before data loads, showing empty/broken framesCall delayRender() immediately, continueRender() when ready
Inline styles with non-deterministic valuesFlickers or inconsistency between preview and renderDerive all style values from the frame number only
Giant single compositionHard to maintain and impossible to render scenes independentlySplit into multiple compositions or use Series for scenes

Gotchas

  1. extrapolateRight default is 'extend' - If you write interpolate(frame, [0, 30], [0, 1]) without clamping, the value will keep increasing beyond 1 after frame 30 (e.g., frame 60 gives opacity 2). Always pass {extrapolateRight: 'clamp'} unless you intentionally want extrapolation.
  2. spring() starts from frame 0 of its context - When using spring() inside a <Sequence from={60}>, the frame passed to spring resets to 0 at frame 60 of the parent. If you pass the parent's raw frame, the animation will already be complete. Use useCurrentFrame() inside the Sequence child, not a frame from the parent.
  3. staticFile() paths are relative to public/ - Calling staticFile('images/logo.png') looks for public/images/logo.png. Using absolute paths or paths outside public/ will fail silently in preview and error during render. Ensure all assets are in the public/ directory.
  4. delayRender has a 30-second timeout - If your async operation (API call, font load) takes longer than 30 seconds, the render will abort. Increase the timeout with delayRender('Loading data', {timeoutInMilliseconds: 60000}) for slow operations.
  5. Composition dimensions must be even numbers - Video codecs (H.264, VP8) require even width and height. Remotion will throw an error if you use odd dimensions like 1921x1081. Always use even pixel values (1920x1080, 1280x720, etc.).

References

For detailed patterns on specific Remotion sub-domains, read the relevant file from the references/ folder:

  • references/animation-patterns.md - advanced animation techniques including staggered cascades, parallax effects, morph transitions, easing curves, and complex multi-property animations
  • references/rendering-guide.md - rendering configuration, codec options, Lambda/cloud rendering, programmatic rendering API, GIF output, and performance optimization
  • references/project-structure.md - project organization, parametrized videos with Zod schemas, reusable component patterns, shared styles, and multi- composition architecture

Only load a references file if the current task requires it - they are long and will consume context.


Companion check

On first activation of this skill in a conversation: check which companion skills are installed by running ls ~/.claude/skills/ ~/.agent/skills/ ~/.agents/skills/.claude/skills/.agent/skills/.agents/skills/ 2>/dev/null. Compare the results against the recommended_skills field in this file's frontmatter. For any that are missing, mention them once and offer to install: `` npx skills add AbsolutelySkilled/AbsolutelySkilled --skill <name> ` Skip entirely if recommended_skills` is empty or all companions are already installed.

平台分布

Codex

33.14%
按下载量换算121

Claude

32.12%
按下载量换算117

Cursor

20.1%
按下载量换算73

Gemini CLI

9.19%
按下载量换算33

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

未通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills