reanimate (Claude Code skill)Partly tested🌏 World

Niaz's reanimate records the original animation, then your clone, and compares them frame by frame until the timing is within the default ~80ms

Ask an agent to copy a smooth site animation and it usually makes one pass, calls it done, and misses timing. Overseas author Niaz Morshed (@niazmorshed_) open-sourced reanimate (MIT, ~1.3k★): a Claude Code skill that records a reference from a live URL, screen recording, mp4/gif/Lottie, rebuilds with whatever CSS / Framer Motion / GSAP / three.js your project already uses, then films the clone the same way and compares frame by frame. Default is motion-faithful (±80ms); ask for pixel-faithful (≤2% mean mismatch). Install: `npx skills add NiazMorshed2007/reanimate -g`. On our Linux box we bun-installed deps, installed Playwright Chromium, and ran capture.ts on a local CSS-animated page: 43 frames, detected CSSAnimation rise (1200ms), 91 track samples; self-compare 0% mismatch PASS. No Claude Code session cloning a real marketing site, no full 2–5 round loop.

Visit site reanimate (Claude Code skill) ↗
Pricing
Free
Region
Global
Where it's from
Overseas
Added
Nov 7, 2026
Tested on
Nov 7, 2026
Version we used
reanimate @ 3f7a55a (repo created 2026-10-29); Playwright 1.64.1; Bun 1.4.2
Categories
DesignCodingProductivity
Original author
Niaz Morshed @niazmorshed_ ↗
Our test
Partly tested
Cost / time
Repo is MIT/free. Needs Bun locally, disk for Chromium/ffmpeg, and a Claude Code (or SKILL.md-capable agent) subscription. No image API.
Source
X @GitHub_Daily ↗GitHub NiazMorshed2007/reanimate ↗

The task

Port an animation you like (live page, recording, or GIF) into your codebase—and prove timing/easing match with numbers, not an agent saying "done".

Steps

  1. Need Bun ≥1.1 (macOS/Linux; Windows untested). In Claude Code: `npx skills add NiazMorshed2007/reanimate -g` (add `-a claude-code` to skip the agent picker). First script run pulls static ffmpeg + Playwright Chromium (~250MB total). No API keys.
  2. State target, destination, and fidelity—e.g. `/reanimate the hero entrance on https://example.com, into components/Hero.tsx`. Default is motion-faithful; say match it exactly / pixel-perfect for look-alike. For login walls or YouTube/Loom, hand it a screen recording.
  3. Evidence lands in `.reanimate/<name>/`: reference frames, inspect/track, clone frames, compare report. Usually 2–5 rounds; leftovers are listed with reasons. Gitignore that folder unless you want the proof committed.
  4. It prefers your project's existing animation stack (CSS / Framer Motion / GSAP / three.js). Canvas/WebGL can use GPU tracing; default SwiftShader keeps pixels reproducible across machines.
  5. Copyright: fonts, images and code still belong to the source site—fine for learning motion; clear rights before shipping their assets.

Prompt

/reanimate the hero entrance on https://example.com into components/Hero.tsx — motion-faithful only (about ±80ms), reuse whatever animation stack this repo already has, do not add a new library.

What the author says

Author and @GitHub_Daily: one-pass agent clones often miss easing; reanimate records reference and clone, compares frames, usually 2–5 rounds, default timing within ~80ms. Author examples include a Vercel toolbar clone with 417/417 frames identical; inputs include live pages, recordings, mp4/gif/Lottie, plus canvas/WebGL/three.js.

Our test

Cloned NiazMorshed2007/reanimate (commit 3f7a55a). In skills/reanimate/scripts: bun install; after playwright install chromium, chromium.launch succeeded; ffmpeg-static usable. Ran capture.ts on a local file:// CSS animation (--selector #box --trigger load --duration 1500 --fps 25 --track #box), then compare against itself. Read SKILL.md and references. Did not install into Claude Code global skills; no full /reanimate session against vercel.com or similar.

What we found when we tried it:capture wrote 43 frames @25fps; inspect found CSSAnimation rise (duration 1200ms, opacity/translateY keyframes); trackSamples=91; renderer SwiftShader. Self-compare: mean mismatch 0.00% → PASS, timing error 0s → PASS.

How to get in

Public GitHub; needs Playwright Chromium download. Chinese write-up via @GitHub_Daily. Demo site: reanimate.niazmorshed.dev.

Who it suits

Frontend/design engineers cloning marketing-site motion who are tired of agents saying it looks fine; skip if you don't ship motion or don't run Claude Code.

Pitfalls

  • First install is heavy (Chromium + ffmpeg ≈250MB); no Bun means instant failure.
  • Login walls, YouTube and Loom need a screen recording first. Physics springs are fitted, not read from source.
  • Pixel-perfect also matches fonts/colours/spacing—easy to trip copyright; motion-faithful default is safer.
  • Our run: local capture/deps/Chromium worked; we did not finish a full Claude Code clone of a real marketing site—author example numbers remain README claims.

More in this category