AI Agent Skills
Rendiv maintains a set of Agent Skills that define best practices for building videos with rendiv.
These skills are useful for AI coding agents like Claude Code, Codex, Cursor, and others. They teach the agent rendiv's APIs, patterns, and constraints so it can generate correct compositions from natural language prompts.
Installation
Install the skills for all your AI agents at once:
npx skills add thecodacus/rendivThis auto-detects your installed agents (Claude Code, Cursor, Codex, etc.) and places the skill files in the correct directories.
What's Included
The skill provides guidance across all rendiv packages:
| Topic | Covers |
|---|---|
| Animation | interpolate, spring, Easing, blendColors, getSpringDuration |
| Composition Setup | Composition, Still, Folder, setRootComponent, entry point pattern |
| Sequencing & Timing | Sequence, Series, Loop, Freeze, context override architecture |
| Media Components | Img, Video, OffthreadVideo, Audio, AnimatedImage, IFrame |
| Render Lifecycle | holdRender/releaseRender, environment awareness, rendering pipeline |
| Transitions | TransitionSeries, timings (linearTiming, springTiming), presentations (fade, slide, wipe, flip, clockWipe) |
| Shapes & Paths | @rendiv/shapes shape generators, @rendiv/paths path animation utilities |
| Procedural Effects | @rendiv/noise simplex noise, @rendiv/motion-blur trail and shutter blur |
| Typography | @rendiv/google-fonts and @rendiv/fonts font loading |
| CLI & Studio | rendiv render, rendiv studio, @rendiv/player embedding |
How It Works
The skills follow the Agent Skills specification with progressive disclosure:
- At startup — the agent reads the skill name and description (~100 tokens)
- When activated — the agent loads the main
SKILL.mdwith the core mental model, quick-start pattern, and key constraints - On demand — the agent loads specific rule files from
rules/only when relevant to the current task
This keeps the agent's context window efficient while providing deep domain knowledge when needed.
Key Constraints the Skills Enforce
- All animations MUST be frame-driven via
useFrame()— CSS animations and transitions are forbidden - Media elements MUST use rendiv components (
<Img>,<Video>,<Audio>) instead of native HTML elements <Composition>renders null — it only registers metadatasetRootComponentcan only be called onceinputRangemust be monotonically non-decreasing ininterpolate()andblendColors()<Series.Sequence>must be a direct child of<Series>
Source
The skills are maintained in the rendiv monorepo at packages/skills/ and are also available on GitHub.