remotion-video

remotion-video is a cursor rule for Cursor from thatrebeccarae/claude-marketing. It costs 51 tokens per session (2,620 once invoked), scanned A, original, MIT.

A set of coding guidelines for Remotion, a JavaScript and React framework for creating videos with code. It covers animation, scene changes, charts, audio, and rendering.

In plain words
What is it for?
Use it when building Remotion videos with spring animations, interpolation, SVG draw-on effects, scene transitions, animated charts, audio synchronization, or rendering settings.
Why use it?
It gives developers established patterns for coordinating frames, motion, layered visuals, transitions, and sound in programmatic videos.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit Use it when building Remotion videos with spring animations, interpolation, SVG draw-on effects, scene transitions, animated charts, audio synchronization, or rendering settings.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/thatrebeccarae/claude-marketing/remotion-video
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/thatrebeccarae/claude-marketing

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for remotion-video

README.md
[![agentmods](https://agentmods.dev/badge/rules/thatrebeccarae/claude-marketing/remotion-video/github.svg)](https://agentmods.dev/rules/thatrebeccarae/claude-marketing/remotion-video)
Your own site
<a href="https://agentmods.dev/rules/thatrebeccarae/claude-marketing/remotion-video"><img src="https://agentmods.dev/badge/rules/thatrebeccarae/claude-marketing/remotion-video/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for remotion-video

Your own site · 80×15
<a href="https://agentmods.dev/rules/thatrebeccarae/claude-marketing/remotion-video"><img src="https://agentmods.dev/badge/rules/thatrebeccarae/claude-marketing/remotion-video.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,620 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00051 $0.02620
Opus 5 $0.00026 $0.01310
Sonnet 5 $0.00010 $0.00524
Haiku 4.5 $0.00005 $0.00262

Measured 10d ago against content hash 2d908831d5d6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

remotion-video scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

integrations/cursor/remotion-video.mdc · 372 lines

How it starts

The opening of the file, as written. The whole thing — 372 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Remotion Video Production

Best practices for building programmatic videos with Remotion — animations, transitions, charts, and rendering.

Core Capabilities

  • Spring animation presets (bouncy, smooth, crisp, staggered)
  • Interpolation patterns (camera zoom, parallax, scroll simulation)
  • SVG draw-on animations (path tracing, stroke reveal)
  • Scene transitions via TransitionSeries
  • AbsoluteFill layering for compositing
  • Chart animations (bar grow, line draw-on, pie reveal, count-up numbers)
  • Audio integration and sync
  • Rendering configuration

Spring Presets

Use spring() from Remotion for physics-based animations:

Preset Config Use Case
Bouncy mass: 0.5, damping: 8, stiffness: 120 Playful reveals, logo bounces
Smooth mass: 1, damping: 15, stiffness: 80 UI transitions, slide-ins
Crisp mass: 0.8, damping: 20, stiffness: 200 Snappy interactions, toggles
Staggered Any preset with frame offset per item List reveals, grid animations
import { spring, useCurrentFrame, useVideoConfig } from "remotion";

const frame = useCurrentFrame();
const { fps } = useVideoConfig();

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

Interpolation Patterns

Camera Zoom

import { interpolate } from "remotion";

const zoom = interpolate(frame, [0, 30], [1, 1.5], {
  extrapolateRight: "clamp",
});

Parallax Layers

const bgX = interpolate(frame, [0, 100], [0, -50]);
const fgX = interpolate(frame, [0, 100], [0, -150]);

Scroll Simulation

const scrollY = interpolate(frame, [0, 90], [0, -800], {
  extrapolateRight: "clamp",
});

SVG Draw-On

Animate strokeDashoffset to reveal SVG paths:

const pathLength = 500;
const draw = interpolate(frame, [0, 60], [pathLength, 0], {
  extrapolateRight: "clamp",
});

<path
  d="..."
  strokeDasharray={pathLength}
  strokeDashoffset={draw}
/>

Chart Animation Patterns

Read the full file on GitHub · 372 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 372 lines · 51 tokens per session scan A 2d908831d5d6

Subscribe to this mod's changes

remotion-video is a cursor rule published in the GitHub repository thatrebeccarae/claude-marketing (133 stars, last pushed 3mo ago), licensed MIT. It adds 51 tokens to every session and 2,620 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.