Logotipo de Claude Animation

Claude Animation

Comunidad
buildwithhanif
claude-animation

Make short hand-drawn 2D animations entirely in JavaScript — storybook / textured-editorial illustration (paper grain, hatching, blue construction guides, glossy insect characters, nest cross-sections) and brush-ink + watercolour explainers — rendered frame-exact with node canvas and ffmpeg, with synthesised sound. Use for "bikin animasi", "animate this story", "hand-drawn animation", "storybook animation", "JS animation", "line drawing animation", "animasi semut", kids' story or science explainer animations. Not for UI micro-interactions, slide decks, or talking-head video editing.

Descripción general

Editorbuildwithhanif
Repositorioclaude-animation-skill
Nombre de la habilidadclaude-animation
Estrellas
117
Forks
17
Archivos incluidos
29
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Archivos incluidos: 29

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por buildwithhanif en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Claude Animation en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/buildwithhanif/claude-animation-skill/tree/main/plugins/claude-animation/skills/claude-animation
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/buildwithhanif/claude-animation-skill.git /tmp/claude-animation-skill
mkdir -p .claude/skills
cp -r /tmp/claude-animation-skill/plugins/claude-animation/skills/claude-animation .claude/skills/claude-animation
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Claude Animation en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Claude Animation automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Claude Animation no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

claude-animation

Frame-exact, hand-drawn-looking 2D animation written as code. A film is a pure function frame(ctx, t); the library draws the look (brush, pencil, watercolour, grain, hatching), the rigs act (a detailed ant, a bean-bodied cast), and the harness renders, previews and checks it.

Every rule below is something that went wrong on a real film — a 59 s brush-ink + watercolour history recap and a set of storybook insect films — and took a render to find.

Read first

I need to…Go to
Make an original animation from a briefreferences/workflow.md → templates/beat-sheet.md → templates/film-template.mjs
Make it more detailed (materials, textures, characters)references/detail.md — the detail bible. Read it before drawing any surface
Draw / pose / walk the ant, or build a new creature rigreferences/characters.md, lib/rigs/ant.mjs
A colony: leaves, brood, fungus, roots, a nest cross-section with walkable tunnelslib/colony.mjs
Faceted low-poly poster art (flat vector landscapes, ambient seamless loops)lib/lowpoly.mjs, references/styles.md § 5, examples/claude-balloon/
Action / video-game feel: jumps, punches, hit-stop, shake, sparks, combo, boss barlib/fx.mjs, lib/rigs/critter.mjs, lib/rigs/bug.mjs, examples/claude-game/
People (bean body, stick limbs, watercolour)lib/rigs/bean.mjs
Timing, acting, cuts, camera, transitionsreferences/motion.md
Pick or match a look (editorial-texture, brush-watercolour, line-doodle, 3D type)references/styles.md
Sound: SFX from the picture's timeline, a synthesised bed, loudnessreferences/sound.md, scripts/sound.mjs, scripts/music.mjs
Something brokereferences/traps.md
What other animation skills do, and what we tookreferences/prior-art.md

The library (lib/)

filegives you
core.mjseasing (eOut eIn eIO eBack eElastic eBounce eExpo popS), ss windows, hash rng noise1, catmull pathOf ik, canvas helpers (at line poly smooth ellipse stroke fill taper), texture (hatch fibre grainOver burst speedLines)
pen.mjsPen: tapered brush stroke, pencil (3 broken passes), ring, box (overshooting corners), wash (blooming watercolour), text (writes itself), reveal-in-order, stable named seeds, opt-in boil
textures.mjspaper fibrePaper lightBands sun moon star4 grass soil nightSky fleshCells filmFinish
nature.mjssprout melonLeaf tendril vine blossom bee drop
rigs/ant.mjsant(ctx, x, groundY, s, pose) — the detailed ant (pose.look = ink / fill / tex layers for build-up reveals); antGuides() blue construction lines; seed()
colony.mjsleaf leafPiece egg larva cocoon seedGrain fungus roots nestCanvas (chambers + tunnels baked into soil, returns pathOf walkers)
lowpoly.mjsfacetMass (bake a mass into lit triangles from a ramp, with dome / fade / haze), ridge, skyGradient, facetCloud, RAMPS (canyon, dusk, mesa, forest, ice, water, balloon, cloud)
fx.mjstimeWarp (hit-stop: game time freezes on contact, effects keep running), shake, burstParticles (spark / debris / dust / confetti / ember), landDust, ring, flashAlpha, comicText, floatText, afterimages, starburst, heart
rigs/critter.mjsa blocky action hero: run, jump, flip, squash & stretch, punch, kick, hurt, charge aura, expressions
rigs/bug.mjsa beetle enemy (and boss with horns): scuttle, jaw, flash, squash, spin
rigs/chibi.mjsa big-head cartoon person with real joints, styled by a look preset (hair, glasses, shirt, pocket + pen, pants, shoes): walk / run / jump / cheer / point / wave / carry, eyes, brows, lip-sync mouths, blush, sweat
rigs/bean.mjsperson bust bubble flagCloth hat SKIN
film.mjsrun({...}) → render / sheet / strip / verify; exposure(t, track, fps) for ones / twos / holds

Install once per machine: cd <skill dir> && npm install (only dependency: @napi-rs/canvas). ffmpeg on PATH.

The loop

brief ─▶ style bible + beat sheet ─▶ film.mjs (copy the template) ─▶ sheet ─▶ fix ─▶ strip the fast bits
     ─▶ verify ─▶ render ─▶ cues.json ─▶ sound.mjs ─▶ look at the master's contact sheet ─▶ deliver

Hard rules

  1. Beats before code. Fill templates/beat-sheet.md: every beat has an end state the viewer could point at, a camera, an exposure and a sound cue. Designing inside the code makes slides.
  2. Every surface gets three layers: base → texture → edge. A flat fill is unfinished. The detail bible lists the texture for each material (fruit = packed cells + seeds with highlights, soil = hatch + strata + pebbles, chitin = gradient + form hatch + specular streak + rim light + setae…).
  3. Characters are rigs with anatomy, not blobs. Use lib/rigs/ant.mjs for insects; its local origin is the ground under the waist, so ant(ctx, x, groundY, …) always stands on the ground. Never add a per-call "ground" offset (that exact knob produced stilt legs for two passes).
  4. Boil is a decision, not a default. The textured-editorial look holds still shots perfectly still; the brush-watercolour look boils at 10 fps. Write the choice in the style bible.
  5. Stable seeds. Marks are seeded from a name (pen.begin("ant/body")), never from the frame index, so a held drawing keeps its marks and a re-render is identical. node film.mjs verify must pass.
  6. Look at pixels, every pass. sheet before render, strip around every contact or fast action, and a contact sheet of the encoded master before you call it done. A render that exits 0 proves nothing.
  7. Sound comes from the picture's timeline, ~0.03 s before each contact. No continuous pencil-scratch bed (tested, rejected: it fights everything). Loudnorm the mix.
  8. Show the world, not a slide. A setting needs layers (sky, far, mid, ground, foreground passing the camera), and a place needs inhabitants doing things. The camera moves through it.

Quick start

bash
SK=~/.claude/skills/claude-animation            # wherever this skill lives
mkdir my-film && cd my-film && cp $SK/templates/film-template.mjs film.mjs
CLAUDE_ANIMATION_LIB=$SK/lib node film.mjs sheet 0,1,2,3,4    # look
CLAUDE_ANIMATION_LIB=$SK/lib node film.mjs render             # out/template.mp4
node $SK/scripts/music.mjs bed.wav --dur 5 --end 4.4
node $SK/scripts/sound.mjs cues.json out/template.mp4 out/final.mp4 --bed bed.wav

Worked films in the repo: examples/money-quest/ — a 30 s two-hander adventure (the chibi rig + the critter); examples/claude-balloon/ — a 30 s seamless ambient loop in faceted low-poly (every motion periodic in 30 s, audio in 4 × 7.5 s bars so it loops too); examples/claude-game/ — a 30 s video-game short (platforming, bugs, a boss fight with hit-stop, combo, special, K.O., chiptune from scripts/chiptune.mjs); and examples/ant-colony/ — 32 s, 16:9: a sketch → ink → colour → polish build-up, a leafcutter cutting and carrying a leaf through a meadow, a dive into a nest cross-section (fungus garden, nursery, queen, stores, tunnels full of traffic), 240 sound cues from the timeline; renders in ~27 s.

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Son archivos de solo lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA Claude Animation?

Make short hand-drawn 2D animations entirely in JavaScript — storybook / textured-editorial illustration (paper grain, hatching, blue construction guides, glossy insect characters, nest cross-sections) and brush-ink + watercolour explainers — rendered frame-exact with node canvas and ffmpeg, with synthesised sound. Use for "bikin animasi", "animate this story", "hand-drawn animation", "storybook animation", "JS animation", "line drawing animation", "animasi semut", kids' story or science explainer animations. Not for UI micro-interactions, slide decks, or talking-head video editing.

¿Por qué usar Claude Animation en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Claude Animation está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Claude Animation en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/buildwithhanif/claude-animation-skill/tree/main/plugins/claude-animation/skills/claude-animation. TypingMind lee el archivo SKILL.md de esa carpeta, empaqueta los archivos de la carpeta e instala el conjunto como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Claude Animation?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Claude Animation?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Claude Animation con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Claude Animation?

Sí. buildwithhanif la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇