executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
cpu-gpu-performanceEstablishes CPU/GPU baselines before resource-intensive operations. Use before builds, training runs, or any task that pins cores or GPUs for over a minute.
Independent GitHub snapshot · Automated classification · Original documentation governs
name: cpu-gpu-performance description: 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. alwaysApply: false progressive_loading: true dependencies: hub:
token-conservation).cpu-gpu-performance:baselinecpu-gpu-performance:scopecpu-gpu-performance:instrumentcpu-gpu-performance:throttlecpu-gpu-performance:logCapture current utilization:
uptimeps -eo pcpu,cmd | headnvidia-smi --query-gpu=utilization.gpu,memory.used --format=csvNote which hosts/GPUs are already busy.
Record any CI/cluster budgets (time quotas, GPU hours) before launching work.
Set a per-task CPU minute / GPU minute budget that respects those limits.
pytest -kcargo test <module>perfintel vtunecargo flamegraphnvidia-smi dmonnsysnvprofnice, ionice, or Kubernetes/Slurm quotas to prevent starvation of shared nodes.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 any
build, training run, or test suite startspytest -k, cargo test <module>); full-suite justification
documented if selective approach was not feasible