Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问clear审计未展示

remotionRemotion 视频制作

Agent Skill

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

总安装

445

周安装

18

GitHub Stars

公开资料未说明

下载量

140
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

AgentSkills.tonpx skills
npx skills add 5dlabs/cto --skill "remotion"

简介

用于辅助视频生成、动画合成、脚本化剪辑或 Remotion 项目开发。

  • 适合组织镜头、生成素材说明、维护合成代码或排查渲染问题。
  • 需确认分辨率、时长、素材路径和导出格式;涉及版权内容时应先核对授权要求。
  • 安装命令:npx skills add 5dlabs/cto --skill "remotion",来源仓库:https://github.com/5dlabs/cto/tree/main/skills/remotion。
  • 建议确认权限范围和维护状态,涉及外部素材时注意操作边界。

SKILL.md

Remotion Best Practices

Programmatic video creation using React components.

When to Use

Use this skill when dealing with Remotion code for domain-specific knowledge on:

  • Video composition and sequencing
  • Animations and transitions
  • Audio and video asset handling
  • Captions and subtitles
  • Charts and data visualization
  • 3D content with Three.js/R3F

Core Concepts

Compositions

import { Composition } from 'remotion';

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

Basic Animation

import { useCurrentFrame, interpolate } from 'remotion';

export const MyAnimation = () => {
  const frame = useCurrentFrame();

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

  const scale = interpolate(frame, [0, 30], [0.5, 1]);

  return (
    <div style={{
      opacity,
      transform: `scale(${scale})`
    }}>
      Hello World
    </div>
  );
};

Sequencing

import { Sequence, useVideoConfig } from 'remotion';

export const MyVideo = () => {
  const { fps } = useVideoConfig();

  return (
    <>
      <Sequence from={0} durationInFrames={fps * 2}>
        <Intro />
      </Sequence>
      <Sequence from={fps * 2} durationInFrames={fps * 5}>
        <MainContent />
      </Sequence>
      <Sequence from={fps * 7}>
        <Outro />
      </Sequence>
    </>
  );
};

Video and Audio

import { Video, Audio, OffthreadVideo } from 'remotion';

export const MediaExample = () => {
  return (
    <>
      {/* Use OffthreadVideo for better performance */}
      <OffthreadVideo src={staticFile('background.mp4')} />

      <Audio
        src={staticFile('music.mp3')}
        volume={0.5}
        startFrom={30}  // Start from frame 30
      />
    </>
  );
};

Spring Animations

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

export const SpringAnimation = () => {
  const frame = useCurrentFrame();
  const { fps } = useVideoConfig();

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

  return <div style={{ transform: `scale(${scale})` }}>Bouncy!</div>;
};

Text Animations

import { useCurrentFrame, interpolate } from 'remotion';

export const TypewriterText = ({ text }: { text: string }) => {
  const frame = useCurrentFrame();
  const charsToShow = Math.floor(frame / 2);

  return <span>{text.slice(0, charsToShow)}</span>;
};

Captions

import { useCurrentFrame, useVideoConfig } from 'remotion';

interface Caption {
  text: string;
  startFrame: number;
  endFrame: number;
}

export const Captions = ({ captions }: { captions: Caption[] }) => {
  const frame = useCurrentFrame();

  const currentCaption = captions.find(
    c => frame >= c.startFrame && frame < c.endFrame
  );

  return currentCaption ? (
    <div className="caption">{currentCaption.text}</div>
  ) : null;
};

Transitions

import { TransitionSeries, linearTiming, fade } from '@remotion/transitions';

export const TransitionExample = () => {
  return (
    <TransitionSeries>
      <TransitionSeries.Sequence durationInFrames={60}>
        <SlideOne />
      </TransitionSeries.Sequence>
      <TransitionSeries.Transition
        timing={linearTiming({ durationInFrames: 30 })}
        presentation={fade()}
      />
      <TransitionSeries.Sequence durationInFrames={60}>
        <SlideTwo />
      </TransitionSeries.Sequence>
    </TransitionSeries>
  );
};

Key Topics Reference

TopicWhat It Covers
animationsFundamental animation skills
assetsImporting images, videos, audio, fonts
audioSound - importing, trimming, volume, speed, pitch
calculate-metadataDynamic duration, dimensions, props
compositionsDefining compositions, stills, folders
display-captionsTikTok-style captions with word highlighting
fontsLoading Google Fonts and local fonts
gifsGIFs synchronized with timeline
imagesEmbedding images with Img component
lottieLottie animations
sequencingDelay, trim, limit duration
tailwindUsing TailwindCSS
text-animationsTypography and text animation
timingInterpolation curves - linear, easing, spring
transitionsScene transition patterns
trimmingCut beginning/end of animations
videosEmbedding videos - trimming, volume, speed, looping
3dThree.js and React Three Fiber
chartsData visualization

Best Practices

  1. Use staticFile() for assets - Ensures proper bundling
  2. Prefer OffthreadVideo over Video - Better performance
  3. Use spring animations - More natural motion
  4. Calculate metadata dynamically - For data-driven videos
  5. Use sequences for organization - Keep timeline manageable
  6. Test with npm run preview - Fast iteration

Attribution

Based on remotion-dev/skills remotion-best-practices - 220+ installs.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

31.75%
按下载量换算44

windsurf

22.52%
按下载量换算32

trae

17.54%
按下载量换算25

OpenCode

13.93%
按下载量换算20

Codex

8.24%
按下载量换算12

github-copilot

4.25%
按下载量换算6

安全审计

暂无安全审计结果可展示。

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills