Skip to content
Skill

Threejs

Guides an agent through building and debugging plain three.js r187 scenes and glTF models

Threejs is an open-source agent skill for design and media. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
38
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Threejs

This skill covers the three.js r187 workflow for standalone pages: import maps, renderer and camera setup, the animation loop, resizing, orbit controls and the WebGPU renderer. It also covers loading glTF and GLB models with Draco, Meshopt and KTX2 decoders and playing their animations, plus materials, lights, shadows, environment lighting and tone mapping.

Each part is written as a set of symptom-to-fix notes, such as a black mesh, washed-out colour or missing or blocky shadows, with a Verify section to check the result. It also records traps found while loading a rigged Blender character, including bone names losing their dots, skinned meshes being culled too early and fitting shadow cameras to animated characters.

The skill is aimed at three.js work outside the raea framework; compositions built with React Three Fiber or TSL node materials are routed to a separate raea skill. The bundled parts are instruction documents, and the content does not describe any scripts.

When your agent uses it

Plain three.js r187 scenes: setup (import maps, renderer, camera, animation loop, resize, controls, WebGPU renderer), glTF and GLB loading with Draco, Meshopt and KTX2 and animation playback, and materials, lights, shadows, environment lighting and tone mapping, each with a symptom-to-fix list (a black mesh, washed-out colour, missing or blocky shadows). Use when writing or debugging a three.js page or scene outside raea. three.js inside a raea composition goes through the raea skill. From gamedev-skills' awesome-gamedev-agent-skills (Apache-2.0).

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 4 files (16 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the raea plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add shinyobjectz/raea-skills
/plugin install raea@raea

Or copy only this skill to ~/.claude/skills/threejs:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/shinyobjectz/raea-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/threejs &&
cp -R "$tmp/skills/threejs" ~/.claude/skills/threejs &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/threejs inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/threejs to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/shinyobjectz/raea-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/threejs &&
cp -R "$tmp/skills/threejs" ~/.agents/skills/threejs &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/threejs inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/threejs to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/shinyobjectz/raea-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/threejs &&
cp -R "$tmp/skills/threejs" ~/.cursor/skills/threejs &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/threejs inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/shinyobjectz/raea-skills.git --path skills/threejs

Or copy the folder to ~/.gemini/skills/threejs yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/threejs:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/shinyobjectz/raea-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/threejs &&
cp -R "$tmp/skills/threejs" ~/.copilot/skills/threejs &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/threejs inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/shinyobjectz/raea-skills.git

Then copy raea-skills/skills/threejs into your agent's skills folder as threejs. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Scene setup walkthrough
Covers import maps, renderer, camera, animation loop, resizing, controls and the WebGPU renderer.
glTF and GLB loading
Explains loading models with Draco, Meshopt and KTX2 decoders and playing their clips.
Materials and lighting
Covers standard and physical materials, lights, shadows, environment lighting and tone mapping.
Symptom-to-fix troubleshooting
Lists common rendering problems such as black meshes, washed-out colour and blocky shadows with fixes.
Blender character pitfalls
Documents bone naming, skinned mesh culling and shadow fitting for animated characters.
Headless model checks
Describes checking clips, bounds and names in Node before opening a browser page.

Good for

  • Set up a three.js scene with a camera, renderer and resize handling
  • Load a Draco-compressed glTF model and play its animations
  • Fix a three.js mesh that renders black
  • Make shadows sharper for a directional light in a three.js scene
  • Adjust tone mapping so an imported model's colours look right

Threejs FAQ

When does Threejs apply?

It is meant for writing or debugging a three.js page or scene outside raea. three.js work inside a raea composition goes through the raea skill instead.

Which three.js version does Threejs target?

It targets three.js r187 and records the release it was last checked against.

Does Threejs include scripts?

No scripts are listed for this skill; it consists of instruction files and reference notes.

How do I install Threejs in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/threejs to use it in all your projects, or to .claude/skills/threejs in one project. Or install the raea plugin, which includes it: /plugin marketplace add shinyobjectz/raea-skills, then /plugin install raea@raea.

Does Threejs run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Threejs?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Threejs?

The closest alternatives to Threejs are Threejs gltf loading, Threejs scene setup, Threejs materials lighting, Game engine and Blender pbr materials.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from shinyobjectz/raea-skills

  1. Check and consult a project's generated vocabulary before naming anything

    • Open source
    • 38 GitHub stars
    • Knowledge and memory
  2. Blank template for authoring new raea skills with a standard section layout

    • Open source
    • 38 GitHub stars
    • Developer tools
  3. Lets an agent write and render video, motion graphics and 3D scenes as React code

    • Open source
    • 38 GitHub stars
    • Design and media
  4. Routes Bevy 0.20 tasks to the right sibling skill and pins the engine version

    • Open source
    • 38 GitHub stars
    • Developer tools
  5. Guides an agent through accessibility design and audits for Bevy 0.20 games

    • Open source
    • 38 GitHub stars
    • Developer tools
  6. Guides an agent through Bevy 0.20 animation: graphs, blending, events and easing

    • Open source
    • 38 GitHub stars
    • Developer tools