# remotion-performance-optimizer

remotion-performance-optimizer finds bottlenecks in Remotion compositions: redundant re-renders, expensive calculations, oversized assets. Outputs a report with actionable fixes and speed-up estimates.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 171 installs · ★ 54 repo stars
- Author: ncklrs
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/ncklrs/startup-os-skills/tree/HEAD/skills/remotion-performance-optimizer/SKILL.md
- Updated: 2026-02-26
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/remotion-performance-optimizer

## What it does

The skill analyzes Remotion composition code and generates `OPTIMIZATION_REPORT.md` with a scene-by-scene breakdown. It detects non-deterministic computations (like `Math.random()` in the render loop), duplicate `spring()` calls with identical parameters, oversized images, and components lacking memoization. Each issue comes with before-and-after code snippets, an estimated render time improvement, and a priority rating.

You provide the path to a composition directory with `index.tsx` and `scenes/`, plus a target render time per frame (say, under 100 ms). Without a working Remotion setup, the skill cannot run. The report includes a table of scene render times, a list of critical and moderate issues, and an overall speed-up forecast. Priorities rank problems by impact: fixes yielding 50–70 % gains come first, minor tweaks last.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add ncklrs/startup-os-skills --skill remotion-performance-optimizer -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/remotion-performance-optimizer/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/remotion-performance-optimizer/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add ncklrs/startup-os-skills --skill remotion-performance-optimizer -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/remotion-performance-optimizer/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add ncklrs/startup-os-skills --skill remotion-performance-optimizer -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/remotion-performance-optimizer/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install ncklrs/startup-os-skills skills/remotion-performance-optimizer
```

2. **Manually: put the files in place**
- File: `.github/skills/remotion-performance-optimizer/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add ncklrs/startup-os-skills --skill remotion-performance-optimizer -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/ncklrs/startup-os-skills --path skills/remotion-performance-optimizer
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/remotion-performance-optimizer/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add ncklrs/startup-os-skills --skill remotion-performance-optimizer -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/ncklrs/startup-os-skills/tree/HEAD/skills/remotion-performance-optimizer/SKILL.md

## When to use it
- profile Remotion scene render times
- detect duplicate spring calls with identical parameters
- identify non-deterministic calculations in the render path
- optimize video asset size and format
- suggest component memoization opportunities

## Example prompts
- Analyze performance of `src/remotion/compositions/Promo/`, target under 100 ms per frame
- Scene 2 in `Scene2.tsx` takes 200 ms to render, find the bottleneck
- Generate an optimization report for `VideoName` and estimate the potential speed-up

## Similar
- [performance-optimizer](https://affpapa.org/en/nevibecode/skills/performance-optimizer.md) — skill · 70 installs
- [performance-engineer](https://affpapa.org/en/nevibecode/skills/zhaono1-performance-engineer.md) — skill · 718 installs
- [performance-analysis](https://affpapa.org/en/nevibecode/skills/autohandai-performance-analysis.md) — skill · ★ 219 repo stars
- [performance](https://affpapa.org/en/nevibecode/skills/millionco-performance.md) — skill · 314 installs
- [performance-benchmarker](https://affpapa.org/en/nevibecode/plugins/performance-benchmarker.md) — plugin · ★ 1013 repo stars
- [m10-performance](https://affpapa.org/en/nevibecode/skills/m10-performance.md) — skill · 4000 installs

From the same set: [ncklrs/startup-os-skills](https://affpapa.org/en/nevibecode/by/ncklrs/startup-os-skills.md) — 51 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
