Skill library

Agent skill Web motion

Reanimate

Design, implement or review motion on the web.

  • Animation

Install the skill

Installation method

Run the command from your project root with Node.js and npm.

npx skills@latest add NiazMorshed2007/reanimate --skill reanimate --agent claude-code --yes

Check this file in your project.claude/skills/reanimate/SKILL.md

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add NiazMorshed2007/reanimate --skill reanimate

    Select your assistant and choose the project installation scope.

    Official instructions

The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. Use motion footage and assets you own or are authorized to reproduce. The publisher scripts run with Bun and their companion dependencies. Run setup in a workspace where it can install its browser and ffmpeg.

View operation manual

What this skill helps with

  • Design, implement or review motion on the web.

Good for

  • Web motion and transitions
Publisher
NiazMorshed2007
Controls
frames.ts · compare.ts · sheet.ts compare · --fps 20 · --offset 0
Result
A deliberately shifted timeline is caught in the timing report even if pixel mismatch is under threshold.
Skill name
reanimate

Common pitfall

Avoid this prompt

Change crop or frame rate between runs, then accept the result based only on mean pixel mismatch.

Comparable frame sets isolate the motion, and timing can fail even when pixel mismatch passes.

Use these steps

  1. Read the source and set up the example
  2. Implement the documented behavior
  3. Inspect the actual result

Project walkthrough

Transfer an owned reference motion cue and verify its timing with a repeatable frame comparison.

Transfer an owned reference motion cue and verify its timing with a repeatable frame comparison.

  1. Read the source and set up the example

    Use motion footage and assets you own or are authorized to reproduce. The publisher scripts run with Bun and their companion dependencies. Run setup in a workspace where it can install its browser and ffmpeg.

    Prompt · Step 1
    Use Reanimate for [my original cue prototype]. Record its target, destination and motion-faithful goal in .reanimate/<name>/spec.md. From my own local clip, use frames.ts with matched crop and frame rate, and identify the trigger, start, end, easing and travel of the cue.
  2. Implement the documented behavior

    Transfer an owned reference motion cue and verify its timing with a repeatable frame comparison.

    Prompt · Step 2
    Implement the cue in my existing stack with original copy and imagery. Record its frames on the same trigger and with the same viewport, crop, duration and fps. Use the fixed frame origin when both clips share the same trigger reference, and keep the intermediate frames for review.
  3. Inspect the actual result

    A deliberately shifted timeline is caught in the timing report even if pixel mismatch is under threshold.

    • A deliberately shifted timeline is caught in the timing report even if pixel mismatch is under threshold.
    Prompt · Step 3
    Run bun <skill>/scripts/compare.ts --ref ref/frames --clone clone-1/frames --out compare-1 --fps 20 --offset 0 for a 20fps setup. Compare start, end and peak timing as well as the pixel report. Use the documented sheet.ts compare command for contact sheets and report the remaining deviations.

Implementation lookup

Compare the required inputs with the local verification result.

Inspect the implementation controlsVerify
Command or reference
frames.ts · compare.ts · sheet.ts compare · --fps 20 · --offset 0
Examples
A deliberately shifted timeline is caught in the timing report even if pixel mismatch is under threshold.

FAQ

What should I prepare first?

Use motion footage and assets you own or are authorized to reproduce. The publisher scripts run with Bun and their companion dependencies. Run setup in a workspace where it can install its browser and ffmpeg.

How do I verify the result?

A deliberately shifted timeline is caught in the timing report even if pixel mismatch is under threshold.