MCP.so
Sign In

reanimate

NiazMorshed2007 / reanimate

Basic information

Category

Design & UI

Repository

NiazMorshed2007 / reanimate

Skill

reanimate

About reanimate

A Claude Code skill that reverse-engineers an animation from a live site, screen recording, video, gif or Lottie file, rebuilds it in your code, then records the copy and compares it frame by frame until timing, easing and layout match.

#animation#frontend#motion#playwright#webgl

Install reanimate

npx skills add NiazMorshed2007/reanimate -g

How to use reanimate

  1. 1

    Install Bun 1.1 or later (macOS or Linux; Windows is untested).

    curl -fsSL https://bun.sh/install | bash
  2. 2

    Install the skill globally with the skills CLI. Add -a claude-code to skip the agent picker.

    npx skills add NiazMorshed2007/reanimate -g -a claude-code
  3. 3

    In Claude Code, say what to clone, where it is and where it should go.

    /reanimate the hero entrance on https://example.com, into components/Hero.tsx
  4. 4

    For a video or gif, give the file and the time range, for example: /reanimate this loader, 0:03 to 0:05 of ~/Downloads/loader.mov

  5. 5

    Review the report: each round's recordings, the spec and the reference / clone / diff sheets are kept in .reanimate/<name>/ in your project (add it to .gitignore unless you want the evidence committed).

What it does

  • Records the reference in a headless browser at a fixed viewport and frame rate and writes a per-element motion spec

  • Builds the animation with your project's own stack: CSS, Framer Motion, GSAP or three.js

  • Films the clone the same way, compares timing, easing and pixels, and iterates (usually 2 to 5 rounds)

  • Traces WebGL, WebGPU and canvas 2D, with a seeded virtual clock for identical captures

Requirements and notes

  • How it works: it films the reference in a headless browser at a fixed viewport and frame rate, writes a spec (start, duration, from and to, easing, stagger per element and property), builds the animation with what your project already uses (CSS, Framer Motion, GSAP or three.js), films the copy the same way and fixes the biggest difference, usually in 2 to 5 rounds.
  • Fidelity levels: by default it matches motion (trigger, order, stagger, timing within 80 ms, easing family, distance) and leaves the look to you. Say "match it exactly" for pixel-faithful (fonts, colours, spacing, at most 2% mean pixel mismatch), or "clone X and add Y" to keep your additions separate.
  • Canvas, WebGL and 3D: with --gl it traces WebGL, WebGPU and canvas 2D, hooks three.js, Pixi, PlayCanvas, Babylon and OGL scene graphs, and --clock virtual steps a seeded virtual clock so captures are identical frame by frame.
  • Requirements and limits: the first run installs a static ffmpeg and Playwright's Chromium (about 250 MB). No API keys. Login-walled pages, YouTube and Loom can't be recorded directly, so hand it a screen recording. It is tested with Claude Code; other agents that read SKILL.md can install it.
  • Licence and ethics: MIT. It clones what you point it at; fonts, images and code from another site still belong to their owners, so check you may use what you copy.

Sources

Checked against the source repository on 2026-11-17.

Comments

More skills in Design & UI