ai newsFr., 4. Dez.
EilmeldungAlibaba Releases Qwen4-35B-A3B: Open-Weight MoE Model With 1M Context

maker-bench: Gratis Claude-Code-Skill erzeugt 3D-Erklärvideos in Code

Ein kostenloser Skill für Claude Code erstellt 3D-Erklärvideos ohne manuelle Animation. In three.js entsteht eine weich beleuchtete Workbench mit Requisiten auf einer Schneidematte, leuchtenden Signalringen und einzeln eingeblendeten Worten.

dev.toDonnerstag 23:30 · 03.12.DE10 Min. Lesezeit
Bild: dev.to

Posted on Dec 3 • Originally published at haiderfarooq.dev

Nobody animated this video. I sent Claude a reference reel and asked for the style as a free skill. It built a soft-lit 3D workbench in three.js: props on a green cutting mat, glowing signal rings, light bouncing between glass towers, one spoken word on screen at a time. Here is how it works and what it still can't do.

Nobody animated the video below. There is no 3D artist behind it, no downloaded 3D models and no video AI. Claude wrote every shot as three.js code: the phone on the cutting mat, the satellites, the glowing rings, the light bouncing between glass towers, the one word on screen at a time. The whole thing exports in about 2 minutes on my laptop and costs nothing. The skill that made it is called maker-bench, and this post is about how it works and where it still falls short.

Watch the video on haiderfarooq.dev. 18 shots from 13 spoken lines. The voice is Kokoro, free and local. Every frame is three.js code rendered in headless Chromium. The vertical cut is on YouTube as a Short.

The same day I published cel-story, a skill that makes 3D cartoon stories. maker-bench runs on the same engine, but it does a different job. cel-story tells a story with characters. maker-bench explains how something works, with small props on a workbench and light you can see. Before these came paper-reel for cut-paper reels and khan-explainer for blackboard lessons.

I sent Claude a reference reel in this style and asked for it as a free skill I could run on my own machine. Claude studied the frames and wrote the look down as code, on top of the cel-story engine from earlier the same day. That is why it took hours, not days. Here is roughly what the look came to:

It does not copy anyone's channel. A cutting mat, soft light and glow are generic, and the skill file tells Claude not to copy a channel's characters, logos, fonts or music. The only bundled font is Montserrat, under the SIL Open Font License.

All 18 shots of the wide cut, the way the skill's still command renders them: the middle frame of each shot with its time and name. The skill tells Claude to look at a sheet like this before it exports anything.

The script is 13 lines. Each line gets a shot, and a line can be cut again on a word: split('four', 'fourth', 1, 'four2') starts a new shot the moment the narrator says "fourth". Five splits like that turned 13 lines into 18 shots.

A shot is a function. The skill file says every shot needs a set, a subject, something that glows on cue, a camera that keeps moving and a label when a number or a name is spoken. This is the shot under open sky, near the end:

// V(tall, wide) picks a value per format, so one shot fits both 9:16 and 16:9 scenes. sky = ( S ) => { // "Under open sky, phones are typically accurate to within 4.9 meters." S. look ( 'bench', { shadowSize: 4, fog: [ 14, 40 ] } ); S. mat ( { ruler: { along: 'x', at: - 2.75, from: - 4, to: 4 } } ); const you = S. mannequin ( { at: [ 0, 0, 0 ], face: 15 } ); you. act ( 'look', { up: true } ). act ( 'idle', { }, 'typically' ); S. blob ( [ 0, 0, 0 ], 0.9, 0.7, { opacity: 0.3 } ); S. dome ( { at: [ 0, 0, 0 ], radius: 0.3, radiusTo: 1.6, t0: 0.1, t1: 'accurate', opacity: 0.08, rim: 0.6 } ); S. rings ( { at: [ 0, 0, 0 ], maxR: 1.6, period: 1.4, count: 3, width: 0.06, start: 'within' } ); S. callout ( '4.9 m', { at: '4.9', dot: '#8fd0ff' } ); S. cam. move ( { from: { pos: V ( [ 2.0, 0.8, 3.4 ], [ 2.4, 0.9, 3.6 ] ), look: [ 0, 1.1, 0 ], fov: V ( 50, 40 ) }, to: { pos: V ( [ 1.6, 3.4, 3.4 ], [ 1.9, 3.2, 3.8 ] ), look: [ 0, 0.4, 0 ], fov: V ( 50, 40 ) } } ); }; Enter fullscreen mode Exit fullscreen mode A white mannequin stands on the mat and looks up at the sky. A glass bubble grows around it until the word "accurate", rings spread out on "within", and "4.9 m" pops up on the word "4.9". The camera rises the whole time.

Claude writes 18 of these because the rules fit in its head.

Same idea as cel-story. Kokoro, a small open voice model, reads each line to a WAV file on your machine. Then whisper.cpp listens to the result and writes down when every word starts and ends, one line at a time. The captions, the callouts, the rings and the light rays all hang off those times. Nobody types a timestamp.

Numbers get the same trick as before. The script keeps digits for the captions and a spelled-out version for the voice: the caption says "20,200 km up" and Kokoro says "twenty thousand two hundred kilometers up". On this video whisper.cpp heard 159 of 161 words. The skill tells Claude to read that line and reword anything the voice mangled.

Most of the hard parts were already solved. The renderer, the voice tools and the word timing come from cel-story and paper-reel. So do two of cel-story's fixes, which are now rules in this skill file, next to two new ones for this look:

The skill's check step catches what the rules miss. check renders frames twice, each time in a fresh page, and compares them. It also flags any caption, callout or tag that falls outside the safe zone of a Short, and any two that overlap.

There is no API key anywhere in this and nothing to pay. There is also no video model. Every frame is a 3D scene built from code and drawn by your own graphics card. A frame depends only on its time in the video, with seeded randomness and no clock, so it comes out the same every time you render it.

One piece renders as a 1080x1920 Short or a 1920x1080 video. The GPS piece uses a one-line helper, V(tall, wide), to pick a camera position or a lens per format, and every one of its 18 shots uses it. The tall frame usually wants a wider lens or a camera further back. In the shot with three satellites, the outer two also sit a little closer together in the tall cut.

The same video in 9:16, from the same script and the same story file.

The demo asks how your phone knows where you are. GPS satellites circle the Earth twice a day, about 20,200 km up. Each one carries atomic clocks and keeps broadcasting its time and position. The GPS chip in your phone only listens. The signals travel at the speed of light, and the time each one takes gives the distance to that satellite. One distance puts you somewhere on a giant bubble, three narrow it down to one point, and a fourth satellite corrects the phone's cheap clock. Under open sky, phones are typically accurate to within 4.9 meters. In a city, signals bounce off buildings and travel farther, so a satellite seems farther away than it is. That is why your blue dot jumps around between tall buildings.

The skill file asks Claude to check every claim against two reliable sources and keep the list at the top of the story file. This one used GPS.gov, NIST, the FAA, ESA, NOAA and NASA, plus university and industry notes on reflected signals.

git clone https://github.com/haiderfarooq3/maker-bench ~/.claude/skills/maker-bench cd ~/.claude/skills/maker-bench && npm install && npx playwright install chromium pip install kokoro-onnx soundfile node ~/.claude/skills/maker-bench/bin/maker-bench.mjs doctor Enter fullscreen mode Exit fullscreen mode You also need ffmpeg, whisper.cpp with its base English model, and the two Kokoro model files. The README has the links. doctor checks every piece, prints the fix for anything missing, and tells you whether WebGL is running on your GPU or in software. Then ask Claude Code for a video: "make a maker-bench short about how Bluetooth pairing works".

It writes and checks the script, makes the voice, writes the shots, looks at the stills, runs the check and exports. Claude can't hear the mix, so the skill tells it to say so and ask you to listen once.

I asked for two new styles that day. This is one. The other is pixel-spec, a pixel-retro style on the same engine. Both were quick because the slow part was already built. Once an engine renders the same frame every time and times every word, a new look is mostly a set, some props and a few rules. The recipe has not changed since the first skill: a reference, measuring instead of guessing, the look written as code, and every fix written down where the model will read it next time.

If you want to see the other formats I make this way, the content catalogue has one finished example of each, and this video is in it now. If you want a pipeline like this built for your product, start at the contact page. The vertical cut is on YouTube as a Short. And if you just want the skill, it is on GitHub, MIT licensed. Go explain something.

Yes. three.js builds the scenes, headless Chromium renders them, Kokoro speaks the script, whisper.cpp times the words and ffmpeg encodes the video. All of it is open source and runs on your own computer. There are no API keys, no accounts and no usage limits. Even the music is generated by code at render time.

About 50 ms a frame on a Windows laptop with Intel Iris Xe graphics, with the glow and 4x anti-aliasing on. The 55-second demo in this post is 1,650 frames and exports in about 2 minutes per format. The check step takes about 90 seconds. Making the voice and timing the words is a separate step you only run when the script changes.

It is tested on Windows 11, where Chromium renders on the GPU through Direct3D. On macOS, Chromium uses Metal, but headless WebGL may fall back to software rendering, which gives the right frames much more slowly. Run the doctor command and it tells you which one you got.

Same engine, different job. cel-story tells stories with toon-shaded characters, ink outlines and big captions. maker-bench explains how something works: soft-lit props on a cutting mat, glowing rings and rays, a faceless mannequin and one small word on screen at a time. The voice, the word timing, the renderer and the checks are shared.

Yes. The skill is one markdown file plus a small Node command-line tool. Any coding agent that can read a markdown file and run a shell command can follow it. Claude Code picks it up automatically from ~/.claude/skills; for other agents, point them at SKILL.md.

No. It is an independent MIT-licensed project. Claude is a trademark of Anthropic. maker-bench uses three.js, Playwright, Kokoro, whisper.cpp and ffmpeg, all open source, and bundles the Montserrat font under the SIL Open Font License. The credits are in NOTICE.md.

Originally published at haiderfarooq.dev.

Originaltitel: maker-bench: A Free Claude Code Skill That Makes 3D Explainer Videos in CodeQuelle: dev.to (dev.to). Original öffnen