/ Directory / Playground / WebGPU Claude Skill
● Community dgreenheck ⚡ Instant

WebGPU Claude Skill

by dgreenheck · dgreenheck/webgpu-claude-skill

Spin up WebGPU + Three.js projects with Claude — boilerplate, shader patterns, perf checks, all wrapped in one skill.

WebGPU is new enough that Claude often hallucinates the API. This skill grounds it: working Three.js + WebGPU scaffolds, common shader patterns, perf heuristics for browsers.

Why use it

Key features

Live Demo

What it looks like in practice

ready

Install

Pick your client

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "webgpu-claude-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/dgreenheck/webgpu-claude-skill"
      ],
      "_inferred": true
    }
  }
}

Open Claude Desktop → Settings → Developer → Edit Config. Restart after saving.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "webgpu-claude-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/dgreenheck/webgpu-claude-skill"
      ],
      "_inferred": true
    }
  }
}

Cursor uses the same mcpServers schema as Claude Desktop. Project config wins over global.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "webgpu-claude-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/dgreenheck/webgpu-claude-skill"
      ],
      "_inferred": true
    }
  }
}

Click the MCP Servers icon in the Cline sidebar, then "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "webgpu-claude-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/dgreenheck/webgpu-claude-skill"
      ],
      "_inferred": true
    }
  }
}

Same shape as Claude Desktop. Restart Windsurf to pick up changes.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "webgpu-claude-skill",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/dgreenheck/webgpu-claude-skill"
      ]
    }
  ]
}

Continue uses an array of server objects rather than a map.

~/.config/zed/settings.json
{
  "context_servers": {
    "webgpu-claude-skill": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/dgreenheck/webgpu-claude-skill"
        ]
      }
    }
  }
}

Add to context_servers. Zed hot-reloads on save.

claude mcp add webgpu-claude-skill -- git clone https://github.com/dgreenheck/webgpu-claude-skill

One-liner. Verify with claude mcp list. Remove with claude mcp remove.

Use Cases

Real-world ways to use WebGPU Claude Skill

Scaffold a WebGPU scene

👤 Claude Code users ⏱ ~15 min intermediate

When to use: You want a working WebGPU + Three.js starter without yak-shaving.

Flow
  1. Brief
    Describe scene; skill drafts.✓ Copied
    → Files written
  2. Iterate
    Tweak shader; skill applies✓ Copied
    → Visible output

Outcome: WebGPU scene running in your browser fast.

Combinations

Pair with other MCPs for X10 leverage

webgpu-claude-skill + filesystem

Write the scene into your project

Combine webgpu-claude-skill with filesystem: Write the scene into your project✓ Copied

Tools

What this MCP exposes

ToolInputsWhen to callCost
scaffold / shade (see docs) Two flows 1 call

Cost & Limits

What this costs to run

API quota
N/A
Tokens per call
Mid
Monetary
Free
Tip
Test on Chrome stable; WebGPU is mostly there but quirks remain

Security

Permissions, secrets, blast radius

Credential storage: None
Data egress: None

Troubleshooting

Common errors and fixes

WebGPU not available

Skill emits a WebGL fallback when asked

Alternatives

WebGPU Claude Skill vs others

AlternativeWhen to use it insteadTradeoff
Direct Three.js docsYou know WebGPU wellSlower bootstrap

More

Resources

📖 Read the official README on GitHub

🐙 Browse open issues

🔍 Browse all 400+ MCP servers and Skills