webphysics-avbd-engine — Claude Code skill: setup
This skill helps wire a WebGPU physics engine into a project, including bodies, contacts, joints, springs, and render-state updates.
npx skills add reason-machines/trending-skills --skill webphysics-avbd-engine -a claude-codeWhat webphysics-avbd-engine does
The skill guides setup of webphysics, an experimental WebGPU engine for rigid and soft-body simulation. Its AVBD solver runs through GPU compute shaders and covers contacts, friction, joints, springs, sleeping, and diagnostics.
It maps the main pieces of the project: PhysicsEngine.ts, GPU code for broad and narrow collision phases, contact persistence, AVBD state, and the LBVH builder. An agent can use it to create a GPUDevice, initialize the engine, add bodies or constraints, step the simulation, and pass body transforms to a renderer.
The engine requires WebGPU in Chrome. It is a proof-of-concept rather than a production library.
What it helps with
- wire physics into a WebGPU project
- create rigid bodies with contact handling
- connect bodies with joints and springs
- feed simulated transforms into rendering
- configure an AVBD GPU solve
Example prompts for the agent
- Set up
webphysicsin my WebGPU TypeScript project and addPhysicsEngine.ts. - Create a static ground and falling boxes, then sync their transforms with
getBodyStates(). - Show how to configure contacts, distance joints, and springs for this simulation.
How to install webphysics-avbd-engine
1Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill webphysics-avbd-engine -a claude-code2Manually: put the files in place
~/.claude/skills/webphysics-avbd-engine/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/webphysics-avbd-engine/
1Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill webphysics-avbd-engine -a codex2Manually: put the files in place
.agents/skills/webphysics-avbd-engine/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill webphysics-avbd-engine -a cursor2Manually: put the files in place
.cursor/skills/webphysics-avbd-engine/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install reason-machines/trending-skills webphysics-avbd-engine2Manually: put the files in place
.github/skills/webphysics-avbd-engine/SKILL.md1Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill webphysics-avbd-engine -a gemini-cli2Platform CLI
gemini skills install https://github.com/reason-machines/trending-skills --path skills/webphysics-avbd-engineManually: put the files in place
.devin/skills/webphysics-avbd-engine/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill webphysics-avbd-engine -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about webphysics-avbd-engine
How do I install webphysics-avbd-engine in Claude Code?
Run npx skills add reason-machines/trending-skills --skill webphysics-avbd-engine -a claude-code, then check ~/.claude/skills/webphysics-avbd-engine/SKILL.md.
What does webphysics-avbd-engine do?
The skill helps configure an AVBD-based WebGPU physics engine for rigid and soft bodies, contacts, friction, joints, springs, and renderer updates.
What does webphysics require?
It needs Chrome with WebGPU support and an available GPUDevice. The engine is described as an experimental proof-of-concept.