Skip to main content
skill CX Codex

animate · onewave-ai — Claude Code skill: what it does, how to install

Creates animated videos and motion graphics from natural language prompts. Builds a standalone Vite, React, and Framer Motion project that plays scenes in the browser.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add OneWave-AI/claude-skills --skill animate -a claude-code
Open on GitHub

What animate does

The skill transforms natural language descriptions into 15 to 30-second animations split across three to seven scenes. It defaults to Framer Motion for marketing intros and product feature showcases. When the prompt calls for generative visuals or 3D assets, it switches the stack to p5.js or Three.js with react-three-fiber.

Projects are initialized in ~/animations/[project-name]/ using a bundled bash script. Scene elements rely on vw units for responsive scaling across resolutions, while AnimatePresence manages smooth scene exits. The skill strictly avoids emojis in generated code.

Integration with Gemini 3.1 Pro via GEMINI_API_KEY is optional. Without this key, the agent makes all creative choices on scenes, copy, and color palettes itself.

What it helps with

  • build a product intro video with scene transitions
  • generate an animated presentation in React and Framer Motion
  • create a motion teaser using Three.js 3D renders
  • scaffold generative particle graphics with p5.js

Example prompts for the agent

  • Create a 20-second product demo video for a developer tool with clean slide transitions
  • Make an animated intro scene with dark theme and frosted glass cards
  • Generate a generative particle background animation for a landing page intro

How to install animate

1Skills CLI (Vercel)

npx skills add OneWave-AI/claude-skills --skill animate -a claude-code

2Manually: put the files in place

~/.claude/skills/animate/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/animate/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about animate

How to install animate in Claude Code?

Run npx skills add OneWave-AI/claude-skills --skill animate -a claude-code.

What tech stack does the animate skill use?

It defaults to a Vite, React, and Framer Motion project. It can also generate scenes using Three.js with react-three-fiber, p5.js for algorithmic visuals, or pure CSS animations.

Is a Gemini API key required to use animate?

No, the GEMINI_API_KEY environment variable is optional. Without it, the agent handles scene breakdowns, color schemes, and copy directly.

Source text

SKILL.md · MIT
---
name: animate
description: Generate animated videos and motion graphics from natural language descriptions. Creates a standalone Vite + React project with Framer Motion scenes that auto-play in the browser. Use when the user wants to create animations, motion graphics, video intros, animated presentations, or product demos.
argument-hint: [description of the animation you want]
allowed-tools: Read, Write, Edit, Bash, Glob, Grep, WebFetch, WebSearch
---

# Animation Generator

Create animated videos and motion graphics from a natural language description. Outputs a standalone Vite + React + Framer Motion project that plays in the browser.

## Workflow

### Step 1: Parse the Request

Break the user's description into a scene plan:
- **3-7 scenes**, each 3-5 seconds long
- Identify the story arc: hero/intro, problem, solution, features, CTA/outro
- Pick a color palette and typography that fits the brand/mood
- Use `$ARGUMENTS` for the user's animation description

### Step 2: Choose the Animation Stack

Auto-detect the best approach based on the request:

| Request Type | Stack | When to Use |
|---|---|---|
| Product intro, presentation, marketing | **Framer Motion** (default) | Scene-based with text, icons, transitions |
| Generative art, particles, patterns | **p5.js** | Creative/algorithmic visuals |
| 3D objects, environments, product renders | **Three.js + react-three-fiber** | 3D scenes needed |
| Simple text/logo animation | **CSS animations only** | Minimal, no heavy deps |

Default to **Framer Motion** unless the request clearly needs something else.

### Step 3: Scaffold the Project

1. Create a directory: `~/animations/[project-name]/`
2. Run the scaffold script: `bash ~/.claude/skills/animate/scripts/scaffold.sh [project-name] [stack]`
3. Copy template files from `~/.claude/skills/animate/assets/template-files/` into the project

### Step 4: Generate Scene Components

Read the references for animation presets and scene patterns:
- `references/animation-presets.md` — all available transitions, springs, easings
- `references/scene-patterns.md` — example scene code patterns

For each scene, create a React component in `client/src/components/video/video_scenes/`:
- Use `motion.div` with scene transition presets (fadeBlur, scaleFade, slideLeft, splitHorizontal, morphExpand, etc.)
- Use `containerVariants` and `itemVariants` for staggered content reveals
- Use `vw` units for responsive sizing (works at any resolution)
- Use CSS variables for theming (`var(--color-accent)`, `var(--color-bg-dark)`, etc.)
- Use Lucide icons for visual elements
- Use `.glass-panel` class for frosted glass cards
- Use `.text-gradient` and `.text-gradient-accent` for gradient text

### Step 5: Generate the VideoTemplate

Create `client/src/components/video/VideoTemplate.tsx`:
- Import all scene components
- Define `SCENE_DURATIONS` object (scene name -> milliseconds)
- Use `useVideoPlayer` hook to manage scene advancement
- Wrap scenes in `AnimatePresence mode="wait"` for smooth transitions
- Each scene renders conditionally based on `currentScene` index

### Step 6: Customize Theme

Update `client/src/index.css` with the right colors:
- If the user specified brand colors, update CSS variables
- Choose fonts that match the mood (Space Grotesk for tech, Playfair Display for elegant, etc.)
- Update gradient and glow styles to match the palette

### Step 7: Gemini 3.1 Pro Enhancement (Optional)

If `GEMINI_API_KEY` environment variable is available:

1. Read `references/gemini-integration.md` for API details
2. Send the user's description to Gemini 3.1 Pro asking for:
   - Scene breakdown with descriptions and suggested transitions
   - Color palette as CSS variables
   - Copy/headlines for each scene
   - SVG graphics if applicable
3. Use the Gemini output to inform scene generation
4. If no API key, skip this step — Claude handles all creative decisions directly

### Step 8: Build and Preview

```bash
cd ~/animations/[project-name]
npm install
npm run dev
```

Tell the user the animation is running at `http://localhost:5173` and open it in the browser.

## Scene Transition Reference (Quick)

Pick transitions that match the story beat:

- **fadeBlur** — Soft intro/outro, dreamy reveals
- **scaleFade** — Confident reveals, product showcases
- **slideLeft/slideRight** — Sequential progression, timeline flow
- **splitHorizontal/splitVertical** — Dramatic reveals, before/after
- **morphExpand** — Grand finale, CTA screens
- **clipCircle** — Focus attention, spotlight effect
- **perspectiveFlip** — Card flips, perspective changes
- **wipe** — Clean transitions, directional flow
- **zoomThrough** — Immersive, forward momentum
- **crossDissolve** — Gentle, emotional transitions

## Element Animation Reference (Quick)

- **popIn** — Bouncy scale entrance for icons/badges
- **fadeUp/fadeDown** — Subtle content reveals
- **slideInLeft/slideInRight** — Directional content
- **blurIn** — Soft focus reveals
- **elasticScale** — Playful, energetic entrances
- **perspectiveRotateIn** — 3D card reveals
- **pulse** — Looping attention grab
- **float** — Gentle hovering effect

## Important Rules

1. Always use `vw` units for sizing so animations look good at any resolution
2. Keep scenes between 3-5 seconds each — total video 15-30 seconds
3. Use `AnimatePresence mode="wait"` so one scene exits before the next enters
4. Every scene must have a background treatment (gradient, image, or animated shape)
5. Use staggered animations for lists and grids (staggerChildren: 0.1-0.2)
6. Include a loading state if assets are heavy
7. The project must be completely self-contained — no external dependencies beyond npm packages
8. Do NOT use emojis anywhere in the generated code or content

© OneWave-AI · MIT · OneWave-AI/claude-skills

Similar skills

Everything for Frontend and UI →

animate by other authors comes first.

animate emilkowalski Builds UI animations from scratch following Emil Kowalski's motion philosophy. Use it when adding motion, transitions, or component interactions. CX Codex +1 172,700installs animate delphi-ai Animation guidelines and ready-made patterns for React and Next.js interfaces. Helps agents write performant transitions and Framer Motion code. CX Codex +1 3,600installs animate aladicf Adds movement to an interface: transitions, micro-interactions, gestures, hover states. Useful when the UI feels dead or stutters under frequent use. CX Codex +1 607installs frontend-design official anthropics This skill guides intentional visual design for new interfaces and redesigns. Use it when a generic generated UI is not enough. 1,025,790installs design-taste-frontend Leonxlnx This skill directs the design of public pages and work screens, then checks the result in a browser through screenshots. Use it when an interface feels generic or unfinished. CX Codex +1 678,700installs prototype Matt Pocock Creates throwaway prototypes for checking state logic or exploring UI before committing the decision to the main codebase. 986,201installs hyperframes heygen-com Instructs coding agents on creating, validating, and rendering HTML-based videos using the HyperFrames framework and CLI. CX Codex +1 1,200,000installs hyperframes-cli heygen-com Controls HyperFrames video workflows from the CLI: audits layouts and contrast, edits timeline clips, captures snapshots, and renders locally or in cloud runtimes. CX Codex +1 1,300,000installs webapp-testing official anthropics This skill tests local web apps with Playwright, helping agents debug UI behavior, capture screenshots, and inspect browser logs. 186,758installs

From the same set95

executive-dashboard-generator Turns CSVs, Google Sheets and database exports into an executive report with metrics, charts, trends and recommendations. CX Codex +1 409installs linkedin-post-optimizer A skill that makes your coding agent write LinkedIn posts: a hook in the first two lines, line breaks, and a hashtag strategy. CX Codex +1 404installs database-schema-designer Designs relational and document database schemas based on real app queries. Generates tables, keys, constraints, ERDs, and reversible migrations. CX Codex +1 403installs fantasy-lineup-optimizer Analyzes matchups, injuries, weather, and Vegas odds for fantasy sports. It recommends start or sit decisions for NFL, NBA, MLB, NHL, and soccer. CX Codex +1 395installs game-strategy-simulator Simulates sports match scenarios and evaluates risk versus reward. It helps coaches and analysts plan plays, clock management, and player rotations. CX Codex +1 385installs social-selling-content-generator Creates a 30-day LinkedIn calendar and engagement guide tailored to B2B sellers. Positions you as an authority and draws leads without pitching in the feed. CX Codex +1 380installs api-documentation-writer Generates developer documentation, OpenAPI specs, and code samples for REST, GraphQL, and gRPC APIs. It structures endpoints, error formats, and rate limits. CX Codex +1 368installs landing-page-optimizer A skill that walks a landing page through six steps: audit, layout, CTAs, speed, SEO and a queued A/B test list. Useful when conversions dip and you don't know where to start. CX Codex +1 361installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor