/varg:code-3d-explainerfrom varg
Creates 3D explainer videos of un-filmable subjects (cells, atoms, proteins, engines) entirely in code using three.js procedural geometry, with fact-checked scripts, camera tours, scale bars, and deterministic 1080p rendering.
Ships in varg. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
A film of the invisible, made entirely in code: a cell built one organelle at a time, a zoom from a fingertip to electron clouds, a reactor you take apart. Nothing is filmed or generated, so every frame is exact, re-renderable and free. And because it looks authoritative, a wrong claim spreads further than it would in a sketch. This skill makes the facts the first step and the last check.
The format went viral with Claude Fable 5.2 (2026-11-09). Science explainers built from code were the #2 use case on launch day (1.37M views, 5.8k bookmarks across 12 posts):
| Post | What | Lesson |
|---|---|---|
| @claudeai, by @kevin_t_ngo (448k views, 2.7k bookmarks) | "A 3D model of a cell, built entirely from code one organelle at a time" | the build-up is the explanation: one part per beat |
| @anxuanng (586k views) | a 3D film zooming into atoms: "why your fingers never really touch" | the replies took apart the physics: it is electrostatic repulsion and Pauli exclusion, not Zeno's paradox. Beautiful frames, wrong mechanism. Hence the fact sheet and the critic |
| @konstantinsaifo | "explain how a nuclear reactor works by building one you can take apart in three.js" | exploded views: parts slide out on their beats |
| @cube_224 | a ~3 min film on Rubik's cubes and maths, "understandable by middle-schoolers, avoiding the usual clichés" | compute every number; ban the clichés in the brief |
The example here is our own build (not a copy): examples/animal-cell/, 21 s at 1080p, 9 parts, ending on
a labelled cutaway: the full film
(1920×1080, 17.7 MB). Your own renders go to renders/master.mp4.
cp -r <skill>/examples/animal-cell my-film && cp -r <skill>/scripts my-film/scripts && cd my-film
bun scripts/capture.ts . --stills 2.6,8.4,20.5 # look at qa/stills/*.png first
bun scripts/capture.ts . --out renders/master.mp4 --labels qa/labels.json
bun scripts/check_labels.ts qa/labels.json # overlap, safe area, phone size, reading time
bun scripts/check_facts.ts factsheet.md qa/labels.json # every word on screen is in the sheet
bun scripts/sheet.ts renders/master.mp4 qa/sheet.png --n 24 --cols 6 --tile 400
bun scripts/sheet.ts renders/master.mp4 qa/phone.png --phone # 390 px tiles = a phone feed
Open index.html?dev=1 through any static server for a scrubber (space plays, arrows step frames).
Then replace factsheet.md, story.json and cell.js with your subject; lib/ is the engine.
references/fact-sheet.md, worked example examples/animal-cell/factsheet.md).
Every string the film will show, word for word, with a source that actually says it; the real size of
every part next to the model size; every simplification on purpose (counts, enlargements, invented
colours, empty space, missing parts); the claims you deliberately do not make. If the film explains
why something happens, the mechanism is its own sourced row.references/critic-prompt.md. It must not be the agent that wrote the sheet. Apply every FIX, paste
the verdict into the sheet's "Critic log", set Status: **approved for build**. On the cell it found
a dozen real problems (see below).story.json: one entrance window per part (timing), one label per part (labels:
anchor, side, in/out, name, fact, factId), titles and end card (texts), the scale bar and where it
must hide, the camera keys. ~2.2 s per part is the floor (reading time, below).references/build-and-camera.md): procedural
geometry in real units, real data where it exists (PDB coordinates for molecules, published dimensions
for machines), no downloaded models. Each part enters on its own beat: grow, slide in, draw on, sweep
in with a glowing front. Heroes (what the camera visits) are hand-placed; everything else is scattered
by a seeded sampler that keeps clear of the heroes and of the camera path.references/narration.md): script only from sheet rows, estimate_cost then
varg generate_speech (ElevenLabs), word timestamps drive label in-times; capture.ts --audio.references/render.md): render(t) is a pure function of
t; capture.ts screenshots the page (labels are HTML) frame by frame in parallel tabs and pipes them into
ffmpeg. The same index.html renders through HyperFrames (bunx [email protected] render). Prove it:
capture.ts --check 10.references/labels.md):
check_labels.ts: no overlapping text, 64 px side margins, names ≥ 46 px (9 px on a phone), every
label readable for 0.3 s + words / 4.5 s;check_facts.ts: on-screen text equals the sheet, every claim sourced, critic verdict PASS;qa/sheet.png and qa/phone.png yourself with the Read tool;bash scripts/cut_preview.sh renders/master.mp4 <start> <dur> preview.mp4 (1280×720,
6–10 s, 0.4–2 MB; raise CRF if the grain makes it big).Accuracy
Labels and timing
Look
#ff5315, teal), colour by system, soft depth from DOF + bokeh specks +
fog-dark background, grain. Bloom threshold ≥ 0.7: bright cream parts and sharp speculars became
glowing balls and light bulbs.LatheGeometry profile drawn top to
bottom). The Golgi was a flat teal leaf until the profile was reversed; then it became the best shot.clipIntersection), rebuild the cut faces as
geometry with a bilayer line at the edge, keep small parts whole, turn the wedge ~28° off the camera.Rendering
scripts/vendor_three.sh (load 0.5 s vs 2–13 s).data-no-timeline on a three-only root (or each render waits 45 s for a GSAP
timeline) and local @font-face files.examples/animal-cell/: membrane → nucleus with pores → x-ray to the nucleolus → rough ER growing from
the nuclear envelope (with ribosomes on it and on the outer nuclear membrane) → Golgi stack and vesicles →
mitochondria with cristae → a polysome (ribosomes on one mRNA) → lysosomes with enzyme granules →
microtubules from the centrosome → a 100° wedge cut, labelled. 21 s, 630 frames, 1 unit = 1 µm, a 20 µm
cell. All on-screen text from factsheet.md (25 rows, 7 simplifications). Critic pass 1 on the sheet:
PASS WITH FIXES, all applied. Critic pass 2 on the frames: FIX FIRST, 9 findings, 7 fixed and 2 listed as
limits. QA on the final render: check_labels all pass, check_facts 36 texts all sourced,
--check 10 byte-identical.
| file | what |
|---|---|
index.html | page + HyperFrames root, import map (three r185), fonts, label CSS |
story.json | palette, look, timing, labels, texts, scale bar, camera keys |
cell.js | the subject: geometry, placement, anchors, update(t) |
lib/explainer.js | engine: renderer + post, PCHIP camera keys, labels and columns, scale bar, window.__film, hf-seek, dev scrubber |
lib/materials.js | shell, solid, glow, bokeh shaders with clipping and focus dimming |
factsheet.md | the approved sheet with the critic log |
fonts/ | Inter and JetBrains Mono (OFL) |
qa/ | written by the QA commands: labels.json, sheet.png, phone.png (not kept in the repo) |
| script | does |
|---|---|
scripts/capture.ts | render MP4 / stills / label boxes / determinism check / --eval from any page that publishes window.__film; system Chrome over DevTools, no npm |
scripts/check_labels.ts | overlap, safe area, anchor covered, phone size, reading time on the real render |
scripts/check_facts.ts | on-screen text vs the fact sheet, sources, critic verdict, approval |
scripts/sheet.ts | contact sheets from a video or a stills folder, --phone 390 px tiles, --at times |
scripts/cut_preview.sh | the 1280×720 catalog preview with duration and size checks |
scripts/vendor_three.sh | copy three.js into the project and point the import map at it |
| file | read it for |
|---|---|
references/fact-sheet.md | the template, source rules, real-data sources (PDB, PubChem, NASA, NIST) |
references/critic-prompt.md | the critic prompts (sheet, then frames) and the Zeno lesson |
references/labels.md | label anatomy and sizes, placement, reading time, the scale bar, the checker |
references/build-and-camera.md | part recipes, placement, the look, the cutaway, camera keys and pacing |
references/render.md | determinism contract, capture.ts, HyperFrames, measured speeds, troubleshooting |
references/narration.md | optional voiceover on varg and syncing labels to words |
references/subjects.md | atoms, viruses, proteins, DNA, reactors, engines, black holes, maths: parts, data, traps |
threejs-animatic (three.js previz and the seek-safe rendering it shares), hyperframes and
hyperframes-animation (HTML → video, the three.js adapter), manim-skill (2D maths), motion-formats
(short 2D formats), video-script (writing the script), video-sound (sound and music), varg-ai
(voiceover and any generated media).
README.md (opens in a new tab)examples/animal-cell/cell.js (opens in a new tab)examples/animal-cell/factsheet.md (opens in a new tab)examples/animal-cell/fonts/OFL-Inter.txt (opens in a new tab)examples/animal-cell/fonts/OFL-JetBrainsMono.txt (opens in a new tab)examples/animal-cell/fonts/inter-var.woff2 (opens in a new tab)examples/animal-cell/fonts/jetbrains-mono-var.woff2 (opens in a new tab)examples/animal-cell/index.html (opens in a new tab)examples/animal-cell/lib/explainer.js (opens in a new tab)examples/animal-cell/lib/materials.js (opens in a new tab)examples/animal-cell/story.json (opens in a new tab)references/build-and-camera.md (opens in a new tab)references/critic-prompt.md (opens in a new tab)references/fact-sheet.md (opens in a new tab)references/labels.md (opens in a new tab)references/narration.md (opens in a new tab)references/render.md (opens in a new tab)references/subjects.md (opens in a new tab)scripts/capture.ts (opens in a new tab)scripts/check_facts.ts (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: skills.73: Invalid string: must start with "./", skills.74: Invalid string: must start with "./", skills.75: Invalid string: must start with "./", skills.76: Invalid string: must start with "./", skills.77: Invalid string: must start with "./"
.claude-plugin/plugin.json: skills.73: Invalid string: must start with "./", skills.74: Invalid string: must start with "./", skills.75: Invalid string: must start with "./", skills.76: Invalid string: must start with "./", skills.77: Invalid string: must start with "./"
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
83 skills in this plugin
/ad-creative-testingTurn one winning ad into a creative testing plan for TikTok and Meta. Decodes why an ad won (hook, argument, buyer, format), plans concepts that Meta's Andromeda and TikTok treat as genuinely different (buyer × angle × format × first frame, not caption swaps), sets how many creatives to launch, the budget per test and when to judge, writes file and ad names that make results readable, reads hook rate, hold rate, CTR and CPA to find which part failed, and says when to kill, iterate or scale. Use when someone asks how many ads to test, how to make ad variants, why their variants all perform the same, whether an ad is fatigued, when to kill an ad, or how to scale a winner. NOT for producing the videos (use ecommerce-video-ads, ecommerce-video-edit or product-video-hooks) or for media-buying account setup./ai-ad-compliance-checkTurns an AI video ad into a compliance report for TikTok Shop, TikTok ads, Meta, YouTube, the FTC, New York's synthetic-performer law and the EU AI Act before it runs: varg video_analyze pulls every shot, spoken and on-screen claim and person, each claim is matched to the seller's evidence, the visuals are checked against TikTok Shop's AI product rules (no fake effects, before/after, changed quantity or size), people and voices against the FTC fake-testimonial rule, and the result is a pass / fix / block list with the rule, source and date, a rewrite for each fix, and the AI labels to set on each platform. Use when someone asks "is this ad allowed", "will TikTok Shop reject this", "check my AI ad for compliance", "do I need an AI label", "can an AI avatar say it used the product", or before publishing AI product ads, UGC or testimonials. Not legal advice, and not for writing the ad (use ecommerce-video-ads or tiktok-shop-video).Other plugins' skills for the same job