Sign in Get 3 free credits

Try a job or a niche: tiktok captions, study notes, excel formulas. Press Esc to close.

Three.js model loading

Loads glTF and GLB models into three.js with working decoders, so models appear and their animations play.

Claude's review

8/10 Specific three.js glTF loading method with decoder, clone and optimize pitfalls; reference file not included.

We asked Claude the question you would ask: would I be glad I installed this? We only sell skills it rates 7 or higher.

In detail

Loads glTF/GLB models into three.js r187 and plays their animations: GLTFLoader, DRACO, Meshopt and KTX2 decoders, AnimationMixer cross-fades and SkeletonUtils clones. Use when a model is invisible or tiny, decoder files 404, animations never play, or clones share one skeleton. Not for scene setup (`threejs-scene-setup`) or lighting (`threejs-materials-lighting`).

How you use it

  1. Add it to your pack, then download your pack (1 credit).
  2. In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
  3. Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide

Safety check

Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.

An automated scan lowers risk but cannot promise zero risk. How we check skills

Preview

The first lines of SKILL.md
---
name: threejs-gltf-loading
description: >
  Loads glTF/GLB models into three.js r187 and plays their animations: GLTFLoader, DRACO, Meshopt
  and KTX2 decoders, AnimationMixer cross-fades and SkeletonUtils clones. Use when a model is
  invisible or tiny, decoder files 404, animations never play, or clones share one skeleton. Not
  for scene setup (`threejs-scene-setup`) or lighting (`threejs-materials-lighting`).
---

# three.js glTF loading

Loads `.gltf` / `.glb` models, including compressed geometry (DRACO, Meshopt) and textures
(KTX2), and plays their animation clips. Patterns target **r187**; an existing project keeps
its pinned release unless the user asks to upgrade. glTF is the runtime format to default
to: OBJ has no scene graph or animation, and FBX is heavy to parse in a browser.

## When to use

- Importing a model or character, inspecting its node hierarchy, playing or blending clips,
  spawning many copies of an animated enemy, or fixing a model that does not appear.
- Files are `.gltf` / `.glb`, or code imports `GLTFLoader`, `DRACOLoader` or `KTX2Loader`
  from `three/addons/loaders/...`.
- Not for the renderer, camera and loop (`threejs-scene-setup`), the model's lighting and
  materials (`threejs-materials-lighting`), or modelling and export settings in a DCC tool.

## Workflow

1. **Inspect the file before writing loader code** when `gltf-transform` is available:
   `npx @gltf-transform/cli inspect model.glb` lists meshes, extensions (for example
   `KHR_draco_mesh_compression`, `EXT_meshopt_compression`, `KHR_texture_basisu`), clips and
   texture sizes. Each listed compression extension needs its decoder attached.
2. **Load with `GLTFLoader`** (`loadAsync` in async code). The result has `gltf.scene`, the
   root `Object3D`, and `gltf.animations`, an `AnimationClip[]`.
3. **Add `gltf.scene` and frame it.** glTF units are metres; log names and bounds to find
   the parts code will control.
4. **One `AnimationMixer` per animated root**, actions from `mixer.clipAction(clip)`, and
   `mixer.update(seconds)` every frame.
5. **Attach decoders** for the extensions found in step 1. Since r185 `DRACOLoader` and
   `KTX2Loader` find their bundled decoder files without a path.
6. **Verify** with [Verify](#verify).
...

From gamedev-skills's repository, Apache-2.0 licence.

Related skills

  • Checked

    TinyBase app builder

    Scaffolds and extends local first JavaScript apps with TinyBase, including schemas, persistence and sync.

    by tinyplex 5.2k
    7/101 credit
  • Checked

    ComfyUI custom node UI

    Adds widgets, sidebar tabs, commands and dialogs to ComfyUI custom nodes, so your node feels built in.

    by jtydhr88 325
    8/101 credit
  • Checked

    Scrolling menu upgrade

    Finds outdated react-horizontal-scrolling-menu code and rewrites it for version 8 so the menu works again.

    by asmyshlyaev177 789
    7/101 credit
  • Checked

    Scroll Menu Testing and SSR

    Gets react-horizontal-scrolling-menu working in Next.js and tested in Jest and Playwright without flicker.

    by asmyshlyaev177 789
    7/101 credit
  • Checked

    Screenshot to React code

    Rebuilds a screenshot or mockup as React, TypeScript and Tailwind code that closely matches the design.

    by buildfastwithai 792
    7/101 credit
  • Checked

    Next.js 16 App Builder

    Builds Next.js 16 apps the current way, with Server Components, Server Actions, caching and the new proxy file.

    by TerminalSkills 221
    7/101 credit

Secure checkout

Credits

AUD

  1. 1Choose
  2. 2Pay on Square
  3. 3Credits added