Profiles GPU kernels with Nsight Systems and Nsight Compute to identify bottleneck class and metrics that dictate the fix. Use when a GPU program is slower than expected.
The two tools split the job cleanly: Nsight Systems shows the whole timeline of where time goes across CPU, copies, and kernels, while Nsight Compute dissects one kernel's internals. The common mistake is opening Compute first and missing that the GPU sat idle 60 percent of the run waiting on the host. Profile top-down, from timeline to kernel, so the change you make is the one costing wall-clock time.
nsys profile -o out ./app and open the report. Scan GPU utilization across the timeline: gaps
between kernels mean the device is starved by host code, tiny launches, or a
synchronous cudaMemcpy. Close idle time before optimizing any kernel.nvtxRangePush/nvtxRangePop so the timeline reads
as named bands instead of an undifferentiated wall of kernels. This makes
the starved phase obvious at a glance.ncu --set full -k kernel_name -c 1 ./app to profile one invocation. Filter
by name and count because profiling every launch is slow, and the full set is
what lets the guided analysis rules fire.dram__throughput and sm__throughput give the SOL split,
l1tex__t_sector_hit_rate shows cache reuse, and low sectors-per-request
flags uncoalesced loads. Warp State Statistics names the top stall: Long
Scoreboard is waiting on memory, Barrier is __syncthreads contention..ncu-rep
files side by side and confirm both the targeted metric moved and
kernel duration dropped. A counter that improved without cutting
duration was not the bottleneck.Nsight tells you where time goes and why a kernel stalls; it does not write the
faster kernel. Turning uncoalesced loads into coalesced ones is
cuda-kernel-basics; turning bandwidth-bound into compute-bound is
gpu-memory-hierarchy. Overhead from ncu is high, so profile a reduced input,
and never draw conclusions from a debug build.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Not loaded · from ai-skills-commands
Claude Code won't load this skill
It ships in ai-skills-commands at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
npx claudepluginhub amey-thakur/ai-skills --plugin ai-skills-commands1,000 skills in this plugin
/ab-test-designDesign product experiments with real hypotheses, honest sample-size math, guardrails, and peeking discipline. Use when validating a change by experiment or reviewing a test before believing its result./accessibility-reviewAudit a UI for real accessibility, keyboard-first, with concrete failures and fixes rather than checkbox compliance. Use when reviewing or building any user interface./accessibility-specialist-roleOperate as an accessibility specialist who audits against WCAG, trains teams to stop shipping the same defects, and owns the compliance sign-off. Use when a product needs to be usable with a keyboard, a screen reader, or magnification and someone must certify it before launch.Other plugins' skills for the same job