Skip to content
Documentation
Command

/setup-remotion.en

Lesson command

From plugin
ai-agent-camp
345200 skills8 agents200 commands
Install
$ npx -y skills add minicoohei/ai-agent-camp --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/setup-remotion.en

Context preview

What this command does when you run it.

Lesson command

Command definition

setup-remotion.en.md
description: "Lesson command"
duration: "~10 min"
prerequisites: ["Node.js 18 or higher installed"]
level: "beginner"
tags: ["setup", "remotion", "video", "react", "npm"]
nonInteractiveMode: incompatible

Remotion Setup

Step 0: Check Setup Progress

**What the AI auto-runs:** 1. Run `uv run python tools/setup_progress.py show --current setup-remotion` to display progress 2. Auto-detect existing environment:

  • Check Node.js version with `node --version` (18 or higher required)
  • Check whether `mv-composer/node_modules/remotion` exists
  • If already set up, only run Step 3 (operation test) and mark as complete

What You'll Do in This Session

| Item | Details | |------|---------| | Goal | Set up Remotion (a React-based video generation framework) in mv-composer/ and get Remotion Studio ready to launch | | Duration | ~10 minutes | | Prerequisites | Node.js 18 or higher installed | | Skill Level | Everything is auto-run by AI (confirmation only) |

**What is Remotion:** Remotion is a framework that lets you create videos using React components. It can programmatically generate animated videos, and is used for creating promotional MVs, TikTok/YouTube Shorts, product introduction videos, and more.

**About pricing:** Remotion is open source, and local rendering is free. A separate license is only required when using Remotion Lambda (cloud rendering), which we will not use in this training.

**Session flow:** 1. Check Node.js version 2. Install dependency packages with npm install 3. Remotion Studio launch test 4. Test rendering (optional)

> **Hint**: If the AI stops responding midway, type "please continue" or "it stopped" to resume.

---

Readiness Check

**AskQuestion configuration:**

{
  "title": "Pre-session confirmation",
  "questions": [{
    "id": "readiness",
    "prompt": "Are you ready?",
    "options": [
      {"id": "ready", "label": "Ready! Let's start"},
      {"id": "check_prereq", "label": "I want to check the prerequisites"},
      {"id": "different_lesson", "label": "Go to a different lesson"}
    ]
  }]
}

(ready -> Proceed to Step 1) (check_prereq -> Guide: "Node.js 18 or higher is required. You can check with `node --version`. If not installed, download it from https://nodejs.org") (different_lesson -> Show module list)

---

Step 1: Check Node.js

**What the AI does:** 1. Check the Node.js version:

node --version

2. Check the npm version:

npm --version

**Criteria:**

  • Node.js 18.x or higher -> OK, proceed to Step 2
  • Node.js not installed or below 18 -> Guide installation

**If Node.js is not installed:**

Node.js 18 or higher is required. Please install it from:
  https://nodejs.org (LTS version recommended)

On Mac, you can also install via Homebrew:
  brew install node

**Browser launch commands:**

# Mac:
open https://nodejs.org
# Windows:
start https://nodejs.org
# Linux:
xdg-open https://nodejs.org

After installation, ask the user to type "done", then re-run `node --version` to verify.

---

Step 2: Install Remotion

**What the AI does:** 1. Navigate to the mv-composer directory and run npm install:

cd mv-composer && npm install

2. Verify installation:

ls mv-composer/node_modules/remotion/package.json && echo "Remotion installed OK"

**Expected result:**

  • An `added XX packages` message is displayed
  • `Remotion installed OK` is displayed

**Troubleshooting:**

  • `EACCES` error -> Do not use `sudo`. Work around it with `npm config set prefix ~/.npm-global`
  • `ERESOLVE` error -> Try `npm install --legacy-peer-deps`
  • Network error -> Check proxy settings

---

Step 3: Remotion Studio Launch Test

**What the AI does:** 1. Launch Remotion Studio:

cd mv-composer && npx remotion studio

**Expected result:**

  • The browser opens automatically and displays Remotion Studio
  • A composition list (ScreenExplainer, etc.) appears in the left panel
  • A video is rendered in the preview area

**User guidance:**

Did Remotion Studio appear in your browser?
If you can see the composition list in the left panel, it's working!

Once confirmed, press Ctrl+C to stop the server.

**AskQuestion configuration:**

{
  "title": "Remotion Studio Check",
  "questions": [{
    "id": "studio_check",
    "prompt": "Did Remotion Studio appear in your browser?",
    "options": [
      {"id": "success", "label": "It appeared!"},
      {"id": "no_browser", "label": "The browser didn't open"},
      {"id": "error", "label": "I got an error"},
      {"id": "skip", "label": "Skip"}
    ]
  }]
}

(success -> Proceed to Step 4) (no_browser -> Guide to manually enter `http://localhost:3000` in the browser) (error -> Ask them to paste the error message and troubleshoot) (skip -> Proceed to Step 4)

---

Step 4: Test Rendering (Optional)

**AskQuestion configuration:**

{
  "title": "Test Rendering",
  "questions": [{
    "id": "render_test",
    "prompt": "Would you like to try a test render? (~30 seconds to 1 minute)",
    "options": [
      {"id": "yes", "label": "Try it"},
      {"id": "no", "label": "Skip and finish"}
    ]
  }]
}

(yes -> Run test rendering) (no -> Go to completion check)

**What the AI does (if yes):** 1. Render a short composition:

cd mv-composer && npx remotion render src/index.ts ScreenExplainer --frames=0-30 --codec h264 out/test_render.mp4

2. Verify output file:

ls -lh mv-composer/out/test_render.mp4

**Expected result:**

  • `out/test_render.mp4` is generated
  • File size is greater than 0

**Post-rendering guidance:**

Test rendering is complete.
out/test_render.mp4 has been generated.

To view the video:
  open mv-composer/out/test_render.mp4  (Mac)
  start mv-composer\out\test_render.mp4  (Windows)

---

Common Troubleshooting

**AskQuestion configuration:**

{
  "title": "Select your issue",
  "questions": [{
    "id": "trouble",
    "prompt": "Please select th
Read more
Ships withai-agent-camp

AI Agent Training for Non-Engineers - Complete Guide to Claude Code / Cursor / Codex ### ⚠️ Before you clone Official repository (maintained by the authors): Running AI agents from this repo grants them shell, file-write, and external-API permissions on your

Get the whole plugin