threejs-loaders
Skill by CloudAI-X
Explains how to load three.js assets such as glTF, other 3D model formats, textures, HDR and EXR environments. It is for developers building 3D web scenes with three.js r186.
Install threejs-loaders
Built from the published package, never by AI.
git clone --depth 1 https://github.com/CloudAI-X/threejs-skills /tmp/threejs-skills && mkdir -p ~/.claude/skills && cp -r /tmp/threejs-skills/skills/threejs-loaders ~/.claude/skills/threejs-loadersRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/CloudAI-X/threejs-skills /tmp/threejs-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/threejs-skills/skills/threejs-loaders ~/.gemini/antigravity-cli/skills/threejs-loadersAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill is a guide for loading three.js assets. It covers glTF and GLB files with Draco, meshopt and KTX2 compression, plus OBJ with MTL, FBX, STL and PLY models. It also covers texture loading and configuration, CubeTextureLoader, HDR, EXR and UltraHDR environment maps, and PMREMGenerator for generated environments.
The guide shows how to track progress with LoadingManager, cancel requests with abort, and process loaded content by enabling shadows, centering and scaling models. Examples use WebGLRenderer, and the source says a WebGPU and TSL section is included. It is aimed at developers who load 3D models, textures or environment maps in three.js.
Written from the project's SKILL.md and checked against it.
What it can do
- glTF and GLB loadingLoads glTF and GLB models with GLTFLoader, including Draco, meshopt and KTX2 compressed files.
- Other model formatsLoads OBJ with MTL, FBX, STL and PLY models with their own loaders.
- Texture loadingLoads textures with TextureLoader and sets wrapping, filters, anisotropy and color space.
- Environment mapsLoads HDR, EXR and UltraHDR environments and generates environments with PMREMGenerator.
- Progress and cancellationUses LoadingManager to report combined progress and abort in-flight requests.
- Model processingEnables shadows, looks up named nodes, and centers and scales models into a unit box.
What you need
- three.js r186 (examples target this release)
Try asking
- Load a Draco compressed glb model with GLTFLoader and add it to my scene
- Show loading progress for a model and a texture using LoadingManager
- Load an HDR environment and use it for scene lighting and background
Good to know
- Examples target three.js r186 and use WebGLRenderer.
- LoadingManager abort applies only to FileLoader-based loaders, not TextureLoader.
- TextureLoader does not call onProgress for image loading.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/threejs-loaders/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md22 KB
Alternatives to threejs-loaders
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
threejs-loaders: common questions
Which model formats does this skill cover?
It covers glTF and GLB, OBJ with MTL, FBX, STL and PLY. The glTF section also covers Draco, meshopt and KTX2 compression.
Does it handle environment lighting for glTF models?
Yes. It explains that glTF PBR materials render black without lights or an environment, and shows how to set scene.environment with RoomEnvironment or an HDR or EXR file.
Can I cancel a model load that takes too long?
Yes. manager.abort() cancels in-flight requests for loaders that use FileLoader, such as models, HDR, EXR and KTX2.
How do I install threejs-loaders?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is threejs-loaders free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is threejs-loaders safe to use?
It scores 86 of 100. Grades: maintenance B, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to threejs-loaders?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
