AI Skill MartBrowse skillsPromptsProgramsLearnWhat is a Skill?
← Back to list

Animating with Code

A complete workflow for making short animated films where Claude writes the drawing code itself and renders frames headlessly to MP4.

Image & VideoAdvanced★ 418⑂ 18AI score 9/10Last updated: Nov 22, 2026

What it does

  • Enforces the frames-as-pure-functions-of-t contract: same t, same pixels — so frames render out of order, in parallel, and resume after a crash. Includes per-element reseeding to stop background jitter.
  • Requires a written storyboard before any scene code: logline, colour arc, motif, and per shot the time span, transition, event, reaction, camera, and the viewer "reads" with start/end times.
  • Blocks key poses as stills first, then layers motion in a fixed order: anticipation, slow in/out, arcs, overlapping action, no twinning, exaggeration.
  • Supplies a cheap review loop — contact sheet, fixed-step sheet (0.1–0.15 s), frame strip, and full-res crops — with a budget for how many of each per shot.
  • Documents the hand-painted ClaudeAnimationBase kit (p5.js + p5.brush, the Clawd mascot, 31 emotions) with install/render commands, CPU-render cost estimates, and a failure-signal table.
  • Verifies the final file with ffprobe against the configured duration and fps.

Who it's for

  • Anyone making animation where the frames are drawn by code, not generated footage.
  • Developers comfortable with p5.js/canvas who want a headless render pipeline.
  • Creators who keep hitting the classic AI-animation timing failure: everything at one brisk speed, beats gone before they land.

Examples

  1. "Make a 10-second animated short with the Clawd mascot" → writes a per-shot timing sheet, blocks still key poses for approval, then adds motion and encodes MP4.
  2. "This shot feels muddled" → renders a 0.1 s fixed-step sheet and points out which read is starved of frames.
  3. "The background flickers every frame" → diagnoses a shared random stream behind a moving element and applies boilSeed(key) per element.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/oaustegard/claude-skills/HEAD/animating-with-code/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on AI Skill Mart.
Copy the animating-with-code folder from the GitHub repo oaustegard/claude-skills into my ~/.claude/skills/animating-with-code/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone --depth 1 https://github.com/oaustegard/claude-skills.git /tmp/claude-skills && mkdir -p ~/.claude/skills && cp -r /tmp/claude-skills/animating-with-code ~/.claude/skills/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Open a terminal.
  2. Clone the skills repo: git clone --depth 1 https://github.com/oaustegard/claude-skills.git /tmp/claude-skills
  3. Create the skills directory: mkdir -p ~/.claude/skills
  4. Copy just this skill: cp -r /tmp/claude-skills/animating-with-code ~/.claude/skills/
  5. Restart Claude Code and ask for "an animated short" to confirm the skill triggers.
  6. (Optional) For the hand-painted kit you need Node.js and Chromium: git clone --depth 1 https://github.com/JohnHeibel/ClaudeAnimationBase, then npm install --ignore-scripts p5 p5.brush puppeteer-core, plus ffmpeg/ffprobe on your PATH.
  7. On a CPU-only machine a full render can take hours — start with a few frames via --sheet= to measure per-frame cost before committing.