Claude Animated Shorts: the Claude Code skill that makes 3D animated shorts with three.js and Remotion
Claude Animated Shorts is a Claude Code skill that produces 55 to 70 second vertical animated shorts: flat 2D characters with ink outlines inside a painted 3D town, gliding cameras, lens blur, a march score and sound effects. It uses no AI video generator. Everything is rendered with three.js inside Remotion on your own machine, and the sound is synthesized in Python.
The repository was published on November 1, 2026 and goes with the YouTube video *How to Make Viral Animated Shorts Using Claude*. We read all of it (commit e3b817b) to tell you what it really ships, how its render engine works, what you need to use it and which parts you should not copy as they are.
What Claude Animated Shorts is
- Repository: github.com/mromidev/claude-animated-shorts
- Skill name:
cartoon-3d-short(thenamein theSKILL.mdfrontmatter). - License: MIT for the code and docs, 2026, "Mr omi". The reference images are a different story, covered below.
- Status: two commits, no releases and no
package.json. It is a dump of a real project, not a packaged library. - Finished example: *The Bridge That Fell for a Song*, a 67 s short about the Broughton suspension bridge (1831), which collapsed when 74 soldiers marched across it in step.
The idea is to give Claude Code, in a single SKILL.md, everything the author learned while making that short: the work order, the script formula, the final colour, ink and camera values, and a list of bugs already solved. When you say "use the cartoon short skill and make a short about…", Claude copies the bridge template and rewrites it for your story.
What's in the repository
| Folder | Contents | Size |
|---|---|---|
| `SKILL.md` | The full pipeline, rules, final look values and known pitfalls | 15 KB |
| `templates/bridge/` | Source of the bridge short: 13 TypeScript files (world, characters, ink, lens, grade, camera timeline) | ~4,800 lines |
| `templates/audio/` | SFX, music and mix synthesis in Python with numpy and scipy | ~2,100 lines |
| `templates/scripts/` | Stills, side-by-side sheets, sandbox merge and frame-by-frame QA | 5 scripts |
| `references/STYLE_BIBLE.md` and `reports/` | The script and picture formula measured on 20 reference shorts, in seven reports full of numbers | ~51,000 words |
| `references/frames/` and `sheets/` | 38 frames and 20 contact sheets (1,200 frames) from those shorts | 18 MB |
The most valuable part is not the code for one specific story but the numbers: each report (motion.md, depth.md, outlines.md, grade.md…) turns a visual style into measurable values such as line width in pixels, mean luma per shot or peak camera speed. An agent can check numbers; it cannot check "more colourful".
How rendering works: three.js inside Remotion
Remotion renders video from React components: each frame is a call to your component with a frame number. The @remotion/three package puts a three.js canvas inside that component. The template uses it to pose a whole 3D world on every frame from a timeline in story.ts.
World and characters
- 3D world (
world.ts,build.ts,paint.ts,lights.ts): houses with facades, the bridge, a river, a custom sky shader and fog in the horizon colour. Textures are painted in Canvas2D with the seams already darkened. There are two light presets, day and golden, with the sun frozen per shot and relative to the camera. - Props: trees, lanterns, stalls and a windmill from Kenney's CC0 kits, recoloured by material name. A sight-line culler removes anything that blocks a camera.
- Characters (
toon.ts,cast.ts,cardshade.ts): they are not 3D models. They are drawn in code on a 600×1000 canvas (bean heads, single-stroke limbs, dark plum outline#241726, 14 expressions) and placed as billboards that turn toward the camera. Soldiers marching in step share canvases to save memory, and the scene light shades them like everything else.
Ink, blur and grade
The most interesting part, technically, is the post-processing chain, in this order: ink → lens (two passes) → bloom → NEUTRAL tone mapping → grade, with MSAA 4.
- Ink (
ink.ts): re-renders only the world (layer 0) into a normals and depth buffer. It draws a line where there is a depth jump (using the second difference of 1/z, which is exactly zero on any plane and avoids false lines at grazing angles) or a crease of more than about 50°. Characters live on theNOINKlayer so the world pass never draws a rectangle around them. - Lens (
lensblur.ts): thin-lens depth of field with a circle of confusion ofcInf × |1 − focus/depth|. A 16-tap pre-pass and a 64-tap Vogel disc give a smooth blur with no noise, so it does not flicker between frames. - Scale: every pixel value is defined at 1080×1920 and multiplied by
height / 1920. That is why a half-scale test still and the final 1440×2560 render look the same.
The design detail the comments keep coming back to: ink is its own pass before the blur. In the same pass as the depth of field, the blur overwrites it; as a separate pass, lines blur together with the object they belong to.
Sound with no audio library
templates/audio/ uses no external sound files. sfx_gen.py synthesizes in numpy boots on planks, creaks, chains, the bolt snapping, the splash, birds and even crowd voices via formants. music.py composes an original march with synthetic instruments, and mix.py mixes voice, music and SFX with ducking under the voice, normalizes to −15 LUFS and limits true peak to −1.2 dBTP. timeline.py mirrors the timings of story.ts by hand, so any edit to the cut means regenerating the sound.
The method: how the final look was reached
The most reusable section of SKILL.md is the look-match loop, useful for any "make it look like X" job:
- Measure before touching anything. One agent per topic (motion, depth, textures, characters, lighting, outlines, grade) writes numbers, not adjectives, to
references/reports/<topic>.md. - Sandboxes with one owner per file. Five copies of the project (
cam,world,mat,char,post), and each agent only edits its own files. - Merge with
bridge_merge.py, which backs up first, type-check withnpx tsc --noEmitand re-sync every copy. - Verify with a fresh agent that scores each area out of 10 from side-by-side sheets and returns a fix list with frame numbers.
The author shares the scores: from 5/3/4/5/4/7/4/6 in round one to 7 for day colour and characters after four rounds. It works, but it is expensive: several sub-agents in parallel for hours.
How to install it in Claude Code
The README gives three steps. Here is what they mean in practice.
1. Copy the skill
git clone https://github.com/mromidev/claude-animated-shorts ~/.claude/skills/cartoon-3d-shortOn Windows the folder is %USERPROFILE%\.claude\skills\cartoon-3d-short. If this is your first skill, our Claude Code skills guide explains how they load.
2. Set up a Remotion project
The repository does not include a Remotion project: there is no package.json, no src/index.ts, no Root.tsx and no public/ folder. You create it:
npx create-video@latest
npm install @remotion/three three @react-three/fiber @react-three/postprocessing postprocessingThen copy templates/bridge/ to src/videos/bridge/ and register the BridgeShort composition (1080×1920, 30 fps, BRIDGE_FRAMES frames) in Root.tsx, as in templates/sandbox_index_example.tsx. We checked: with Remotion 4.0.540, three 0.187, @react-three/fiber 9.8.2, @react-three/postprocessing 3.2.2 and React 19, the template passes tsc --noEmit with zero errors.
For the sound you need Python 3 with numpy, scipy and Pillow (used by the QA scripts), plus ffmpeg.
3. The Kenney models
world.ts loads 26 models from public/bridge/kenney/<name>.glb (tree_oak, lantern, stall-red, windmill, canoe…). They are not in the repository. If they are missing, the code skips them without breaking, but the town has no trees or stalls. Download the Kenney CC0 kits that contain those names and rename the files if needed.
4. Ask Claude
Use the cartoon-3d-short skill and make a short about [your true story].Claude starts with the topic and sourced facts, writes the script and waits for your approval before animating.
What the README doesn't tell you
It is the author's personal setup
SKILL.md contains rules that are the author's preferences, not part of the method: "English only", no captions, "Opus max verifies every check", paths like ~/bridge-short/ and a SendUserFile tool that does not exist in a standard Claude Code install. Edit that section before using it.
A new story means rewriting code
The template is not parametric. story.ts hard-codes the bridge in constants (TOTAL = 2025 frames, 74 soldiers, the exact snap time SNAP = 34.62), and build.ts and cast.ts describe that town and those characters. For another story, Claude has to rewrite a good share of the files. The skill gives it the rules and values, but the animation work is still there.
Windows paths and lots of disk
bridge-stills.mjs hard-codes the Chrome path (C:/Program Files/Google/Chrome/Application/chrome.exe) and uses gl: "angle". On macOS or Linux you need to change it. Also, every Remotion bundle copies public/ (about 1.3 GB in the author's project) into the temp folder and never deletes it: the author reports filling 60 GB of the system drive and later 110 GB on another drive. Set REMOTION_TMP to a big drive from day one.
Render times
According to the author's notes, a 2K render runs at about 4 frames per second, roughly 10 minutes for 67 s, and each half-scale still takes 3 to 8 s after a ~40 s bundle. You need a decent GPU: this is real WebGL rendering.
Remotion has its own license
The template is MIT, but Remotion is not entirely: it is free for individuals and small companies, and larger companies need a company license. Check the Remotion license before using it for client work.
Careful with the references/ folder: it is not MIT
The README says the code and docs are MIT and that the reference frames are included "for style study only". Those 38 frames and 1,200 thumbnails come from 20 shorts by another YouTube channel, unnamed, which the author studied to clone its style. This repository's MIT license cannot grant you rights to a third party's images, and the skill's own CONTEXT.md says that material is "private study only: never upload, publish or send any of it anywhere", even though it sits in a public repository.
In practice:
- Use the reports with numbers (
reports/*.md), which are the author's own text under MIT. - Do not redistribute
references/frames/orreferences/sheets/in your fork, and never put them in your videos. - Keep the rule the skill ships with: story, characters and voice are always your own. Copying another channel's shots or characters is the fastest way to a copyright claim.
If you care about the legal side of building with AI, we cover it in legal risks of building apps with AI.
What we tested and what we didn't
We installed the Remotion dependencies in a clean project, copied the template and checked that it type-checks with no errors on the versions listed above. We read all of the render, sound and QA code. We did not render the short: our test environment does not allow running the repository's code, so render times and quality scores are the author's figures, not our measurements.
FAQ
Does Claude Animated Shorts use AI to generate the video?
No. Claude writes and tunes the code; three.js draws the video frame by frame inside Remotion. There is no Sora, Veo or any video generator, and the sound is synthesized with numpy.
Do I need to know how to code?
For the first short, quite a bit. You need to set up the Remotion project, place the Kenney models, record or generate the voice with word timings and review what Claude changes in story.ts. The skill cuts the work down; it doesn't remove it.
Can I make shorts in other languages?
Yes, but edit SKILL.md: the "English only" rule and the 3.7 words per second pace are tuned for English narration.
What are the alternatives?
If you'd rather lay out video with HTML and CSS instead of 3D, see HyperFrames. If you need to edit recorded footage with an agent's help, Concat ships an MCP server.
Conclusion
Claude Animated Shorts is not a "make me a viral short" button. It is a real case documented in detail: how to turn a visual style into numbers, how to split work across agents without collisions and how to build an ink, blur and grade chain in three.js that holds up at 2K. If you work with Remotion or three.js, ink.ts, lensblur.ts and short_qa.py are worth reading even if you never make a cartoon short.
Next step: clone the repository into your skills folder, edit the personal rules in SKILL.md and ask Claude for a short about a true story you know well.
// source code
Help us grow
codigoagente is free, with no paywalls. If this article helped you, any of these keeps the blog going.
- Share it with someone who'll find it usefulWhatsAppLinkedInXFacebook
- Meet our sponsorSafe Build Labs
More on AI agents

guide · The complete ECC guide for Claude Code · #8
- Security and code review
- Claude Code

guide · The complete ECC guide for Claude Code · #7
- Claude Code
- Skills for your agents

guide · The complete ECC guide for Claude Code · #6
- Claude Code
- Skills for your agents