Agent skill Web motion
Three.js Materials
Use spatial graphics, scenes or materials to support a web experience.
Install the skill
Run the command from your project root with Node.js and npm.
npx skills@latest add CloudAI-X/threejs-skills --skill threejs-materials --agent claude-code --yesCheck this file in your project.claude/skills/threejs-materials/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add CloudAI-X/threejs-skills --skill threejs-materialsSelect your assistant and choose the project installation scope.
Official instructions
The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. Bring an existing Three.js project and a local preview. Check the installed version and renderer first.
View operation manualWhat this skill helps with
- Use spatial graphics, scenes or materials to support a web experience.
Good for
- 3D on the web
- Inputs
- One mesh, scene lighting, intended finish and existing textures
- Exercise
- Compare a material under a fixed camera and light
- Acceptance
- Compare matte and polished samples in the same shot and check the hypothesis about reflection. Verify the change does not unintentionally affect other meshes that shared the material.
- Skill name
threejs-materials- Repository
CloudAI-X/threejs-skills
Keep the change to a scene you can compare
Open-ended request
Make the whole 3D scene better.
Without a baseline and scoped inputs, you cannot tell which adjustment solved the problem.
A reproducible outcome
- Compare a material under a fixed camera and light
- One mesh, scene lighting, intended finish and existing textures
threejs-materials operation manual
Compare a material under a fixed camera and light
One mesh, scene lighting, intended finish and existing textures
Check the current scene
Check the current scene
Prompt · Step 1Use CloudAI-X’s threejs-materials and read the installed SKILL.md. The scope is [Project and preview route]. Inspect [Mesh] under its existing lighting and renderer settings. Identify the source material, color maps and whether environment lighting is active.Apply the documented technique
Compare a material under a fixed camera and light
Prompt · Step 2Use CloudAI-X’s threejs-materials and read the installed SKILL.md. The scope is [Project and preview route]. Test a MeshStandardMaterial variant on the same geometry. Set [Roughness and metalness] deliberately and apply the intended environment and texture color-space settings. Keep camera, scene light and tone mapping fixed for comparison.Verify the rendered behavior
Verify the rendered behavior
- Compare matte and polished samples in the same shot and check the hypothesis about reflection. Verify the change does not unintentionally affect other meshes that shared the material.
Prompt · Step 3Use CloudAI-X’s threejs-materials and read the installed SKILL.md. The scope is [Project and preview route]. Compare matte and polished samples in the same shot and check the hypothesis about reflection. Verify the change does not unintentionally affect other meshes that shared the material.
Look up a specific implementation problem
Ask the assistant to use the current preview and installed dependency as evidence.
What inputs are required?threejs-materials
- Command or reference
SKILL.md- Examples
- One mesh, scene lighting, intended finish and existing textures
How do I verify the real effect?Browser
- Command or reference
Compare a material under a fixed camera and light- Examples
- Compare matte and polished samples in the same shot and check the hypothesis about reflection. Verify the change does not unintentionally affect other meshes that shared the material.
Troubleshooting and FAQ
Why may an example fail in my project?
Confirm Three.js and its addons use matching versions and check the renderer required by that example.
How do I judge the result?
Compare matte and polished samples in the same shot and check the hypothesis about reflection. Verify the change does not unintentionally affect other meshes that shared the material.