Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

threejs-gltf-loading

Skill by gamedev-skills

Loads glTF and GLB models into three.js r187 and plays their animations. It covers GLTFLoader, DRACO, Meshopt and KTX2 decoders, and AnimationMixer cross-fades.

  • Score 94
  • 11k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install threejs-gltf-loading

Built from the published package, never by AI.

git clone --depth 1 https://github.com/gamedev-skills/awesome-gamedev-agent-skills /tmp/awesome-gamedev-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/awesome-gamedev-agent-skills/skills/web-engines/threejs-gltf-loading ~/.claude/skills/threejs-gltf-loading

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install threejs-gltf-loading in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This agent skill teaches an AI assistant how to load glTF and GLB 3D models in three.js and play their skinned animations. It covers GLTFLoader, the DRACO, Meshopt and KTX2 decoders for compressed geometry and textures, AnimationMixer clip playback and cross-fades, and SkeletonUtils clones. It also gives fixes for common problems such as a model that is invisible or tiny, decoder files returning 404, animations that never play, and clones that share one skeleton.

The skill is written for three.js r187 and points to gltf-transform CLI commands for inspecting and optimizing model files before loading them. It includes a verification workflow with file validation, a build check and a runtime probe. The skill is aimed at developers building three.js projects who import 3D models. It refers scene setup and lighting questions to two other skills.

Written from the project's SKILL.md and checked against it.

What it can do

  • GLTFLoader loadingLoads .gltf and .glb files and returns the scene root and animation clips.
  • AnimationMixer playbackPlays clips, fades between them with crossFadeTo, and updates the mixer each frame.
  • Compressed model supportAttaches DRACO, Meshopt and KTX2 decoders for compressed geometry and textures.
  • gltf-transform inspectionLists meshes, extensions, clips and texture sizes in a model file before loading.
  • Model optimizationShows gltf-transform optimize flags that keep named parts that code needs to control.
  • Troubleshooting guideCovers invisible models, decoder 404 errors, frozen animations and shared skeletons.

What you need

  • Node.js for the gltf-transform CLI
  • three.js r187 or a compatible project

Try asking

  • Load assets/robot.glb with GLTFLoader and log its size and clip names
  • Play the Run animation on my character and cross-fade to Idle
  • Add DRACO and Meshopt decoders to my GLTFLoader setup

Good to know

  • Patterns target three.js r187; older projects need the decoder folders copied manually.
  • Default gltf-transform optimize flags can merge or remove named parts code relies on.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/web-engines/threejs-gltf-loading/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md10 KB
  • references/loaders-and-animation.md5 KB

Alternatives to threejs-gltf-loading

All alternatives →
openclaw-github-repo-commandersickn33
94

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.

AAA Skill 50k
gradiogradio-app
94

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.

AAA Skill 44k
hig-components-menussickn33
94

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.

AAA Skill 50k
fastapi-templateswshobson
94

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.

AAA Skill 43k
appfunctionsandroid
94

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.

AAA Skill 11k
agent-qa-authoringsickn33
94

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.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

threejs-gltf-loading: common questions

Why does my glTF model not show up in three.js?

The skill lists causes such as missing lights or environment for PBR materials, or a scale off by 100 from a centimetre export. It advises logging the bounding box to check.

How do I clone an animated model in three.js?

The skill says a plain clone shares the skeleton, so it recommends SkeletonUtils.clone and a separate AnimationMixer for each copy.

Which three.js version does this skill target?

The source says the patterns target three.js r187, verified against npm three@0.187.0 and @gltf-transform/cli 4.5.1.

How do I install threejs-gltf-loading?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is threejs-gltf-loading free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is threejs-gltf-loading safe to use?

It scores 94 of 100. Grades: maintenance A, 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-gltf-loading?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

threejs-gltf-loading Install

Add to stack

Loading.