Skip to content
Anidoodle

Anidoodle Skill

Agent skill that makes art and animation as code: illustrations, loops, interactive web art and scored films in 32 hand-drawn styles, identical on every render.

GitHub Docs
Featured Design & Creative
Released
Apache-2.0
87 views
23 copies

Install

Install with the skills CLI

One command for Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf and dozens of other agents. Needs Node.js; the skill is fetched straight from alexgreensh/anidoodle.

$ npx skills add alexgreensh/anidoodle --skill anidoodle

Run it in a terminal. The CLI finds the agents installed on your machine, asks which ones to add the skill to, and whether to install it into the folder you ran it from or for all your projects.

Other ways to install

  1. Open the skill on GitHub and download the folder that holds its SKILL.md.
  2. Put it at ~/.claude/skills/anidoodle/, where Claude Code picks it up in every project.

No scripts or references next to it? Saving the SKILL.md alone as ~/.claude/skills/anidoodle/SKILL.md works too.

Using another agent? Its personal skills folder
Codex
~/.agents/skills/
Cursor
~/.cursor/skills/
GitHub Copilot
~/.copilot/skills/
Gemini CLI
~/.gemini/skills/
Windsurf
~/.codeium/windsurf/skills/
OpenCode
~/.config/opencode/skills/

About

  • 31 hand-drawn and print-inspired visual styles
  • Deterministic rendering: identical output on every run
  • Stills, loops, interactive web art, launch videos and scored films
  • Plugin install for Claude Code
  • Apache 2.0 licensed

Anidoodle lets a coding agent produce illustration and motion work by writing code instead of prompting an image model. Because every piece is generated from deterministic scripts, the same input renders identically each time, so results can be versioned, reviewed and tweaked like any other source file.

It covers a wide range of outputs: still illustrations, looping animations, interactive web art, launch videos and scored short films. Thirty-two visual styles are built in, from ballpoint, chalkboard, charcoal and risograph to sumi-e, woodcut, pixel art, isometric, low-poly 3D and mid-century gouache, so a project can match a brand or a mood without hand-tuning each frame.

Install it from the Claude Code plugin marketplace. It needs Node 20 or newer, with Playwright for stills and ffmpeg for animation output. Anidoodle is released under the Apache 2.0 licence.

SKILL.md

The instructions your agent loads, as published by Alex Greenshpun.

SKILL.md
name
anidoodle
description
Code-drawn stills, drawing timelapses, films, explainers and interactive web animations in 31 styles, with composed scores. Matches a reference style, keeps characters consistent, teaches drawing. Deterministic, no generated assets.
metadata
created_by: Alex Greenshpun (10x Company) license: Apache-2.0

anidoodle

Pictures, films and interactive pieces drawn entirely in code. One pure function paints every
frame; another composes and synthesizes every audio sample. The same source rebuilds the same
pixels and the same sound on any machine, at any size, at any length.

The engine is the easy half. Work gets thrown away because it had no point, because the subject
was an icon of itself, because a style was only a palette swap, because the music had no form,
or because the person spent their patience approving fragments. This skill carries the craft
that prevents each of those.

Start by asking, then build

Read references/workflows/start-here.md and run its intake: one question at a time, only
what the request leaves open, your recommendation first. What are they making, in **which
style** (show the gallery sheet, https://github.com/alexgreensh/anidoodle/blob/main/skills/anidoodle/assets/styles.jpg; the list is references/styles/INDEX.md), what
shape (1x1, 9x16, 16x9, 4x5 or any W x H), how long (any length; never cap it), what
sound (silent or a music style and mood), which characters. "You pick" means pick and
say why in one line. Write the answers into a short brief before drawing.

What are you making?
MakingRead
A still: hero, spot, cover, card, poster, a seriesStill workflow below, references/formats.md
A picture that draws itself (timelapse, making-of)references/workflows/drawing-process.md
A loop, sticker, animated logo, ambient headerLoop workflow below, references/formats.md
A story film, any lengthFilm workflow below, references/workflows/long-film.md
An explainer or an infographicreferences/workflows/explainer.md
A launch or product video (their screenshots welcome)references/workflows/launch-video.md; build it on references/workflows/launch-video-kit.md
An interactive web animation that reacts to the UIreferences/workflows/interactive.md
A drawing lesson, or "how do I draw this?"references/workflows/teach-drawing.md
A character kept identical in any style (woodcut to toy brick)references/workflows/character-consistency.md, references/anatomy.md
A style matched from their imagereferences/workflows/adapt-a-style.md
A score or soundtrackreferences/music/README.md
  • Music: write your own score for the film (references/music/README.md); node tools/music.mjs check <score.ts#export> must PASS before a human listens.
  • Sound effects: references/music/sound-design.md. 14 layered, seeded effects cued by film frame (filmSfx); the score ducks, and every cue must be within 6 dB of it. Effects only on real direction changes, one riser + one impact per film.
  • Launch films: launchTemplate.ts renders a product's launch from data: prompts, plates drawn for it, a score written for it, words, install lines; habits that save tokens are in references/working-method.md.
The seven laws
  1. Every piece has a point. A still: one idea, one focal subject, one light. A film: one

transformation, one payoff, one token that returns. → references/storytelling.md

  1. State the realism. Name the anatomy, the view and the reference you opened, for animals,

objects and people alike. → references/realism-and-craft.md, references/anatomy.md

  1. A style is a way of making marks. Change the medium, the edge and the order of the marks,

beyond the palette. → references/styles.md

  1. Prove the look on ONE still, then build end to end. After that, gates cost more than they

save. → references/working-method.md

  1. The contract is absolute. Pure in (frame, env) (and the input log, for interactive

pieces), rng(seed) only, no clock, no ctx.filter. Nothing generated or downloaded; images
the person brings may be embedded, pinned by hash. → references/determinism-and-contract.md

  1. Music gets a plan, never an adjective. A style, a mood per section, the notes as data, then

measurements. You cannot hear it, so one human listens before it ships. → references/music/

  1. One directs, one builds, both write everything down. When a session degrades, reset; the

files are the memory. → references/working-method.md

Workflows

Still. (1) Say the idea in one sentence; name the focal subject and the light. (2) Open real
reference for anything that exists, and note which. (3) Pick the style and read its plate's
header first. (4) Draw in that medium's order. (5) Render with still.mjs at full size, run the
detail pass on crops (faces, hands, feet, joins; references/craft-bar.md), critique in writing. ✋ One approval. (6) Deliver every
size and shape asked for from the same source, and say reproducible was printed.

Loop. As a still, plus: every motion is periodic over the loop, the subject never stops,
something moves every second. Check the seam (last frame against frame 0). ✋ **One approval,
on the moving file.**

Film. (1) The story in three sentences (setup, transformation, payoff) and the token; for
longer films, a spine plus one line per chapter. If you cannot write it, stop. (2) The grid:
a beat is 60 x fps / bpm frames, the bpm from the brief's score; one cue table holds every frame number and a checker
runs at load. (3) Real reference for anything that exists. (4) ONE look still, the hardest
frame, critiqued in writing. ✋ Approval. (5) ONE 8-second music sample. ✋ Approval.
(6) Build the whole film; mechanical checks run continuously. (7) Review once from the
rendered file: a contact sheet per beat, each cut as a pair, the dead-air numbers. One ranked fix
list, one rebuild. (8) ✋ Final approval. Say what you verified and what you cannot.

Three approval gates at most. Approval is a budget; spend it where being wrong is expensive.

The craft bar

The test: would a proud human illustrator ship this, or is it mechanical shape-assembly? The
full table of tells is references/craft-bar.md. The ones that sink most work: subjects built
from ellipses, one style recoloured into another, things that fade in instead of being drawn,
people with rubber joints, and a character drawn differently from shot to shot.

No dead air in anything that moves: something visibly changes every second. A film that
draws itself declares kind: "drawing" and is judged on a finer floor; a freeze still fails.

The engine

engine/ is the portable art core plus the tooling. engine/src/canvas-core knows nothing
about the DOM or any backend. W, H, fps and durationFrames come from the film's meta.
Camera moves (pans, zooms, parallax, shake) come from engine/src/canvas-core/camera.ts:
references/camera.md. render.mjs --blur N renders with motion blur (N subframes averaged in
linear light per frame); the default path is untouched.

node <skill>/engine/tools/scaffold.mjs ~/art --film intro --format 9x16 --duration 12   # seconds
cd ~/art && npm install && npx playwright-core install chromium
node tools/still.mjs intro --frame 0 --out out/look.png --scale 2   # a still, with its hash
node tools/render.mjs intro                                        # MP4; --out x.gif|x.webm|x.apng
node tools/gate.mjs intro                                          # determinism, contract, dead air
node tools/emit.mjs intro --out out/intro.html                     # one self-contained offline player
ToolWhat it does
scaffold.mjsa project with a still and/or film; --duration, --format or --size, --fps, --bpm
still.mjs / render.mjsframes drawn twice with hashes (--frames a,b,c --sheet in one browser) / the piece in any format (--from/--to, --poster-frame, --hashes)
gate.mjsdeterminism, contract, dead air, artifact; --self-test proves it can fail
registry.mjs / gallery.mjsthe style list from the plates themselves / the gallery sheet
docs-check.mjsfails when any doc's style count, length or path disagrees with the code
verify-export.mjsQA on the rendered file: frames, duration, score; opt-in first frame, loop seam, --delivery
test.mjs (npm test)unit suites in engine/test/, no browser
music.mjsrenders and meters a score; check gates it (key, master, guards, stems, novelty)
sfx.mjsthe sound-effects kit: list, one, kit <dir>, test

Four backends, one art core: playwright, html-player, remotion, hyperframes.
→ references/backends-and-adapters.md

Worked examples
  • The style plates in engine/src/canvas-core/: every hand has a still and a film of it being

drawn, with the recipe in the header and references/styles/<id>.md.

  • MECHANICAL LEPIDOPTERA in example/: a 47 s scored film. scaffold.mjs ~/study --example.

Study them. Do not copy them. The craft bar is not satisfied by inheritance.

Honest limits

You cannot hear the score, watch the film move, or use the interactive piece. Every claim about
them comes from a measurement or from a human; say which. A green checkmark is a claim until you
re-run it. Render one frame at --scale 2 before trusting a still: a layer blitted through the
wrong transform looks right at 1x and breaks at 2x.

Install

Covered in the Weekly

Skill: Anatomy

by Ryan (wheresryan22)

Agent skill that explains a technical idea by drawing it as a detailed, interactive isometric machine in SVG, with optional WebGL shaders and a 3D mode.

Skill: huashu-motion

by alchaincyf

Agent skill that makes product launch films: it reads your product, offers three directions, scripts and scores the film, then lets you point at a frame to change it.

Browse all skills →