Editable Remotion compositions
Structures Remotion markup so Studio can select, move, trim, style and keyframe each element: inline styles and interpolate() calls, named Interactive elements, schemas, tracks. Use when writing a composition or when Studio cannot edit an element.
remotion-interactivity- Author
- Remotion
- Source
- remotion-dev/skills/skills/remotion-interactivity @ 6f55706
- License
- none stated
About this skill
What it does
Remotion Studio can edit a composition visually (move or trim a layer, change its colour or keyframes) and write the change back into the source, but only in code it can parse. The skill makes such code the default and keeps a part programmatic only when it comes from external data or is computed per frame, and then says that part will not be editable.
In practice, elements become Interactive.Div and the like, with a hardcoded name. Fixed text sits inline. style is a plain object literal: no constants, no spreads, no maths. Animations are inline interpolate() calls with literal values; only the input range may use fps or durationInFrames, as in 2 * fps. Path morphs use inline interpolatePaths() from @remotion/paths, right in the d attribute. On <Composition>, defaultProps and metadata stay inline, so the Props editor can save edits back. Custom components get a schema of typed fields, with ready fragments such as Interactive.textSchema.
Two helper files ship with it. timeline-structure.md settles editing units before markup: a named Track for independent items, TransitionSeries for clips that stay adjacent, one Sequence for layers that move together, connected compositions through Interactive.create(), and a full example from component to root. inline-effects.md applies the inline rule to effects arrays.
When to use it, and when not
Use it when writing a new composition or reshaping markup, and when Studio will not let you select or edit an element.
Data-driven output such as chart bars or particles stays a loop by the skill's own rules. If nobody edits the video in Studio, the constraints buy nothing.
How to run it
We do not copy this skill: Remotion's repository has no licence. Install it from there with the button to the source; the README offers npx remotion skills add in a Remotion project or npx skills add remotion-dev/skills elsewhere. Its name is remotion-interactivity:
- Claude Code:
/remotion-interactivity, or ask for the skill by name. - Codex:
$remotion-interactivity. - Cursor: type
/in the Agent chat and pickremotion-interactivity.
Example: /remotion-interactivity The cards in src/Pricing.tsx cannot be dragged in Studio. Fix the markup.
How it differs from similar skills
Remotion markup and animation has the short form of these rules and sends the agent here for the rest. React composition patterns shapes component APIs for people who read the code; this skill shapes code for a tool that parses it. A clean-up pass such as Code simplification may pull repeated styles into constants or spread a base style, which stops Studio from editing the value.
Install
This skill is not copied to the catalog: the author's repository has no licence text. Install it from there.
Connect through AnyModel API
This skill runs on whatever model your agent uses. Point Claude Code, Codex or Cursor at AnyModel to run it on Claude, GPT, Gemini and more with one key — pay per token, no subscription.
AnyModel