Agent skill

Threejs 3D

by WrongStack in WrongStack/WrongStack

Build and optimize browser 3D scenes with Three.js, React Three Fiber, WebGPU or WebGL, TSL and glTF assets.

MITAuto-check passedGame Development

Install Threejs 3D

skills CLI
$ npx skills add WrongStack/WrongStack --skill threejs-3d -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install WrongStack/WrongStack threejs-3d --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/WrongStack/WrongStack.git skills-src && mkdir -p .claude/skills && cp -r skills-src/packages/core/skills/threejs-3d .claude/skills/threejs-3d && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
threejs-3d
GitHub stars
371
Token cost
~878 tokens
SKILL.md length
360 words
Files
1
Skills in repo
100
Repo updated
First seen
Licence
MIT

At a glance

Build and optimize browser 3D scenes with Three.js, React Three Fiber, WebGPU or WebGL, TSL and glTF assets.

  • Works in 6 steps: Choose the renderer from deployment… → For WebGPU use the matching three/webgpu… → Bound pixel ratio, shadow cost, render… → …
  • Implementing cameras
  • SKILL.md covers Selection card, Overview, Rules and Workflow, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Threejs 3D is an agent skill from WrongStack/WrongStack. Build and optimize browser 3D scenes with Three.js, React Three Fiber, WebGPU or WebGL, TSL and glTF assets. Use when implementing cameras, materials, 3D interaction, model loading or renderer performance; preserve renderer compatibility and resource ownership.

Its SKILL.md is about 880 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Game Development, covering 3D graphics and WebGL. It works with Three.js. The repository describes itself as: An AI coding agent that reads your code, edits files, runs commands, and reasons through bugs — across a terminal REPL, a full-screen TUI, and a browser UI, while you keep your… The licence is MIT.

When your agent uses it

  • Implementing cameras
  • Renderer performance
  • Preserve renderer compatibility and resource ownership

Example prompts

  • “/threejs-3d”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Choose the renderer from deployment requirements, materials and postprocessing.
  2. For WebGPU use the matching three/webgpu and three/tsl APIs. Initialize the
  3. Bound pixel ratio, shadow cost, render targets, texture sizes and geometry.
  4. Keep allocations and React setState out of per-frame hot loops. Mutate owned
  5. Dispose only resources the component owns. Cached glTF textures/materials may
  6. Provide loading/error states and a useful non-canvas fallback. Preserve keyboard

What it can do on your machine

Read from SKILL.md and the folder at commit a744bdc. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • threejs.org
    • r3f.docs.pmnd.rs

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Threejs 3D loads about 878 tokens when it runs. Until then it costs about 68 tokens; SKILL.md has 360 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~68
When it runs · the whole SKILL.md, loaded when a task matches
~878

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from WrongStack/WrongStack at commit a744bdc, republished under its MIT licence (© WrongStack). 360 words, ~878 tokens.

Download SKILL.mdSave it as .claude/skills/threejs-3d/SKILL.md (or your agent's skills folder).
name
threejs-3d
description
Build and optimize browser 3D scenes with Three.js, React Three Fiber, WebGPU or WebGL, TSL and glTF assets. Use when implementing cameras, materials, 3D interaction, model loading or renderer performance; preserve renderer compatibility and resource ownership.
version
1.2.1
required-capabilities
filesystem.read, filesystem.write
optional-capabilities
verification.run, web.research
trigger
implementing cameras, materials, 3D interaction, model loading or renderer performance; preserve renderer compatibility and resource ownership.
metadata.routing-group
media

Three.js and Browser 3D

Selection card

  • Task: Build interactive Three.js 3D rendering and shaders. / TR: Etkileşimli Three.js 3D render ve shader kur.
  • Start: Identify the existing engine, scene, timeline and delivery format.
  • Finish: apply the acceptance checks below; report observed results and unresolved constraints.

Overview

Latest stable targets checked 2026-10-09: Three.js 0.186.1 (r186), @types/three 0.186.0, React Three Fiber 9.8.1 and Drei 10.7.9 with React 19.3.0. Refresh these together before installation and check peer ranges.

Rules

  1. Choose the renderer from deployment requirements, materials and postprocessing. WebGPURenderer is a modern option with WebGL2 fallback; backend fallback does not guarantee every shader, compute feature or plugin behaves identically.
  2. For WebGPU use the matching three/webgpu and three/tsl APIs. Initialize the renderer before rendering; keep supported WebGL paths when integration needs them.
  3. Bound pixel ratio, shadow cost, render targets, texture sizes and geometry. Use frame/draw-call measurements, not a universal mesh-count threshold.
  4. Keep allocations and React setState out of per-frame hot loops. Mutate owned scene refs for frame updates and use delta for frame-rate independent movement.
  5. Dispose only resources the component owns. Cached glTF textures/materials may be shared across mounts; blindly disposing them breaks the remaining users.
  6. Provide loading/error states and a useful non-canvas fallback. Preserve keyboard and pointer alternatives where the scene implements a user task.
Show full SKILL.md (143 more words)Show less

Workflow

  1. Inspect browser targets, renderer and asset pipeline. Start with a simple lit scene and camera controls; validate the actual target browser before complex shaders.
  2. Load assets with bounded error handling. In R3F, use Suspense around loading boundaries and inspect cache/disposal ownership.
  3. Profile instancing, merging, compressed textures and geometry codecs against visual quality and download/decoder cost. Compress only where it helps.
  4. Test resize, DPR changes, background tabs, repeated mounts, loading failure and context/device loss where supported.
  5. Record cold-load size/time, frame performance and resource counts after repeated mount/unmount. Distinguish source correctness from rendered verification.

Sources

WebGPURenderer, R3F performance pitfalls.

Acceptance checks

  • View the actual scene, test fallbacks and measure rendering/resources on the target device.

Skills in scope

  • react-modern — lifecycle and Suspense boundaries.
  • motion-design — DOM transitions around the canvas.
  • web-performance — download and frame profiling.
  • accessibility — equivalent interaction outside the scene.

© WrongStack, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in packages/core/skills/threejs-3d of WrongStack/WrongStack.

Open the folder on GitHubat commit a744bdc

Compare with similar skills

Threejs 3D next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Threejs 3D compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Threejs 3D this skillWrongStack/WrongStack371—~878Automated safety check: PassMIT
Image to Three.js Modelimg2threejs/img2threejs18k1 repos~8.2kAutomated safety check: PassApache-2.0
Web CloneJane-xiaoer/claude-skill-web-clone1k1 repos~2.7kAutomated safety check: PassMIT
Threejs Game Directormajidmanzarpour/threejs-game-skills2.5k—~2.2kAutomated safety check: PassMIT
Threejs Gameplay Systemsvalkor-ai/loom1.2k1 repos~1.4kAutomated safety check: PassApache-2.0
Threejs World Generationcalesthio/OpenMontage66k—~2kAutomated safety check: PassAGPL-3.0

Similar skills

  • Image to Three.js Model

    img2threejs/img2threejs

    Rebuilds the object in a reference image as a procedural, animation-ready Three.js model written entirely in code, using staged sculpting with quality checks.

    18k GitHub starsUsed in 1 repo~8.2k tokens
    Game DevelopmentAuto-check passed
  • Web Clone

    Jane-xiaoer/claude-skill-web-clone

    网站复刻 / 克隆方法论。USE WHEN 用户说 复刻网站、克隆网站、clone website、抄个站、仿站、 照着这个站做一个、reproduce site、还原某个网页效果、把这个站搬下来改成我的、 复刻某个交互/WebGL/Canvas/Three.js 效果。提供「先拿真源码 → 判路径 → 逆向拆解 → 搭工程 → 替换内容」的可移植决策树,覆盖静态站 /…

    1k GitHub starsUsed in 1 repo~2.7k tokens
    Game DevelopmentAuto-check passed
  • Threejs Game Director

    majidmanzarpour/threejs-game-skills

    Entrypoint for building, upgrading, and finishing Three.js browser games.

    2.5k GitHub stars~2.2k tokensUpdated 13 days ago
    Game DevelopmentAuto-check passed
  • Build and iterate playable Three.js game systems: starter scaffold, architecture, design briefs, core loops, level and encounter design, entities, input, camera, collision and physics, scoring…

    1.2k GitHub starsUsed in 1 repo~1.4k tokens
    Game DevelopmentAuto-check passed
  • Threejs World Generation

    calesthio/OpenMontage

    Build deterministic, editable, free-viewpoint Three.js worlds from text or structured briefs.

    66k GitHub stars~2k tokensUpdated 7 days ago
    Game DevelopmentAuto-check passed
  • 3Dviz Pro Max Scene Builder

    viettranx/3dviz-pro-max

    Guides building an expressive 3D scene in Three.js or Blender by reasoning through intent, object construction and scientific grounding before using a catalog of recipes and kits.

    709 GitHub stars~2.8k tokensUpdated 1 mo ago
    Game DevelopmentAuto-check passed

More from WrongStack/WrongStack

All 100 skills in this repo
  • Tech Stack

    WrongStack/WrongStack

    Validate and upgrade dependencies against live registries and official migration guides in any ecosystem.

    374 GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Skill Creator

    WrongStack/WrongStack

    Create, improve and validate WrongStack SKILL.md bundles with precise discovery, progressive resources and current runtime contracts.

    374 GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Bug Hunter

    WrongStack/WrongStack

    A skill your agent uses when scanning source code for bugs, anti-patterns, code smells, or quality issues in a codebase, or when running a proof-driven bug hunt that must find, prove, fix, and…

    374 GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Design Craft

    WrongStack/WrongStack

    Design or substantially improve user-facing interfaces with a product-specific visual direction, content hierarchy, and rendered critique.

    374 GitHub stars~2.3k tokensUpdated today
    Auto-check passed
  • Design Critique

    WrongStack/WrongStack

    A skill your agent uses to audit an interface that already exists and say precisely why it looks generated, templated, or unfinished — a scored rubric across composition, typography, color, states…

    374 GitHub stars~2.5k tokensUpdated today
    Auto-check passed
  • Mailbox Bridge

    WrongStack/WrongStack

    A skill your agent uses when external coding agents (Claude Code, Aider, custom scripts) need to participate in the project's shared WrongStack mailbox, or when a user asks to "expose the mailbox"…

    374 GitHub stars~2.6k tokensUpdated today
    Auto-check passed

Works with

Questions about Threejs 3D

What does Threejs 3D do?

Build and optimize browser 3D scenes with Three.js, React Three Fiber, WebGPU or WebGL, TSL and glTF assets. Threejs 3D is an agent skill from WrongStack/WrongStack.js, React Three Fiber, WebGPU or WebGL, TSL and glTF assets.

When should I use Threejs 3D?

Threejs 3D fits situations like: implementing cameras; renderer performance; preserve renderer compatibility and resource ownership.

How do I install Threejs 3D in Claude Code?

Run `npx skills add WrongStack/WrongStack --skill threejs-3d -a claude-code`. Or copy the skill folder (packages/core/skills/threejs-3d in WrongStack/WrongStack) into .claude/skills/threejs-3d in your project. Claude Code loads it when a task matches its description.

How do I install Threejs 3D in Codex?

Run `npx skills add WrongStack/WrongStack --skill threejs-3d -a codex`. Or copy the skill folder (packages/core/skills/threejs-3d in WrongStack/WrongStack) into .agents/skills/threejs-3d in your project. Codex loads it when a task matches its description.

Can I use Threejs 3D in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add WrongStack/WrongStack --skill threejs-3d -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/threejs-3d, .gemini/skills/threejs-3d, .github/skills/threejs-3d and .opencode/skills/threejs-3d in your project.

What does Threejs 3D need to run?

SKILL.md names no scripts, command-line tools or credentials: Threejs 3D is instructions for the agent only.

Does Threejs 3D access the network?

SKILL.md names 2 domains. As links in the text: threejs.org and r3f.docs.pmnd.rs. This is read from the text; nothing was executed.

Is Threejs 3D safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Threejs 3D use?

Threejs 3D is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Threejs 3D use?

About 878 tokens (SKILL.md is roughly 3.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Threejs 3D?

Skills that share tags, products or a category with Threejs 3D: Image to Three.js Model (img2threejs/img2threejs, 18k stars), Web Clone (Jane-xiaoer/claude-skill-web-clone, 1k stars), Threejs Game Director (majidmanzarpour/threejs-game-skills, 2.5k stars) and Threejs Gameplay Systems (valkor-ai/loom, 1.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Threejs 3D?

WrongStack (a GitHub organization) maintains it in WrongStack/WrongStack, which has 371 GitHub stars. The repository holds 100 skills in this directory. The repository was last updated on October 10, 2026.

Source: WrongStack/WrongStack on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.