Skill · glTF optimisation
three.js asset pipeline
Shrinks glTF models with the gltf-transform CLI: inspect, validate, Draco or meshopt geometry, WebP or KTX2 textures, and the loader setup each compressed file needs in three.js.
- Author
- CloudAI-X (community)
- Source
- CloudAI-X/threejs-skills at version
0e18186 - Licence
- MIT
- Needs
- Needs an app or CLI: Node.js with npx (runs the gltf-transform CLI); KTX-Software 4.4 or newer, only for KTX2 textures
- Works in
- Terminal agents such as Claude Code, Codex and Cursor
- Reviewed
- Nov 2026, skill file read in full
- Note
- Written for three.js r186. npx downloads the gltf-transform CLI from npm on first use. Mesh simplification and texture resizing are lossy, so compare the model before and after. Its React section uses gltfjsx, another npm download.
Install only this skill
npx skills add CloudAI-X/threejs-skills@0e181866f095b5f06d005133876e926515390d95 --skill threejs-asset-pipeline -g -y
Comes in these collections
Site