athola/cpu-gpu-performance
Establishes CPU/GPU baselines before resource-intensive operations. Use before builds, training runs, or any task that pins cores or GPUs for over a minute.
npx skills add https://github.com/athola/claude-night-market --skill cpu-gpu-performance
token-conservation).or GPUs for more than a minute.
cpu-gpu-performance:baselinecpu-gpu-performance:scopecpu-gpu-performance:instrumentcpu-gpu-performance:throttlecpu-gpu-performance:loguptimeps -eo pcpu,cmd | headnvidia-smi --query-gpu=utilization.gpu,memory.used --format=csvNote which hosts/GPUs are already busy.
or tag-based selective testing:
pytest -kcargo test <module>scheduling the full training/eval sweep.
perfintel vtunecargo flamegraphnvidia-smi dmonnsysnvprofso you have evidence when throttling or parallelizing.
nice, ionice, or Kubernetes/Slurm quotas to prevent starvation of shared nodes.pressure risks eviction; prefer checkpoint/restore over restarts.
Conclude by documenting the commands that were run and their resource cost
(duration, CPU%, GPU%), confirming whether they remained within the per-task
budget. If a full suite or long training run was necessary, justify why selective
or staged approaches were not feasible. Capture any follow-up tasks, such as
adding a new test marker or profiling documentation, to simplify future sessions.
pytest tests/test_orders.py -k test_refund instead of pytest -m slow"nvidia-smi dmon output to prove GPU idle time before scaling"uptime and ps baseline captured and recorded before anybuild, training run, or test suite starts
pytest -k, cargo test <module>); full-suite justification
documented if selective approach was not feasible
whether the run stayed within the per-task budget
to a todo or issue so they survive the session
Take athola/cpu-gpu-performance from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.