Agent skill
gpu-status
Check GPU allocation and utilization across all nodes. Use when asked about GPUs, VRAM, or model capacity.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/gpu-status
SKILL.md
GPU Status
Check GPU state across the cluster:
-
GPU Allocation per Node:
bashkubectl describe nodes | node -e ' let d="";process.stdin.on("data",c=>d+=c);process.stdin.on("end",()=>{ const nodes=d.split("Name:"); nodes.slice(1).forEach(n=>{ const name=n.split("\n")[0].trim(); const gpuCap=(n.match(/nvidia.com\/gpu:\s+(\d+)/g)||[]); console.log(name+":",gpuCap.join(", ")||"no GPUs"); }); })' -
Pods Using GPUs:
bashkubectl get pods -A -o json | node -e ' let d="";process.stdin.on("data",c=>d+=c);process.stdin.on("end",()=>{ const pods=JSON.parse(d).items; pods.forEach(p=>{ const gpu=p.spec.containers.some(c=>c.resources&&c.resources.limits&&c.resources.limits["nvidia.com/gpu"]); if(gpu) console.log(p.metadata.namespace+"/"+p.metadata.name,"- GPU:", p.spec.containers.map(c=>(c.resources?.limits?.["nvidia.com/gpu"]||0)).join(",")); }); })' -
Live nvidia-smi (if inference pods running):
bashkubectl exec -n inference deploy/sglang-reasoning -- nvidia-smi --query-gpu=name,memory.used,memory.total,utilization.gpu --format=csv,noheader 2>/dev/null || echo "Cannot exec into reasoning pod"
Report VRAM used vs available, which models are loaded, and remaining capacity.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?