Find your next open-source project

Search by name, purpose, or keyword, or paste a GitHub URL. Start with / to search agent skills (e.g. /pdf)

cth9191/animate

Media & Design

A Claude Code skill that turns a prompt into a short animated video drawn procedurally on canvas and rendered to MP4.

This repo is an agent skill pack · 1 skillsSkill list and install →
2,757
332
JavaScript
MIT
2 months old

What it does

Animate is a Claude Code skill for producing short animated videos entirely in code. Each piece is a single <canvas> drawn procedurally, deterministic frame by frame, then rendered to MP4 through a headless browser and ffmpeg. It suits explainers, histories and short stories that need a consistent visual language rather than hand-made motion graphics.

Seven styles ship built in — cut paper, crosshatch, riso, sketchbook, math, pixel and isometric. A style is a plug-in that supplies the drawing kit while the story grammar, timing, sound, renderer and tools stay shared; a piece selects one via "style" in its piece.json. Authors can also supply references (video, stills, a web page) so the skill measures palette, line weight, texture, motion and cut rhythm and saves a new style under styles/<name>/. Reference media stays on the machine.

Workflow

The skill asks intake questions (subject, formats, voice, look, hero, music, product), then gates three cheap approvals before animating: a numbered beat table with web-checked facts, 2–4 full-size style frames, and a storyboard of every beat with sound and transitions. After that it builds, renders and reviews the piece with measured checks for beat-grid cuts, loudness arc, hero anchoring, narration pace, and text that is clipped or overlapping.

Baked-in tools include a story grammar with eight short-form formats, a seeded-randomness kit with cameras and shape-morph transitions, a synthesizer and loudness stage, plus export, review, compare, beat-mapping and frame-hash checks. Optional extras cover voice-over with local word timing and optional ElevenLabs takes, beat-mapped music, real product screenshots, and layouts for 9:16, 1:1, 4:5 and 16:9 from one source piece.

Quick start

Requirements: Claude Code, Node 18+, Playwright with Chromium, and ffmpeg on PATH. For voice-over, Python with faster-whisper is needed, and ElevenLabs is optional.

npm i -g playwright && npx playwright install chromium

Install as a plugin in Claude Code:

/plugin marketplace add cth9191/animate
/plugin install animate@animate

Alternatively copy plugins/animate/skills/animate/ to ~/.claude/skills/animate/. Then ask for a piece, for example:

/animate a 45-second history of the bicycle, cut paper

Pieces land in pieces/<name>/ of the current project. To run tools directly, set SKILL to the skill path and build a piece:

SKILL=~/.claude/skills/animate
node $SKILL/tools/build.mjs pieces/my-piece
node $SKILL/tools/export.mjs pieces/my-piece --share --formats 9:16,1:1,16:9
node $SKILL/tools/review.mjs pieces/my-piece

Open the built index.html to preview (click for the score, ?t=12.5 to freeze a frame). A complete 60-second cut-paper example lives at plugins/animate/skills/animate/examples/history-of-ai/ and builds with the same build.mjs command.

The install steps are in the README; Claude Code itself is at code.claude.com and Playwright at playwright.dev.

Constraints

  • Rendering depends on a headless Chromium and ffmpeg; both must be installed and reachable before any export works.
  • Fonts are the local system fonts with per-platform fallbacks, so exact typography can vary between Windows, macOS and Linux machines.
  • Word-level voice timing requires Python and faster-whisper; ElevenLabs voice takes use a connector configured in Claude settings.
  • The WebGL motion-design style is listed as coming, not shipped; WebGL pieces currently run on GPU only when available and warn otherwise.
  • A new style from references needs a reference-measure and compare pass plus explicit approval, and stays local to the project under styles/.
  • License: MIT.

HotRepo's take

On the January JavaScript monthly list for 2026-12-04, the project recorded 1,267 new stars in the period, reaching rank 7 and a total of 2,757 stars and 331 forks. There is no all-language daily rank or long trend series here, so this single monthly snapshot supports only that date's figure. What stands out technically is the pipeline design: approval gates before expensive rendering, deterministic canvas output, and automated checks on beats, loudness and clipping — engineering a reviewable process around generated video rather than relying on prompts alone.

Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.

You might also like

  1. Vincentwei1021/anything2explainerTurns any topic into a narrated, code-drawn explainer video through a Claude Code or Codex skill.TypeScript3,088
  2. staryone/motlabCode-defined video engine that renders canvas scenes to MP4 in headless Chrome, with a review viewer and agent skills.JavaScript101
  3. alexgreensh/anidoodleA skill and rendering engine that draws hand-drawn illustrations, animations and scores from code in 32 styles.TypeScript2,681
  4. owlinthebarnai/video-studio-kitLocal web studio that turns a prompt into a short animated video using your own Claude Code subscription.JavaScript106
  5. andyhuo520/vibe-knowledgeA Claude Code skill that turns one knowledge point into a narrated, sourced short explainer video, rendered frame by frame from code.JavaScript110