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
gpu-and-resource-operationsDetect and select local NVIDIA GPUs, report their resource status, and explain the explicitly opt-in GPU keep-alive without hiding hardware or CUDA limitations.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this skill for local, read-only GPU inspection and selection before an
experiment. It covers NVIDIA visibility, memory-based availability, the
reserve_last policy, and the optional keep-alive's safety contract. It does
not launch training, reserve a device through a scheduler, or start a keeper
implicitly.
scripts/gpu_status.py; it only invokes
nvidia-smi queries and never allocates CUDA memory.nvidia-smi query as no usable GPU.
Never infer free devices from configuration, PyTorch importability, or a
missing status result.memory_used_mb < 1000 by default, not that a device is
exclusively reserved. Confirm ownership before launching work.reserve_last=true is a selection policy for a keep-alive slot, not a lock.
With one detected GPU it remains usable; with two or more, the highest listed
index is excluded from experiment candidates.python scripts/gpu_status.py --help if the interface is unfamiliar;
help must not probe hardware.python scripts/gpu_status.py (or add --json for machine-readable
output). Record the status reason when no GPU is reported.usable_gpus and then filter to free_gpus. Keep the
reserved device out of training when the default policy excludes it.gpu_id, name, memory,
utilization, and temperature before passing its ID to the experiment
launcher. Local launchers express this as CUDA_VISIBLE_DEVICES.nvidia-smi) and a
PyTorch build for which torch.cuda.is_available() is true. A Python
package alone is not proof of CUDA support.execution-and-monitoring. For loop launch and experiment lifecycle, route
to autonomous-experiments. For installing external skills, route to
skills-and-installation.A normal report should include:
detected: whether a complete local NVIDIA status was obtained;usable_gpus after reserve_last policy;free_gpus after the strict 1000-MB default threshold (or the stated
override);reason when detection/status is unavailable; andWhen detected is false, both usable and free lists must be empty. Do not
silently substitute Slurm queue occupancy or a remote host's status for local
NVIDIA measurements.
If a report is used to choose a launch mask, preserve the host GPU IDs and the selection policy in the handoff. Re-run the read-only probe immediately before a long launch because memory and utilization are live observations, not a reservation. Never claim that a keeper is active unless its explicit process and stop/cleanup outcome have been checked.