/armory:remotion-videofrom armory
Creates production-grade motion graphics and videos using Remotion (React) with audio sync, web fonts, TailwindCSS, 3D, charts, and subtitles. Includes project scaffolding and rendering scripts.
Ships in armory. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Creates production-grade videos using Remotion — a React framework where video is code. Every frame is a React component. Animations use spring physics and frame-based interpolation.
| File | Purpose |
|---|---|
references/rules/fundamentals.md | useCurrentFrame, useVideoConfig, interpolate, spring, core hooks |
references/rules/animations.md | Easing, spring config, interpolateColors, timing patterns |
references/rules/compositions.md | Composition, registerRoot, Folder, calculateMetadata |
references/rules/media.md | Img, Video, OffthreadVideo, Audio, staticFile, async loading |
references/rules/text-and-fonts.md | Google Fonts, local fonts, text measurement, typography |
references/rules/tailwind.md | TailwindCSS integration, utility-first styling in Remotion |
references/rules/audio.md | Audio component, volume curves, trimming, frame-synced audio |
references/rules/subtitles.md | Caption system, SRT/VTT parsing, word-level timing |
references/rules/three-d.md | @remotion/three, ThreeCanvas, React Three Fiber integration |
references/rules/charts.md | Bar, pie, line chart animation patterns |
references/rules/rendering.md | CLI render, renderMedia API, quality presets |
references/rules/data-driven.md | Dataset rendering, batch generation, parametric compositions |
references/templates/explainer.tsx | Parametric tech explainer template |
references/templates/product-demo.tsx | Product showcase template |
references/templates/data-viz.tsx | Animated chart composition template |
scripts/scaffold_project.sh | Bootstrap a new Remotion project with TailwindCSS |
scripts/render.sh | Render wrapper with quality presets and format options |
Remotion treats video as a React application. Each frame is a pure function of time — given frame N and total frames F, your component renders deterministically. This means:
spring() gives natural motion without hand-tweaking cubic beziers..tsx file IS the editable intermediate.Scaffold → Compose → Preview → Iterate → Render
npm run dev)scripts/render.shNode.js 18+ is required. Check before scaffolding:
node --version # Must be >= 18.0.0
npm --version
If Node.js is not available, inform the user — Remotion cannot run without it.
Run scripts/scaffold_project.sh to create a new Remotion project. The script is idempotent — it detects an existing project and skips re-initialization.
bash scripts/scaffold_project.sh my-video-project
cd my-video-project
npm run dev # Opens Remotion Studio at localhost:3000
Determine the best approach. Read the relevant rule file for detailed patterns.
| Content type | Rule file | Template |
|---|---|---|
| Explainer / educational | fundamentals.md | explainer.tsx |
| Product demo / marketing | animations.md | product-demo.tsx |
| Data visualization / animated chart | charts.md | data-viz.tsx |
| Video with voiceover / narration | audio.md + subtitles.md | explainer.tsx |
| Social media clip (short, looping) | animations.md | product-demo.tsx |
| 3D scene / abstract motion graphics | three-d.md | (custom) |
| Personalized / batch generation | data-driven.md | any |
| Video with embedded media | media.md | any |
Core rules for writing Remotion components:
registerRoot points to one root composition.<Sequence from={30} durationInFrames={60}> to place scenes at specific frames.<AbsoluteFill> as the base for any full-screen element.useCurrentFrame(). Never use Date.now() or setTimeout.spring({ frame, fps }) for natural motion.import {
useCurrentFrame,
useVideoConfig,
interpolate,
spring,
AbsoluteFill,
Sequence,
} from "remotion";
type MySceneProps = {
title: string;
accentColor: string;
};
export const MyScene: React.FC<MySceneProps> = ({ title, accentColor }) => {
const frame = useCurrentFrame();
const { fps, durationInFrames } = useVideoConfig();
const opacity = interpolate(frame, [0, 30], [0, 1], {
extrapolateRight: "clamp",
});
const scale = spring({ frame, fps, config: { damping: 12, stiffness: 100 } });
return (
<AbsoluteFill style={{ backgroundColor: "#0a0a0a" }}>
<div
style={{ opacity, transform: `scale(${scale})`, color: accentColor }}
>
{title}
</div>
</AbsoluteFill>
);
};
Remotion Studio provides hot-reload preview. Start it with:
npm run dev
Studio opens at http://localhost:3000. The timeline scrubber lets you inspect any frame.
Use <Still> component for frame-accurate screenshots during iteration.
| Request | Action |
|---|---|
| "Slower/faster" | Adjust durationInFrames on <Sequence> or change FPS |
| "Different color" | Update props passed to composition |
| "Add a section" | Add new <Sequence> block with incremented from offset |
| "Change font" | Load via @remotion/google-fonts, apply as CSS fontFamily |
| "Add background music" | Add <Audio src={staticFile('audio.mp3')} /> to root composition |
| "Make it loop" | Set durationInFrames and design matching first/last frame state |
| "Add captions" | See subtitles.md for SRT parsing and word-level timing |
Use scripts/render.sh to render the final video:
bash scripts/render.sh --composition MyComposition --quality final --format mp4
| Preset | Resolution | FPS | Use case |
|---|---|---|---|
preview | 480p | 15 | Fast layout check |
draft | 720p | 30 | Client draft review |
final | 1080p | 30 | Standard delivery |
4k | 2160p | 60 | Presentation / cinema |
| Format | Use case |
|---|---|
mp4 | Standard delivery (H.264) |
webm | Web-optimized |
gif | Embeddable in docs, social media |
| Error | Cause | Resolution |
|---|---|---|
node: command not found | Node.js not installed | Install Node.js 18+ from nodejs.org |
Cannot find module 'remotion' | Dependencies not installed | Run npm install in the project directory |
Composition not found | Wrong composition ID | Check registerRoot and <Composition id= match |
delayRender timed out | Async asset load > 30s | Increase timeout via delayRender('reason', { timeoutInMilliseconds: 60000 }) |
OffthreadVideo failed | Video codec not supported | Convert to H.264 MP4 with ffmpeg first |
ENOMEM during render | Out of memory on large compositions | Reduce --concurrency flag, or lower resolution |
Port 3000 already in use | Another dev server running | Kill existing process or set --port 3001 |
| Spring animation goes past 1.0 | Missing { extrapolateRight: 'clamp' } | Add extrapolation clamp to interpolate calls |
| Fonts not loading in render | Font not loaded before render starts | Use @remotion/google-fonts or delayRender for font face load |
npx remotion render command downloads it automatically, but it requires ~300MB disk space.@remotion/lambda is deferred to a future skill version. Local rendering only.<Sequence> blocks. Each scene is its own component.spring() gives physically accurate motion. Only use interpolate with easing when spring doesn't fit.z.infer<typeof schema> (Zod) or explicit interfaces.For mathematical animations or algorithm visualizations with no explicit React/Remotion request, use animate (Manim/Python). Manim uses its own Python, Cairo/Pango and FFmpeg setup rather than Node.js. Missing Node.js does not authorize switching an explicit React request to another engine; report the missing prerequisite.
For videos the user explicitly wants authored as plain HTML and CSS or rendered with Hyperframes, use html-video instead; that is not a React project. An explicit engine request outranks generic branded or marketing preferences. Keep Remotion when the user asks for React or Remotion, including HTML or CSS content embedded inside a React composition. An ordinary web page with no video output is neither skill's task.
CHANGELOG.md (opens in a new tab)evals/cases.yaml (opens in a new tab)references/rules/animations.md (opens in a new tab)references/rules/audio.md (opens in a new tab)references/rules/charts.md (opens in a new tab)references/rules/compositions.md (opens in a new tab)references/rules/data-driven.md (opens in a new tab)references/rules/fundamentals.md (opens in a new tab)references/rules/media.md (opens in a new tab)references/rules/rendering.md (opens in a new tab)references/rules/subtitles.md (opens in a new tab)references/rules/tailwind.md (opens in a new tab)references/rules/text-and-fonts.md (opens in a new tab)references/rules/three-d.md (opens in a new tab)references/templates/data-viz.tsx (opens in a new tab)references/templates/explainer.tsx (opens in a new tab)references/templates/product-demo.tsx (opens in a new tab)scripts/render.sh (opens in a new tab)scripts/scaffold_project.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub mathews-tom/armory --plugin armory94 skills in this plugin
/adr-writerGenerates Architecture Decision Records capturing context, rationale, alternatives, and consequences in numbered status-tracked format. Triggers on: "write an ADR", "document this decision", "architecture decision record", "decision record", "design decision", "ADR for"./agent-builderBuild AI agents and automate Claude Code programmatically via the Claude Agent SDK and headless CLI mode. Covers Python SDK, claude -p, SDK MCP servers, hooks, sessions. Triggers on: "build an agent", "agent SDK", "headless mode", "automate Claude", "programmatic agent"./animateCreate Manim (Python) animated explainers: algorithm step-throughs, math and equation walkthroughs, pipeline and data-flow diagrams, comparisons and timelines, rendered to MP4, WebM or GIF with optional audio overlay. Includes a template path that renders validated config data with no model call, plus output checks (ffprobe duration, fps, dimensions, full decode, sampled-frame review receipt). Use when asked to "create a video", "animate this", "make an explainer", "manim animation", "animate this algorithm", or "motion graphic". NOT for HTML/CSS/GSAP or Hyperframes video, NOT for React or Remotion video, and NOT for a launch or promo video of the user's own project, use launch-video.Other plugins' skills for the same job