webgpu-capture-analysis

Analyze WebGPU Inspector captures to produce prioritized reports of objects, commands, and errors.

355|22|Updated Mar 31, 2023
One-click install
npx skills add https://github.com/brendan-duncan/webgpu_inspector --skill webgpu-capture-analysis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: webgpu-capture-analysis
Source: https://github.com/brendan-duncan/webgpu_inspector/tree/main/claude-plugin/skills/webgpu-capture-analysis
Command: npx skills add https://github.com/brendan-duncan/webgpu_inspector --skill webgpu-capture-analysis

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyze and interpret WebGPU Inspector captures to reveal the full GPU object graph, the ordered command list, and validation errors for debugging and performance analysis.

Core Features & Use Cases

  • Read and understand the capture structure: objects, commands, and validationErrors.
  • Drill into specific commands, shaders, pipelines, and resources to diagnose issues.
  • Use for debugging, shader verification, and performance troubleshooting across per-frame captures or saved .json captures.

Quick Start

Provide a WebGPU capture JSON to run the analyzer and generate a structured report of objects, commands, and errors.

Frequently Asked Questions about webgpu-capture-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug WebGPU validation errors from a capture file?

You can analyze WebGPU Inspector captures to extract validation errors, the GPU object graph, and the ordered command list. Providing a capture JSON generates a prioritized report referencing problematic entries to diagnose issues.

What is the best way to inspect a WebGPU GPU object graph for debugging?

The best way to inspect a WebGPU GPU object graph is by analyzing per-frame captures from MCP tools or saved .json files. This reveals the full object structure and ordered command list for debugging and performance troubleshooting.

Can I use a saved JSON file to troubleshoot WebGPU shader and pipeline issues?

Yes, you can use saved .json capture files to troubleshoot WebGPU shader and pipeline issues. The analyzer drills into specific commands, shaders, pipelines, and resources within the capture structure to diagnose problems.

Does WebGPU capture analysis work with per-frame captures from MCP tools?

Yes, WebGPU capture analysis works with per-frame captures from MCP tools. It reads the capture structure including objects, commands, and validationErrors to support debugging, shader verification, and performance analysis.

How do I identify common issues in a WebGPU command list?

To identify common issues in a WebGPU command list, parse the objects and commands from a WebGPU Inspector capture. The analyzer specifies how to parse these entries and produces a prioritized report referencing problematic commands.

What do I need to provide to generate a WebGPU capture analysis report?

You need to provide a WebGPU capture JSON to generate an analysis report. The analyzer reads the capture structure and produces a structured report of objects, commands, and validation errors for debugging.