Skip to content

Non-interactive CUDA debugging and profiling workflows covering compute-sanitizer, cuda-gdb, nsys, ncu, and cuobjdump.

CCM score
51 of 100
skills.sh installs
261
GitHub stars
231
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers debugging with printf, compute-sanitizer, and cuda-gdb, plus profiling with nsys and ncu and binary inspection with cuobjdump
  • Includes references/debugging-tools.md, references/nsys-guide.md, references/ncu-guide.md, references/nvtx-patterns.md, and references/performance-traps.md for detailed workflows
  • Enforces a profile-first rule: baseline, profile, hypothesize, change one thing, then verify before further optimization
  • Designed for developers writing or tuning GPU kernels who need scriptable tooling rather than interactive debuggers

Install

$ npx -y skills add technillogue/ptx-isa-markdown --skill cuda -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

CUDA Programming Skill

Core Philosophy

Measure before guessing. GPU performance is deeply counterintuitive. Profile first, hypothesize second, change third, verify fourth.

Small, isolated changes. CUDA bugs compound. Make one change, test it, commit it. Resist the urge to "fix everything at once."

printf is your strongest tool. When debuggers fail, when tools produce inscrutable output, printf in device code reveals truth. Don't be embarrassed to use it extensively.

Sometimes, stare at the diff. Inscrutable segfaults are common. Tools often don't help. The human approach: minimize the diff, read it carefully, see the bug. This is legitimate and often faster than tooling.

Debugging Workflow

First Response to a Bug

Details

Repository
github.com/technillogue/ptx-isa-markdown
Categories
Debugging, Go
First seen
Jun 3, 2026

Questions

What does the cuda skill do for Claude Code?

The cuda skill supports CUDA kernel development, debugging, and performance optimization for Claude Code. It covers non-interactive profiling with nsys and ncu, debugging with cuda-gdb and compute-sanitizer, and binary inspection with cuobjdump.

How do I install the cuda skill?

Run npx -y skills add technillogue/ptx-isa-markdown --skill cuda -y in a project. Once installed, the agent can write, debug, and optimize CUDA code using these profiling and debugging workflows.

Where does the cuda skill stand in the Debugging category?

The cuda skill is listed in the Debugging category on Claude Marketplaces, alongside diagnosing-bugs, azure-messaging, safe-debug, systematic-debugging and sentry-cli. It focuses on GPU-specific tools like compute-sanitizer and cuda-gdb rather than general debugging.

Who is the cuda skill for?

It is for developers writing or tuning GPU kernels and parallel algorithms in CUDA. Its guidance centers on measuring performance first and then making small, isolated changes.

Similar to Cuda

More Debugging