ghibli-threejs

ghibli-threejs is a set of 31 open-source agent skills that teach AI coding agents
(Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode) to build a
hand-painted, Ghibli-inspired 3D world in three.js and WebGL: realistic water shaders,
anime toon shading, painterly skies, day–night and weather, koi and butterflies, camera
tours, a glass HUD, first-person walking, open-world streaming and a headless Blender →
GLB pipeline. Each skill is a SKILL.md that keeps the numbers that worked and the
pitfalls that cost an iteration in a real ~8,000-line scene. MIT licensed.
🌿 A note from the author
While building my Ghibli river 3D project, I spent days iterating on it, one improvement
after another. The skills below are what I extracted from that work.
If you like the visuals, effects and interactive features of
riverbook.tanhoochuan.my, grab this repo and try them
yourself.
Showcase
Clips from the scene these skills came from. Click a preview to open the 720p video.

The whole river in one minute: guided tour, open-world streaming, waterfall, rain, night (silent, 57 s)
| |
|---|
 Boat on the river: water, buoyancy, wake |  Day into night: day cycle, night mode |
 Below the surface: underwater effect, koi |  Lanterns at night: lanterns, fireflies, moonlit water |
 The self-writing book: object interaction |  Laputa on foot: floating island, first-person walk |
 The glass HUD: dreamy glass HUD, night-aware dock, whispers |  Butterflies over the meadow: GPU butterflies, wildflowers |
Agent skills for building a hand-painted, Ghibli-style 3D world in three.js / WebGL:
realistic river water, toon-shaded foliage, painterly skies, a moonlit night, weather,
swimming creatures, cinematic interaction, guided camera tours, and the headless-Blender →
GLB asset pipeline behind them.
Every skill was mined from one real project, a ~8,000-line single-file three.js scene
(r186, WebGLRenderer + EffectComposer) built iteratively with Claude Code. Each one keeps
the numbers that worked and the pitfalls that each cost a full iteration, so you
don't have to rediscover them.
The skills follow the Agent Skills format
(skills/<name>/SKILL.md + optional references/ code excerpts). Claude Code, Codex,
Cursor, GitHub Copilot, Gemini CLI, OpenCode, and other agents that support this format
can use them. Each agent discovers skills from its own install directories; the
skills/ directory in this repo is the source to install from.
Install
Run install commands from the project where you want to use the skills, unless you
choose a global install. You only need the skills relevant to your scene.
Choose skills and agents with npx (optional)
If you have Node.js, the skills CLI can find
this repo's skills and install them for the agents you select:
npx skills add nicksonthc/ghibli-threejs --list # preview available skills
npx skills add nicksonthc/ghibli-threejs # choose skills and agents interactively
Add -g to the second command to install for your user across projects. npx is a
convenience, not a requirement; the manual options below work without Node.js.
Claude Code plugin (all skills)
Inside Claude Code, run:
/plugin marketplace add nicksonthc/ghibli-threejs
/plugin install ghibli-threejs@ghibli-threejs
These /plugin commands are specific to Claude Code. The other agents use the
Agent Skills folders below.
Copy skills manually