Three.js Skills: current three.js r186 knowledge for Claude Code
CloudAI-X/threejs-skills
Thirteen reference guides that teach your AI assistant today's three.js, the library behind 3D graphics on web pages. Your assistant writes scenes, models, lights, effects and React scenes with the names of the current release. Each guide also lists old code that models still write, with the fix.
Pack description by its author: “Thirteen reference guides that teach your AI assistant today's three.js, the library behind 3D graphics on web pages. Your assistant writes scenes, models, lights, effects and React scenes with the names of the current release. Each guide also lists old code that models still write, with the fix.”
Video, images and mediaKnowledge and rules for your assistant
1. Changes your files
Skills that write or edit files: threejs-fundamentals, threejs-geometry, threejs-materials, threejs-lighting, threejs-textures, threejs-animation, threejs-loaders, threejs-shaders.
github.com/CloudAI-X/threejs-skills/blob/0e18186/2. Runs code on your machine
Install: Thirteen markdown files. No hooks, no scripts, no plugin manifest. threejs-asset-pipeline at work: Tells your assistant to run gltf-transform and gltfjsx through npx (downloaded from npm), which write compressed model files and, with gltfjsx, Model.jsx in your project.
github.com/CloudAI-X/threejs-skills/blob/0e18186/3. Sends data
github.com/CloudAI-X/threejs-skills/blob/0e18186/Checked against the pack's files at commit 0e18186, on Nov 5, 2026. Tap a verdict to see its source.How we checkedReport an error
Good for you if
- You ask Claude Code to build 3D scenes, product viewers or visual effects for a website
- Your assistant's three.js code fails because it uses names from older releases
- You load 3D models (glTF files) and want them smaller and quicker to load
- You build 3D inside a React app with React Three Fiber
Probably not for you if
- Your project stays on an older three.js release: every example follows r186
- You don't make 3D graphics for the web
What you'll notice
- Current names in the code: Timer instead of Clock, HDRLoader instead of RGBELoader
- A full working example for each topic, plus a version for the newer WebGPU renderer
- For heavy models: the commands that shrink them and the matching loading code
- Fixes that explain themselves: old code, then current code, then the reason
What you need
- Claude Code
- Free, MIT license
- One command with the skills tool, or copy 13 folders into your skills folder
- The model-shrinking guide has your assistant run gltf-transform and gltfjsx through npx, so Node.js must be on your computer for that part
Words on this page
- Skill
- A set of written instructions your AI assistant follows. Installing one is like giving it a playbook.
| Repository | CloudAI-X/threejs-skills · website |
|---|---|
| GitHub stars | 4,337 |
| Skills | 13 |
| Category | Video, images and media |
| License | MIT |
| Last updated | Oct 19, 2026 · card checked Nov 5, 2026 at commit 0e18186 |
| Install counts | CloudAI-X/threejs-skills on skills.sh, Vercel's skills directory, which shows installs and security audits per skill |
CloudAI-X/threejs-skills popularity over time
What Three.js Skills does
- Pins the assistant to one release: three.js r186, React Three Fiber 9.8 with drei 10.7, gltf-transform 4.5
- Every guide has the same parts: a complete runnable Quick Start, the topic with working examples, a WebGPU and TSL section, Common Mistakes and See Also
- Common Mistakes lines replace outdated code with the r186 version and say why (for example Clock becomes Timer, requestAnimationFrame becomes renderer.setAnimationLoop)
- Covers the whole path of a web 3D project: scene setup, shapes, materials, lights, textures, animation, loading files, shaders, screen effects, input, speed, React and shrinking models
- Teaches the newer WebGPU renderer with TSL next to the classic WebGL renderer, including where custom GLSL shaders stop working
From the pack's SKILL.md files, summarised by AgentGid.
The 2 skills, explained
threejs-performance
Finds why a scene is slow by measuring first, then cuts the cost
You give
- A scene that is slow, stutters or runs out of memory
You get
- Frame numbers read from renderer.info: draw calls, triangles, geometries, textures, shader programs
- Fixes for draw calls, memory, fill rate, per-frame work and shader compile stalls
threejs-asset-pipeline
Shrinks 3D model files before you ship them, then sets up the matching loading code
You give
- A glTF or GLB model file
- What matters more: download size, or memory on the graphics card
You get
- An inspect report before and after: where the bytes are
- A compressed copy of the model (model.opt.glb in its examples)
- The loader code that the compressed file needs
- With gltfjsx: a React component file for the model
See it in action
The skill defines what its answer looks like. Its own example:
const clock = new THREE.Clock() → const timer = new THREE.Timer(); timer.connect(document); Clock is deprecated in r183 and warns on construction; call timer.update() once per frame before timer.getDelta() or timer.getElapsed().
When to reach for it
| You want | Use |
|---|---|
| Create a 3D scene | threejs-fundamentals |
| Add lights and shadows | threejs-lighting |
| Load a glTF model | threejs-loaders |
| Write a custom shader or screen effect | threejs-shaders and threejs-postprocessing |
| Make a slow scene faster | threejs-performance |
| Build the scene with React | threejs-react-three-fiber |
| Shrink a glTF before shipping it | threejs-asset-pipeline |
Skills in CloudAI-X/threejs-skills
| Skill | In plain words | Changes files? | What it does (author) |
|---|---|---|---|
| threejs-animation | Plays and blends animations from model files, moves bones and face shapes | Yes | Keyframe, skeletal and morph-target animation, procedural motion and clip blending, on WebGL or with WebGPU and TSL. Use when animating objects, playing glTF animations, posing bones, driving morph targets, or mixing and crossfading clips.npx skills add CloudAI-X/threejs-skills --skill threejs-animation |
| threejs-asset-pipeline | Shrinks 3D model files before you ship them, then sets up the matching loading code | Yes | Shrinking glTF assets for three.js with gltf-transform: inspect, validate and optimize commands, Draco, meshopt and quantization, KTX2, WebP and AVIF textures, the loader setup each output needs, and gltfjsx for React. Use when compressing, optimizing or validating 3D models before loading them.npx skills add CloudAI-X/threejs-skills --skill threejs-asset-pipeline |
| threejs-fundamentals | Sets up a 3D scene: camera, renderer, the animation loop, resizing and cleanup | Yes | Three.js scene setup: scenes and fog, cameras, the renderer and tone mapping, the animation loop, object hierarchies, transforms, core math and cleanup, on WebGL or with WebGPU and TSL. Use when creating a scene from scratch, configuring a camera or renderer, handling resize, or arranging objects.npx skills add CloudAI-X/threejs-skills --skill threejs-fundamentals |
| threejs-geometry | Builds shapes, 3D text, point clouds, lines and many copies of one object | Yes | Creating and shaping three.js geometry: built-in shapes, 3D text, vertex buffers and attributes, merging, instancing, batching, point clouds and lines, on WebGL or with WebGPU and TSL. Use when building 3D shapes or text, custom vertex data, custom meshes, instanced meshes, or point clouds.npx skills add CloudAI-X/threejs-skills --skill threejs-geometry |
| threejs-interaction | Lets people click, drag, select and orbit around objects with mouse, touch or keys | Yes | Picking with raycasting, camera controls, transform gizmos, drag, hover and box selection for three.js, identical under WebGL and WebGPU. Use when handling mouse, touch or keyboard input, detecting clicks on 3D objects, adding camera controls, or making scene objects interactive.npx skills add CloudAI-X/threejs-skills --skill threejs-interaction |
| threejs-lighting | Adds lights and shadows, and lights a scene from an HDR photo of a real place | Yes | Light types and physical units, shadow maps, HDR environment lighting, light probes, and lighting performance, on WebGL or with WebGPU and TSL. Use when adding or tuning lights, fixing shadow acne, setting up image-based lighting, or dimming an environment map.npx skills add CloudAI-X/threejs-skills --skill threejs-lighting |
| threejs-loaders | Loads 3D models, images and HDR environments, shows progress and frees memory | Yes | Loading three.js assets: glTF with Draco, meshopt and KTX2 compression, other model formats, textures, HDR and EXR environments, progress, caching, cloning and disposal. Use when loading 3D models, textures or environment maps, or managing loading progress, on WebGL or with WebGPU and TSL.npx skills add CloudAI-X/threejs-skills --skill threejs-loaders |
| threejs-materials | Chooses and tunes how surfaces look: matte, shiny, glass-like, cartoon | Yes | Choosing and configuring three.js materials - unlit, diffuse, specular, PBR, toon, point and line materials - shared properties like blending and stencil, environment response, and the WebGPU node-material and TSL equivalents. Use when styling meshes or tuning material behavior.npx skills add CloudAI-X/threejs-skills --skill threejs-materials |
| threejs-performance | Finds why a scene is slow by measuring first, then cuts the cost | Yes | Measuring and optimizing three.js speed: render statistics, memory counters, fewer draw calls via merging, instancing, batching and LOD, fill rate, shadows, CPU work per frame, shader stalls and GPU compute for particles, WebGL or WebGPU with TSL. Use when a scene is slow, janks or exceeds memory.npx skills add CloudAI-X/threejs-skills --skill threejs-performance |
| threejs-postprocessing | Adds screen effects: glow, depth of field, ambient shading, colour grading | Yes | Three.js post-processing: composer pass chains, built-in renderer effects, and the WebGPU/TSL node pipeline — bloom, depth of field, ambient occlusion, custom screen effects. Use when adding visual effects, color grading, blur, glow, or screen-space shaders, on WebGL or with WebGPU and TSL.npx skills add CloudAI-X/threejs-skills --skill threejs-postprocessing |
| threejs-react-three-fiber | Builds the same 3D scenes as React components with React Three Fiber and drei | Yes | Building three.js scenes from React with React Three Fiber and drei: renderer setup, the scene graph as JSX, frame-loop, state and loading hooks, pointer events, and adaptive performance, on WebGL or with WebGPU and TSL. Use when writing React components that render three.js.npx skills add CloudAI-X/threejs-skills --skill threejs-react-three-fiber |
| threejs-shaders | Writes custom shader effects, in GLSL for WebGL or in TSL for WebGPU | Yes | Custom GLSL vertex and fragment shaders: uniforms, varyings, shader chunks, extending built-in materials, instanced attributes, plus the same effects as node materials with TSL on WebGPU. Use when writing a shader, a custom material or effect, moving vertices in a shader, or porting GLSL to TSL.npx skills add CloudAI-X/threejs-skills --skill threejs-shaders |
| threejs-textures | Puts images on 3D surfaces with the right colours, and keeps their memory use down | Yes | Three.js textures: image loading, color spaces, UV channels and transforms, texture types from canvas to HDR and KTX2, render targets, texture memory. Use when working with images on materials, UV coordinates, cubemaps, render targets or texture optimization; on WebGL or with WebGPU and TSL.npx skills add CloudAI-X/threejs-skills --skill threejs-textures |
The author's descriptions come from each skill's SKILL.md; the plain-words column is AgentGid's.
Good to know before you install
- It is written for three.js r186. If your project uses an older release, some of the current names will not exist there.
- The guides switch on by themselves: Claude Code picks one when your request matches its description.
- The model guide has your assistant run gltf-transform and gltfjsx through npx. npx downloads those tools from npm, and they write new model files next to the original.
- gltfjsx with --transform writes Model.jsx and a rewritten copy of your model (model-transformed.glb).
- Pages without a build step load three.js 0.186.0 from the jsDelivr CDN through an import map, so the page needs the internet.
- The manual install for all projects copies all 13 guides into ~/.claude/skills; the project install uses .claude/skills.
Install Three.js Skills
Official commands from the repository
npx skills add cloudai-x/threejs-skills
git clone https://github.com/CloudAI-X/threejs-skills.git mkdir -p ~/.claude/skills && cp -r threejs-skills/skills/* ~/.claude/skills/
Remove: delete the threejs-* folders from ~/.claude/skills/
git clone https://github.com/CloudAI-X/threejs-skills.git mkdir -p .claude/skills && cp -r threejs-skills/skills/* .claude/skills/
Run the copy from the project root.
Remove: delete the threejs-* folders from .claude/skills/
Or with the open-source skills CLI: npx skills add CloudAI-X/threejs-skills. Skills are instructions your agent follows: read them before installing.
What it installs and runs on your machine
Read in the code at commit 0e18186, Nov 5, 2026
| When | What happens |
|---|---|
| Install | Thirteen markdown files. No hooks, no scripts, no plugin manifest. |
| threejs-asset-pipeline at work | Tells your assistant to run gltf-transform and gltfjsx through npx (downloaded from npm), which write compressed model files and, with gltfjsx, Model.jsx in your project. |
| Pages it writes without a bundler | The browser loads three.js 0.186.0 from cdn.jsdelivr.net through an import map. |
| React pages using useGLTF | The guide notes that drei loads the Draco decoder from a pinned gstatic URL in the visitor's browser. |
The author's numbers, as reported
AgentGid did not run these tests
- Checked against three@0.186.1, @react-three/fiber@9.8.2, @react-three/drei@10.7.9, @gltf-transform/cli@4.5.1 and gltfjsx@6.5.3: import paths and classes exist, every JavaScript block parses, no removed API in examples (The author's checks against the published packages and the official three.js Migration Guide). Source
Quick answers
- Is it free?
- Yes, MIT license.
- Does it run anything on my computer?
- Not by itself: it is 13 markdown files with no scripts or hooks. The model guide asks your assistant to run gltf-transform and gltfjsx through npx when you shrink a model.
- Which three.js version does it follow?
- three.js r186, React Three Fiber 9.8 with drei 10.7, and gltf-transform 4.5.
- Does it cover WebGPU?
- Yes. Examples use the WebGL renderer, and every guide has a WebGPU and TSL section.
- What if a guide is wrong?
- The author asks for an issue with the skill name, the line and your three.js version.
Checked by AgentGid on Nov 5, 2026 against commit 0e18186 of the pack's own files. agent.md for AI agents · Report a mistake
More video, images and media skill packs
| # | Install | |||||
|---|---|---|---|---|---|---|
| 1 |
Becomes a small video studio. You describe a video in plain words; it researches the topic, writes the script, finds or generates pictures, clips, voice and music, edits them and renders a finished MP4. It stops at each creative step and waits for your yes before it moves on or spends money. |
82.2K | +12.2K | 92 | ||
| 2 |
emilkowalski/skills
Checked
Fifteen design playbooks for your AI assistant, most of them about animation. It builds animations with set speeds and curves, says no when something should not move, and reviews or audits the motion you already have. Other skills make a web app feel right on a phone, stress-test screens with awkward data, build several versions of a piece of UI to compare, and pick libraries. |
58.7K | +10.7K | 20 | ||
| 3 |
Turns a project you built into a 15 to 25 second launch video. It reads your project, writes a plan and a storyboard, then makes the video with music, sound effects and a ready post caption. Everything lands in a new brag-output folder inside your project. |
22.2K | +5,446 | 2 | ||
| 4 |
Vincentwei1021/video-shotcraft
Checked
Turns your website or app into a short promo film. It screenshots your real pages and picks camera moves from a library of 124 tuned recipes. Then it plans the shots, adds music and sound, checks the frames and hands you an MP4 you can keep editing. |
22K | +7,721 | 1 | ||
| 5 |
Can answer questions about a video. Give it a link or a video file and a question. It pulls out still pictures with their times and the spoken words, then answers with timestamps. With a free Google Gemini key, Google's model watches the whole video for it instead. |
21.5K | — | 1 | ||
| 6 |
Your assistant directs and produces a short film about your own topic in one of 59 ready styles, from watercolour and ukiyo-e to satellite briefings and newsreels. It writes the plan, draws every frame in code, scores the music, adds a voice and renders a finished MP4. You can also turn a style into your own and keep it. |
19.6K | +13.9K | 1 |
No pack matches.