validate-gpu-cluster

validate-gpu-cluster is a skill for Claude Code, Codex from NVIDIA/deepops. It costs 54 tokens per session (681 once invoked), scanned A, original, BSD-3-Clause.

A health-check workflow for GPU clusters running Slurm or Kubernetes, systems that schedule computing workloads across multiple machines. It produces a machine-readable JSON result and passes only when all checks succeed.

In plain words
What is it for?
Use it to check nodes, GPU availability, cluster subsystems, and optional CUDA or Slurm test jobs, then report the recorded failures or health counts.
Why use it?
It gives a consistent verdict after deployment or hardware and driver changes, while allowing read-only checks when running test jobs would be disruptive.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/validation/validate_slurm.py --json.

Good fit Use it to check nodes, GPU availability, cluster subsystems, and optional CUDA or Slurm test jobs, then report the recorded failures or health counts.

Compare 6 skills from other repositories ↓
About the project

DeepOps is a collection of automation tools for deploying and managing compute clusters that use NVIDIA GPUs with Kubernetes or Slurm. It supports environments ranging from full data-center clusters to individual machines needing GPU drivers, Docker, and NVIDIA container support.

NVIDIA/deepops · 1,479 stars · on GitHub

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/NVIDIA/deepops
agentmods
npx agentmods add skills/nvidia/deepops/validate-gpu-cluster

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for validate-gpu-cluster

README.md
[![agentmods](https://agentmods.dev/badge/skills/nvidia/deepops/validate-gpu-cluster/github.svg)](https://agentmods.dev/skills/nvidia/deepops/validate-gpu-cluster)
Your own site
<a href="https://agentmods.dev/skills/nvidia/deepops/validate-gpu-cluster"><img src="https://agentmods.dev/badge/skills/nvidia/deepops/validate-gpu-cluster/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for validate-gpu-cluster

Your own site · 80×15
<a href="https://agentmods.dev/skills/nvidia/deepops/validate-gpu-cluster"><img src="https://agentmods.dev/badge/skills/nvidia/deepops/validate-gpu-cluster.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 681 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00054 $0.00681
Opus 5.5 $0.00022 $0.00272
Sonnet 5.5 $0.00011 $0.00136
Haiku 4.5 $0.00005 $0.00068

Measured 1mo ago against content hash 838e129bb798, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

validate-gpu-cluster scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/validate-gpu-cluster/SKILL.md · 55 lines

How it starts

The opening of the file, as written. The whole thing — 55 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Validate a GPU cluster

Which validator

  • Slurm cluster → scripts/validation/validate_slurm.py (run on a cluster node)
  • Kubernetes cluster → scripts/validation/validate_k8s.py (run wherever kubectl reaches the cluster)
  • Not deployed yet / checking the provisioning environment → scripts/validation/deepops_doctor.py (run from the repository root)

All tools support --json and exit 0 only when every check passes. Full contract: docs/deepops/validation.md.

Procedure

  1. Run the matching validator with --json.

    python3 scripts/validation/validate_slurm.py --json
    python3 scripts/validation/validate_k8s.py --json --cuda-smoke
    

    Use --skip-gpu-job (Slurm) or omit --cuda-smoke (Kubernetes) when a strictly read-only check is required — for example on a busy production cluster where a test job would queue behind real work.

  2. Read the verdict from the JSON, not from ad-hoc commands:

    • ok: true — report healthy, include the key counts (nodes_total, gpus_configured/gpus_allocatable).
    • ok: false — report each entry in failures verbatim; they name the failing subsystem and the next diagnostic step.
    • Use the name-sorted nodes list to identify individual failures. Slurm entries report name, normalized state, and gpus_configured; Kubernetes entries report name, ready, and gpus_allocatable.
  3. When a GPU check fails, do not conclude "driver broken" from a bare nvidia-smi over SSH — on Slurm nodes GPUs are hidden outside jobs. Follow skills/diagnose-driver-install/ instead.

Interpreting common results

Signal Meaning
Slurm nodes_unavailable > 0 Node down/drained — scontrol show node <name> for the reason.
Slurm gpus_configured: 0 GRES not configured — check config/group_vars/slurm-cluster.yml GPU settings and rerun the Slurm playbook.
K8s gpus_allocatable: 0 GPU Operator stack not ready — kubectl get pods -A | grep -i nvidia; first-deploy driver builds can take 10+ minutes.
K8s smoke pod Pending No schedulable GPU or image pull failure — kubectl -n deepops-validate describe pod.
Direct nvidia-smi over SSH says "No devices were found" on a Slurm node Expected GPU-hide behavior, not a failure.

Read the full file on GitHub · 55 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 55 lines · 54 tokens per session scan A 838e129bb798

Subscribe to this mod's changes

validate-gpu-cluster is a skill published in the GitHub repository NVIDIA/deepops (1,479 stars, last pushed today), licensed BSD-3-Clause. It adds 54 tokens to every session and 681 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

nextflow

Builds, runs, and debugs Nextflow DSL2 pipelines and nf-core workflows. Use for Nextflow, nf-core, .nf files, nextflow.config, processes/channels/operators, samplesheets, nf-test, modules/subworkflows, container and executor configuration, HPC/SLURM or cloud deployment, and failed or resumed pipeline runs.

K-Dense-AI/scientific-agent-skills · 74 tokens

latchbio-integration

Builds, registers, debugs, and operates bioinformatics workflows on Latch using the Python SDK, CLI, Latch Data and Registry, Nextflow, Snakemake, programmatic execution, and Latch MCP. Use when authoring or deploying Latch workflows, configuring resources or interfaces, moving data, integrating Registry, or launching…

K-Dense-AI/scientific-agent-skills · 78 tokens

remote-compute-ssh

Evaluate and use SSH Remote Compute before choosing where to run GPU, high-memory, parallel, batch, model-inference, bioinformatics, or other long-running scientific work; supports short remote commands and asynchronous jobs with automatic harvest and analysis.

aipoch/open-science · 53 tokens

modal-compute

Run explicitly chosen research benchmark or replication jobs on Modal's serverless infrastructure. Use when a Feynman research workflow needs burst remote GPU compute and the Modal CLI is available.

companion-inc/feynman · 39 tokens

dnanexus-integration

DNAnexus cloud genomics platform. Build apps/applets, manage data (upload/download), dxpy Python SDK, run workflows, FASTQ/BAM/VCF, for genomics pipeline development and execution.

synthetic-sciences/openscience · 49 tokens

latchbio-integration

Latch platform for bioinformatics workflows. Build pipelines with Latch SDK, @workflow/@task decorators, deploy serverless workflows, LatchFile/LatchDir, Nextflow/Snakemake integration.

synthetic-sciences/openscience · 45 tokens