karpathy-3d-story
Skill by sorrycc
Builds a multi-chapter animated 3D story from source material as one self-contained scene.html file using three.js. Suited to people who want an animated diorama or retelling of a book, legend or myth, with optional ElevenLabs narration.
Install karpathy-3d-story
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sorrycc/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/karpathy-3d-story ~/.claude/skills/karpathy-3d-storyRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sorrycc/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/skills/karpathy-3d-story ~/.gemini/antigravity-cli/skills/karpathy-3d-storyAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Karpathy 3D Story is an agent skill that builds a multi-chapter animated 3D story from source material. The output is one self-contained scene.html file that uses three.js and procedural geometry, and it opens without a build step. Each frame is a pure function of story time, using a seeded random generator, so two screenshots can be compared reliably.
The skill works in phases: scoping the beats, scaffolding a story folder, building a shared toolkit, writing chapters one at a time, and running a mandatory screenshot audit loop of at least three rounds. Audio is optional and can cover narration, ambience and sound effects through ElevenLabs. It is aimed at people who want an animated retelling of a book, legend or myth, and it includes a bundled reference implementation to learn from.
Written from the project's SKILL.md and checked against it.
What it can do
- Scene buildProduces a self-contained scene.html from parts concatenated by build.sh.
- Shared toolkitProvides a seeded RNG, renderer, sky shader, actor rig, FX library and director.
- Chapter authoringAdds one chapter file per chapter, registered with registerChapter(n, {...}).
- Screenshot audit loopShoots every camera keyframe with shot.sh and records defects in audit_log.md.
- Optional audioGenerates narration, ambience and sound effects with ElevenLabs, skippable with --no-audio.
- Narration timing checkMeasures each audio clip against its beat window with ffprobe before building.
What you need
- ElevenLabs account for narration, ambience and sound effects (not needed with --no-audio)
- Headless Chrome for screenshots
- ffprobe for measuring audio clip length
- Python for gen_audio.py and split_narration.py
- Bash for build.sh and shot.sh
Try asking
- Make a 5-chapter 3D story of the Odyssey with --no-audio.
- Add chapter 3 to my journey-to-the-west story and audit it.
- Build an animated 3D diorama of a myth from these beats.
Good to know
- The author cannot hear audio, so audio checks are timing-based only.
- Library voices are refused on a free ElevenLabs plan (402), while premade voices work.
- Default runtime is about 3.5 minutes across 5 chapters of about 44 seconds each.
- The audit loop must run at least three rounds before shipping.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/karpathy-3d-story/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to karpathy-3d-story
All alternatives →Keeps customer-facing CopilotKit Intelligence docs on one approved name per concept. Useful for writers, editors and reviewers of docs, nav labels, signup labels and image alt text in showcase/shell-docs.
Gets, makes and treats media for HyperFrames videos. It sources music, sound effects, images, voiceover, avatars and transcripts with HeyGen or free local tools, and applies colour grades and looks to footage.
Searches the user's uploaded photo library and connected device galleries to find, date, and describe photos. Built for personal photo requests and for cases where a photo could ground or personalize an answer.
Converts text, markdown, or another skill's summary into a listenable MP3 using local CPU-only neural text-to-speech. It rewrites the prose for listening first. Aimed at people who want audio briefings.
Generate Image creates new images and edits existing ones using OpenRouter models such as FLUX.2 Pro and Gemini 3 Pro. It is aimed at photos, illustrations, concept art and other visuals that are not technical diagrams.
Gives an AI assistant the HyperFrames CLI for building, checking, previewing and rendering video projects. It suits people who make videos from HTML compositions and want the assistant to run the full workflow.
Compare with intelligence-vocabulary, media-use or media_library
karpathy-3d-story: common questions
Does the story need ElevenLabs to work?
No. Audio is optional, and the --no-audio flag builds a silent story. The skill asks whether to use audio during scoping.
Can I open the finished story without a build step?
Yes. The source says scene.html is the deliverable, opens with no build step, and works from file://.
Which narration voices work on a free ElevenLabs plan?
According to the source, premade voices work on the free plan and speak every language the multilingual model supports. Library voices are refused with a 402 error.
How do I install karpathy-3d-story?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is karpathy-3d-story free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is karpathy-3d-story safe to use?
It scores 61 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to karpathy-3d-story?
Similar skills: intelligence-vocabulary, media-use, media_library, speak-summary.
