Agent skill Web motion
Three.js Loaders
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-loaders --agent claude-code --yesCheck this file in your project.claude/skills/threejs-loaders/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add CloudAI-X/threejs-skills --skill threejs-loadersSelect 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
- A local GLB, asset URL and decoder requirements if compressed
- Exercise
- Load a local GLB with progress and a usable failure state
- Acceptance
- Open a valid model and an intentionally missing local URL. Verify the canvas and status on success, a legible retry path on failure, and cleanup when navigating away during loading.
- Skill name
threejs-loaders- 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
- Load a local GLB with progress and a usable failure state
- A local GLB, asset URL and decoder requirements if compressed
threejs-loaders operation manual
Load a local GLB with progress and a usable failure state
A local GLB, asset URL and decoder requirements if compressed
Check the current scene
Check the current scene
Prompt · Step 1Use CloudAI-X’s threejs-loaders and read the installed SKILL.md. The scope is [Project and preview route]. Inspect [Local GLB] and the project’s installed Three.js and asset pipeline. Identify whether this model needs Draco, Meshopt or KTX2 support before adding a decoder.Apply the documented technique
Load a local GLB with progress and a usable failure state
Prompt · Step 2Use CloudAI-X’s threejs-loaders and read the installed SKILL.md. The scope is [Project and preview route]. Use the corresponding GLTFLoader version and loadAsync. Show distinct loading, successful and failed states for [Viewer route]. Wire existing loading management and handle a late response after the view unmounts.Verify the rendered behavior
Verify the rendered behavior
- Open a valid model and an intentionally missing local URL. Verify the canvas and status on success, a legible retry path on failure, and cleanup when navigating away during loading.
Prompt · Step 3Use CloudAI-X’s threejs-loaders and read the installed SKILL.md. The scope is [Project and preview route]. Open a valid model and an intentionally missing local URL. Verify the canvas and status on success, a legible retry path on failure, and cleanup when navigating away during loading.
Look up a specific implementation problem
Ask the assistant to use the current preview and installed dependency as evidence.
What inputs are required?threejs-loaders
- Command or reference
SKILL.md- Examples
- A local GLB, asset URL and decoder requirements if compressed
How do I verify the real effect?Browser
- Command or reference
Load a local GLB with progress and a usable failure state- Examples
- Open a valid model and an intentionally missing local URL. Verify the canvas and status on success, a legible retry path on failure, and cleanup when navigating away during loading.
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?
Open a valid model and an intentionally missing local URL. Verify the canvas and status on success, a legible retry path on failure, and cleanup when navigating away during loading.