/threejs-skills:threejs-model-customizefrom three.js Skills
Changing parts of a loaded glTF model at runtime in three.js or R3F: per-part colors and materials, texture swaps, hiding parts, material variants, click picking, attaching to named nodes. Use for product configurators and part edits. Hands off to `threejs-model-optimize`.
Ships in three.js Skills. 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.
Part edits fail in three predictable ways: the code looks up a name that does not exist in three.js (names are sanitized, duplicates get suffixes, multi-material meshes become groups), an edit to one part changes every part that shares the material, and a swapped texture shows upside-down or washed out. Work from the inspect report and own every material you change.
threejs-model-inspect. From the report, list the parts the feature touches: node names (already in three.js
form), which material each uses and how many primitives share it (used by N), and Group of N meshes nodes.
If the parts the user means are not separate nodes or materials, the file needs re-exporting with them split;
say so instead of hacking around it.references/vanilla.md or references/r3f.md. Sections cover recoloring,
material swaps, texture swaps, visibility, variants, picking and attachments.useGLTF also shares them between every component that loads the same URL.texture.flipY = false, and colorSpace = SRGBColorSpace for color
and emissive maps only.{ body: "red", wheels: "sport" }) and apply it
to the model with one function. That makes reset, undo and URL sharing trivial.material.dispose(), texture.dispose()) when swapping repeatedly, or GPU memory grows
with every click.threejs-model-optimize, use the configurator preset so the names survive.threejs-model-inspect's render.mjs --compare to confirm only the intended parts changed.mesh.material.color on a shared material and recoloring parts the user never touched.Wheel.001, Body Paint) instead of the three.js names (Wheel001,
Body_Paint).gltf-transform optimize) and then needing them separate.renderer.info.memory.Next: threejs-model-optimize with the configurator preset before shipping.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub emiliodominguez/threejs-skills --plugin threejs-skills28 skills in this plugin
/threejsMap of the threejs-* skills for three.js and React Three Fiber work: 3D models, scenes, materials, lighting, animation, shaders, performance and model generation. Use when a 3D web task spans several areas or the right skill is unclear. Routes to `threejs-model-inspect` and the rest of the suite./threejs-animationKeyframe, 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./threejs-asset-pipelineShrinking 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.Other plugins' skills for the same job