name: 2d-animation description: Make any 2D animation video from an idea or script: a talking character with lip-sync voice, a silent story with movement only, an explainer or motion graphics video, or a hand-drawn cartoon. Renders frame-exact MP4 for YouTube. Use when the user asks to animate, make a cartoon, make a 2D video, make a character talk, or make a story video.
2D Animation
Make any 2D animation video from an idea or a script. Give it a brief and get a frame-exact MP4 that is ready for YouTube.
This skill is general. It is not tied to one character, one story, one language, or one style. Use a placeholder such as [CHARACTER NAME] for any character the user has not named. Never invent a character name, a voice, or a story and treat it as the user's choice.
Decide the route first
Before you build anything, name the route and say why. Pick exactly one route and exactly one renderer per video.
- Talking character — one character speaks on camera. Use Rigby2D. The voice file is made first, then lip-sync keys the mouth from the audio.
- Silent story — a story told only with movement, acting, and sound. No dialogue. Use the hand-drawn story method in
references/workflow.mdandreferences/detail.md, with Node canvas + ffmpeg. - Explainer / motion graphics — clean vector motion, kinetic type, and diagrams. Use Remotion or Motion Canvas. Use HyperFrames when the animation is written in HTML.
- Hand-drawn cartoon — a hand-drawn look. Use OpenToonz for a full production, Synfig Studio when key poses should fill the frames between them, or Pencil2D for a simple cartoon for beginners. Use Manim for maths and science explainers.
If the user has not said which route they want, ask. Ask for the character, the exact words, the language, and the size only when that route needs them. Do not ask for all of them at once when only one is missing.
Story planning
- Write a logline first: a character wants something, but something stops them, so something happens.
- Write a beat sheet from
templates/beat-sheet.mdbefore any scene code. Use 5 to 7 beats for a 30 second video. - Break each beat into one shot. Give each shot a time span, a place, a character, one action, and one thing the viewer must understand.
- Write the reads for each shot. A read is one thing the viewer must understand, with a start time and an end time.
- Block key poses as stills at each shot's storytelling moments. If a pose does not read as a still, motion will not save it.
- Show the storyboard or the beat sheet to the user before building when the user is waiting.
- Fix the size first and keep it through the whole video: 1920 by 1080 landscape for YouTube, or 1080 by 1920 vertical for Shorts and Reels.
- Set the frame rate to 30 frames per second unless the user asks for another rate.
- Keep on-screen text short, and leave it on screen long enough to read.
Character consistency
- Fix the character design before the first scene: face, hair, clothes, colours, proportions, and one identity colour.
- Keep one model sheet for each character: front view, side view, face expressions, and hand poses.
- Reuse the same rig, the same colours, and the same voice in every scene and every video with that character.
- Do not change the character's look between scenes unless the story says the look changes.
- Keep the same character on model across episodes. Do not generate a new character for each scene.
- Read
references/characters.mdbefore you rig or draw a character.
Script rules
- Write the script first when the user has no script. Keep it in short lines that are easy to speak.
- Keep each spoken line under 12 words in English. Keep each spoken line under 10 words in Bengali or in another language the user writes.
- Use one idea per line. Do not put two actions in one line.
- Give every line a face, a mouth shape, and a hand or body action.
- For a silent story, write no dialogue. Write actions, reactions, and sound cues instead.
- For an explainer, write one claim per scene and one visual that proves it.
- Never put captions, labels, signs, or words on screen unless the user asks for text on screen.
Voice rules
- Make the voice file before you animate the mouth. Lip-sync needs the audio first.
- Use one voice for one character in the whole video.
- Match the voice language to the script language. Do not read Bengali words with an English voice, or English words with a Bengali voice.
- Save the voice file with the video name and the date. Listen to it once before you use it.
- Ask the user to approve a new voice before you render the full video.
- Read
references/sound.mdfor voice, music, effects, and mixing.
Lip-sync
- Rig the character before you animate it. In Rigby2D, use AutoRig for a layered PSD or SVG file.
- Add bones for the head, the jaw, the arms, and the legs. Add a mouth with visemes.
- Drop the voice file into Rigby2D and let lip-sync key the mouth from the audio. In Rigby2D this uses on-device Whisper transcription, so the audio stays on the local machine.
- Check the mouth on a 3 second test before you render the full video.
- Add a blink, a small head move, and a hand move so the character feels alive. Keep the eyes looking at the camera when the character speaks to the viewer.
- If the mouth does not match, fix the voice timing first, then the mouth keys. Do not hide a bad match with a fast cut.
Motion rules
- Add anticipation before a big move. Add slow in and slow out instead of raw linear motion. Use arcs for jumps and throws.
- Use overlapping action: eyes lead, body follows, arms and clothes settle last.
- Do not twin the left and right sides. Offset left and right limbs, and offset the phase of two characters.
- Exaggerate a little. Real motion reads as flat on screen unless it is pushed.
- Use easing for every move: ease out to start, ease in to stop, ease in-out for a full move.
- A film is a pure function
frame(ctx, t). The same timetmust give the same pixels every time. No counters, no state carried between frames, no unseeded random. - Reseed random numbers per element. A moving element consumes a variable amount of randomness, and without its own seed it shifts the stream for everything drawn after it and the still parts jitter every frame.
- Read
references/motion.mdfor timing, acting, camera, and transitions.
Detail bible
- Every surface gets base, then texture, then edge. Never draw a flat shape and call it finished.
- Soil is hatch plus strata plus pebbles. Chitin is a gradient with form hatch, a specular streak, rim light, and setae. Leaves have serrated edges and pale veins. Fungus is a spongy mass that grows.
- Line weight falls off with depth. Near things have heavier lines. Far things have lighter lines.
- Paper grain, hatching, brush ink, and watercolour that blooms make code look drawn. Flat shapes sliding around do not.
- Make the model ask for detail surface by surface instead of hoping for it.
- Read
references/detail.mdbefore you draw any surface.
Render rules
- A film is a pure function
frame(ctx, t). Use the template intemplates/film-template.mjs. - Render with Node canvas + ffmpeg for the code template. Render with Rigby2D Film workspace for a talking character. Render with Remotion, Motion Canvas, Manim, or HyperFrames for their own routes.
- Render to MP4 with H264 video and AAC audio.
- Use 1920 by 1080 landscape for YouTube. Use 1080 by 1920 vertical for Shorts and Reels.
- Use 30 frames per second unless the user asks for another rate.
- Keep one source file per scene. Reuse characters, colours, and sounds across scenes.
- Save the project files beside the MP4 so the video can be changed later. Name the output file with the video title and the date.
Check loop
- Render a sheet first: a grid of still frames from the whole film. Check the poses, the colours, and the composition.
- Render a strip next: 12 consecutive frames around a fast action. Check that the action reads.
- Verify next: a frame must be identical when rendered in order and out of order. If it is not, find the state or the unseeded random that leaks between frames and fix it.
- Render a 3 second test next and watch it. Fix the mouth, the timing, or the pose before you render the full video.
- Render the full video last. Watch it once from start to end before you send it.
- Never overwrite a good file with a failed encode. Render to a new file, check it, and only then replace the old file.
- Check that no text is cut off and no element jumps between scenes.
- Check that the mouth matches the voice in a talking video.
- Check that the story is clear without words in a silent video.
Traps to avoid
- Do not start with code before the beat sheet and the reads are written.
- Do not use two renderers in one film.
- Do not generate a new character for each scene.
- Do not use flat shapes and call them hand-drawn. Add grain, hatch, and edge.
- Do not put text on screen unless the user asks for it.
- Do not hide bad lip-sync with fast cuts. Fix the voice timing first.
- Do not render the full video before a 3 second test passes.
- Do not overwrite a good MP4 with a failed render.
- Do not invent a character name, a voice, or a story and treat it as the user's choice. Use [CHARACTER NAME] and ask.
Bangla Toon instruction
- For a detailed Bangla Toon flat-vector video, read
references/bangla-toon-instruction.md. It is the instruction, in Bengali, covering YouTube 16:9, 1920×1080, 30fps, MP4 H.264 AAC, the Bangla Toon palette, code-drawn characters and backgrounds, shot types A, R, E, EC, EI with ratios A+R at least 70 percent, captions, sound, the environment check, and the step-12 quality check. - Use it for both routes: a talking character with Rigby2D lip-sync from voice and JSON timestamps, and a silent story with movement, acting, music, and sound only.
- Multiple characters: no character talks. One narrator talks alone, characters only act. No lip-sync for characters in that case, and no separate voice per character.
- The same file is also at the repo root as
BANGLA_TOON_INSTRUCTION.md, so the user can copy the whole instruction to an agent.
Available tools
- Rigby2D for talking characters: https://rigby2d.com/ and https://github.com/jaisurya-dev-art/rigby2d
- Hand-drawn story method: https://github.com/buildwithhanif/claude-animation-skill
- Remotion, Motion Canvas, Manim, HyperFrames, OpenToonz, Synfig Studio, and Pencil2D by their plain names. Use
references/tools.mdto choose between them. - Do not invent a download link. If a link is not in this skill or in a verified source the user gave, say so and name the tool only.