Skip to main content
skill CX Codex

webgpu-threejs-tsl — Claude Code skill: what it does, how to install

Guides an agent through Three.js work with WebGPU, TSL node materials, GPU compute shaders, and post-processing effects.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add dgreenheck/webgpu-claude-skill --skill webgpu-threejs-tsl -a claude-code
Open on GitHub

What webgpu-threejs-tsl does

This skill gives an agent reference material and examples for Three.js projects that use the WebGPU renderer. It covers TSL syntax, node materials, reusable shader functions, GPU compute, post-processing, and custom WGSL integration.

Its documentation includes materials, WebGPU device limits and recovery after device loss. Examples cover basic setup, custom materials, a particle system, an effect pipeline, and an Earth scene with an atmosphere. Project and compute-shader templates are included too.

Three.js must be imported from three/webgpu, with TSL functions from three/tsl. That matters when moving an existing scene to WebGPU.

What it helps with

  • set up WebGPURenderer in a Three.js project
  • build a TSL node material
  • move GLSL shader logic to TSL
  • write a GPU compute shader for instanced arrays
  • create a post-processing effect pipeline

Example prompts for the agent

  • Set up a Three.js scene with WebGPURenderer and a TSL material.
  • Create a GPU compute shader for a particle system.
  • Help me migrate a GLSL material to TSL using a reusable Fn() function.

How to install webgpu-threejs-tsl

1Skills CLI (Vercel)

npx skills add dgreenheck/webgpu-claude-skill --skill webgpu-threejs-tsl -a claude-code

2Manually: put the files in place

~/.claude/skills/webgpu-threejs-tsl/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/webgpu-threejs-tsl/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about webgpu-threejs-tsl

How do I install webgpu-threejs-tsl in Claude Code?

Run npx skills add dgreenheck/webgpu-claude-skill --skill webgpu-threejs-tsl -a claude-code, then run npx skills add dgreenheck/webgpu-claude-skill --skill webgpu-threejs-tsl -a claude-code again. The skill file is placed at ~/.claude/skills/webgpu-threejs-tsl/SKILL.md.

What does webgpu-threejs-tsl do?

It provides guidance for building Three.js applications with WebGPU. The material covers TSL, node materials, compute shaders, WGSL functions, and post-processing.

Which imports are used for WebGPU and TSL?

Import Three.js from three/webgpu and import TSL functions from three/tsl. The standard Three.js entry point does not fit this setup.

Similar skills

Everything for Frontend and UI →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor