metal-gpu-debug

Official

Debug Metal GPU workloads on Apple Silicon.

Authortrymirai
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Metal GPU debugging and profiling on macOS requires coordinating multiple tools (gpu_trace, xctrace, xcrun metal) to capture, parse, and interpret GPU activity and shader behavior. This skill provides an end-to-end workflow to automate environment validation, trace collection, data extraction, and reporting for Metal workloads on Apple Silicon.

Core Features & Use Cases

  • Automated session lifecycle: doctor/checks, record, export, parse, analyze, and report traces.
  • GPU trace tooling integration: gpu_trace, xctrace, and Metal validation layers for comprehensive debugging.
  • Performance insights: per-kernel timing, hardware counters, and HUD metrics to identify bottlenecks.

Quick Start

Record a Metal System Trace for your app with gpu_trace run, then analyze the trace with gpu_trace analyze and review the generated output.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: metal-gpu-debug
Download link: https://github.com/trymirai/uzu/archive/main.zip#metal-gpu-debug

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.