agentleFS
Microsoft AzureKnown publisherAzure/ai-infrastructure-on-azure/skills/ai-infra/SKILL.md

ai-infra

Skill30 starsChanged 6 months agoMITView on GitHub

Azure HPC and AI infrastructure operations on CycleCloud Workspace for Slurm and AKS clusters with NVIDIA GB300/H100 GPUs. Use for: NCCL bandwidth tests, GPU validation, InfiniBand checks, thermal stress, rack topology (MNNVL), Azure Guest Health Reporting (aka GHR and used for reporting a node failure to Azure), draining and replacing bad nodes, outlier detection, and SKU performance baselines. Covers both Slurm and AKS execution paths.

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 1 is distinctive, and 10 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 10

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read the listed reference files: before answering.

    line 15
  2. Very specific:

    If the user invokes this skill with /ai-infra <request>, treat that as an explicit invocation and proceed with the same workflow.

    line 20
  3. Very specific:

    All reference files live in skills/ai-infra/references/.

    line 24
  4. Very specific:

    Read: sku_baselines.md, rack_topology.md, nccl_test.md, gpu_validation.md, thermal_test.md

    line 55
  5. Very specific:

    Read: nccl_diagnosis.md, sku_baselines.md, ib_validation.md, rack_topology.md (when topology correlation is needed)

    line 59
  6. Very specific:

    Read: nccl_test.md, nccl_diagnosis.md, ib_validation.md, outlier_detection.md (fleet-wide analysis)

    line 63
  7. Very specific:

    Read: gpu_validation.md, outlier_detection.md, sku_baselines.md

    line 67
  8. Very specific:

    Read: thermal_test.md, sku_baselines.md, gpu_validation.md (if thermal impact on GEMM is suspected)

    line 71
  9. Very specific:

    Read: ib_validation.md, nccl_diagnosis.md, rack_topology.md (when rack-locality matters)

    line 75
  10. Very specific:

    Read: outlier_detection.md, sku_baselines.md, plus gpu_validation.md and/or nccl_test.md depending on the metric source

    line 79
  11. Very specific:

    Use exact thresholds from sku_baselines.md: Do not invent warn/GHR cutoffs.

    line 92

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

AI Infrastructure on Azure

Operational knowledge for Azure HPC GPU clusters running on CycleCloud Workspace for Slurm or AKS, with NVIDIA GB300 (NDv6) and H100 (NDv5) GPUs.

This single skill is the entry point for all cluster validation, diagnosis, and remediation questions. It contains a routing index that points to detailed reference files in references/. Read the relevant reference files before giving commands — do not invent thresholds or procedures.

How to Use This Skill

  1. Classify the request using the Intent Map below.
  2. Read the listed reference files before answering.
  3. Use only commands and thresholds that appear in the reference files. If the user's question can't be answered from the references, say so and ask for clarification.
  4. Ask for missing inputs explicitly: SKU (Standard_ND128isr_GB300_v6 or Standard_ND96isr_H100_v5), nodelist, cluster name, orchestrator (Slurm or AKS), failing job context.
  5. Respond using the Response Contract at the bottom.

If the user invokes this skill with /ai-infra <request>, treat that as an explicit invocation and proceed with the same workflow.

Reference File Index

All reference files live in skills/ai-infra/references/.

Concepts and baselines (orchestrator-agnostic)

FileCovers
sku_baselines.mdExpected NCCL busbw, GPU GFlops, thermal limits, IB ports, rack sizes for GB300 and H100. Warn and GHR thresholds.
rack_topology.mdMNNVL domain discovery via nvidia-smi, ClusterUUID, expected rack sizes per SKU, FabricManager troubleshooting.
ib_validation.mdInfiniBand port state (operstate, ibstat), partition keys, error counters, link flap detection, soft fixes.
nccl_diagnosis.mdBisection algorithm, intra-rack vs inter-rack scoping, GPU vs network root cause, bandwidth pattern interpretation.
outlier_detection.mdStatistical methods (absolute threshold, z-score, MAD) for fleet-wide GPU and NCCL analysis.
ghr.mdAzure Guest Health Reporting (GHR) — used for reporting a node failure to Azure. Covers full impact category reference, IMDS/KVP data collection, REST API format, insight polling.

Test execution (currently Slurm; AKS counterparts to be added)

FileCovers
nccl_test.mdRun all_reduce_perf via the Slurm launcher. Per-SKU env vars (MNNVL/SHARP/GDR), output columns, quick vs full sweep. AKS path: see infrastructure_validations/aks/NCCL/.
gpu_validation.mdRun ubergemm GEMM benchmark via Slurm. Parse CSV output, identify underperforming GPUs.
thermal_test.mdRun dcgmproftester thermal stress via Slurm. Interpret pass/fail, throttle reasons, DCGMI levels. AKS path: see infrastructure_validations/aks/.

Remediation

FileCovers
node_drain_and_replace.mdSlurm drain/undrain/reboot, decision tree for drain vs reboot vs GHR, post-replacement validation.

Intent Map

New cluster bring-up / full validation

Read: sku_baselines.md, rack_topology.md, nccl_test.md, gpu_validation.md, thermal_test.md

Slow training or low multi-node throughput

Read: nccl_diagnosis.md, sku_baselines.md, ib_validation.md, rack_topology.md (when topology correlation is needed)

NCCL failures or low all-reduce bandwidth

Read: nccl_test.md, nccl_diagnosis.md, ib_validation.md, outlier_detection.md (fleet-wide analysis)

GPU underperformance on one or more nodes

Read: gpu_validation.md, outlier_detection.md, sku_baselines.md

Thermal throttling or suspected cooling issues

Read: thermal_test.md, sku_baselines.md, gpu_validation.md (if thermal impact on GEMM is suspected)

InfiniBand link / pkey / errors investigation

Read: ib_validation.md, nccl_diagnosis.md, rack_topology.md (when rack-locality matters)

Identify degraded nodes across fleet

Read: outlier_detection.md, sku_baselines.md, plus gpu_validation.md and/or nccl_test.md depending on the metric source

Node remediation / drain / replace / file GHR (Guest Health Report)

Triggers: "file a GHR", "guest health report", "report a bad node to Azure", "report a node failure to Azure", "open a hardware issue with Azure", "health impact category".

Read: node_drain_and_replace.md, ghr.md

Cross-Cutting Rules

These apply to every operational answer:

  1. Always collect node metadata before rebooting or draining. PhysicalHostName (Hyper-V KVP pool 3) and Resource ID (IMDS) are required for any GHR. If the node goes down, you lose access to them. See ghr.md for exact commands.
  2. Use exact thresholds from sku_baselines.md. Do not invent warn/GHR cutoffs.
  3. Never suppress test failures — non-zero #wrong in NCCL output, dcgmproftester non-zero exit, XID errors in dmesg are all hard signals.
  4. For NCCL bandwidth issues, scope before bisecting. Determine intra-rack vs inter-rack from per-rack tests before isolating individual nodes.
  5. GHR impact category must match the symptom. See the category reference table in ghr.md. Use HpcGenericFailure only when nothing else fits.
  6. Test scripts live in infrastructure_validations/ in this repo. The references describe how to run them and how to interpret output; the runnable artifacts are the scripts themselves.

Test Script Paths

  • infrastructure_validations/slurm/NCCL/ — NCCL all_reduce_perf launcher with per-SKU configs
  • infrastructure_validations/slurm/gpu_test/ — GPU GEMM benchmark (ubergemm)
  • infrastructure_validations/slurm/thermal_test/ — Thermal stress test (dcgmproftester)
  • infrastructure_validations/slurm/NHC/ — Node Health Check
  • infrastructure_validations/aks/NCCL/ — NCCL on AKS (via MPI Operator)
  • infrastructure_validations/aks/NHC/ — Node Health Check on AKS
  • infrastructure_validations/aks/fio/ — Storage I/O test on AKS

Response Contract

For operational responses, follow this structure:

  1. Selected references — list the reference files you used.
  2. Run plan — concise ordered steps.
  3. Exact commands — copied from the reference files.
  4. Pass/fail thresholds — from sku_baselines.md or the relevant test reference.
  5. Action decision — continue, isolate, drain, reboot, or file GHR with the specific impact category.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.