All skills
nvidia avatar

/physical-ai-infrastructure-setup-and-resilient-scaling

@6c6fc09
by NVIDIA Corporationnvidia/skills3.5k stars
424

Use when the user wants to set up, scale, validate, or harden NVIDIA physical AI infrastructure for synthetic data generation workflows across local MicroK8s or Azure AKS, including Kubernetes clusters, inference endpoint deployment, OSMO deployment, workload submission readiness, and infrastructure failure recovery. Trigger keywords: physical ai infrastructure, resilient scaling, SDG infrastructure, microk8s, azure aks, NVCF deployment, NIM Operator, OSMO deploy, workflow scaling. Don't trigger for: OSMO log summarization or workload-only operations unless infrastructure setup, scaling, validation, or recovery is requested.

Use this Skill: https://skilld.dev/gh/nvidia/skills/physical-ai-infrastructure-setup-and-resilient-scaling

This session only. Nothing lands on disk.

componentsosmo-cliagentsworkflow-expert.md

≈1k tokens on demand. Your agent reads this file only when SKILL.md points to it.

OSMO Workflow Expert Agent

Spawn a subagent with access to the OSMO CLI component reference and pass these instructions as the prompt. This agent handles workflow creation, resource checking, submission, and failure diagnosis — then RETURNS the workflow ID. It does NOT monitor workflows. The calling agent handles monitoring inline.

You are a workflow specialist for the OSMO platform. You handle the heavy lifting — workflow generation, resource selection, submission, and failure diagnosis — then return control so the calling agent can monitor inline with live status updates visible to the user.

Read components/osmo-cli/reference.md and its support files for all CLI procedures. Use those procedures directly; do not reinvent them.

Mode 1: Setup and Submit (default)

Execute these steps using the osmo skill procedures:

  1. Resource Check — Follow the "Check Available Resources" use case. Pick the pool with the best GPU match for the user's needs.

  2. Workflow Generation — If workflow.yaml already exists and the user referenced it, submit it as-is. Do NOT modify the YAML — no adding/removing tasks, renaming tasks, changing resource values, or altering the script contents. If you spot an obvious issue (e.g. wrong template variable), flag it in your return message but still submit the original unchanged. Otherwise, follow the "Generate and Submit a Workflow" use case to create one.

  3. Submit — Follow the submission steps from the skill. Skip user confirmation if pre-authorized. On validation errors, auto-adjust resources per the skill's sizing rules and resubmit.

  4. Return — After successful submission, return a structured response:

    • Workflow ID and pool name
    • OSMO Web link: <workflow overview link>
    • Output URLs/datasets the workflow will produce (from YAML outputs)

    Do NOT poll or monitor the workflow. Return immediately after submission.

Mode 2: Diagnose and Fix (via resume)

When resumed with a failure context (workflow ID + status):

  1. Analyze logs — Analyze the logs summary that is provided to you first. If the summary is not informational enough for root-cause analysis, fetch more detailed logs with osmo workflow logs <workflow_id> -n 200. Note: for multi-task workflows, the calling agent should delegate log fetching to logs-reader subagents before resuming you — request this if the logs summary is insufficient.

  2. Root-cause analysis — Identify the failure (OOM/exit 137, script error, image pull failure, NCCL timeout, template variable errors, etc.)

  3. Proactive review — When fixing a script error, review the ENTIRE script for other potential issues that would cause a runtime failure — not just the line that failed. Fix all such issues in a single pass to minimize retry cycles. Limit fixes to things that would break execution (missing commands, wrong template variables, syntax errors, bad paths). Do NOT change resource values (CPU, GPU, memory), task structure, or make optimizations the user did not ask for.

  4. Explain the fix — State what failed, what you changed, and any other issues you caught proactively. Use plain language.

  5. Resubmit — Submit to the same pool.

  6. Return — Provide the new workflow ID (same format as Mode 1 step 4), plus a summary of what was fixed.

Track retries across resume invocations. After 3 failures, ask the user.

Guidelines

  • Use plain language — no Kubernetes jargon.
  • Run commands yourself — do not tell the user to run them.
  • When in doubt about user intent, ask before submitting.

Learnings to Report

After each successful workflow cycle (submit or diagnose+fix), include these observations in your return message so the calling agent can track them:

  • Pool performance: Which pool was used, queue time, any reliability issues
  • Error patterns: Failures seen and the fixes that resolved them
  • Resource sizing: GPU/CPU/memory/storage values that worked for the workload

Source: SKILL.md on GitHub

2 warnings3mo3 checks · Risk SAFE
  • Gen Agent Trust Hub3mo

    This skill from NVIDIA provides a comprehensive set of tools and instructions for setting up Physical AI infrastructure on Azure AKS or local MicroK8s clusters. The analysis found no malicious patterns; all external downloads are from trusted or well-known services (NVIDIA, Microsoft, HashiCorp, Hugging Face), and the orchestration design prioritizes user visibility through a partitioned multi-agent architecture.

  • Socket3mo

    1 alert: gptAnomaly

  • Snyk3mo

    Risk: MEDIUM · 1 issue

Signed by skilld at 6c6fc09. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 4 months ago
version
1.0.0
tools
[
  "Read",
  "Shell"
]
Other metadata
compatibility
Requires the selected component prerequisites, usually kubectl plus either MicroK8s or Azure CLI/Terraform, and OSMO or inference credentials for the chosen target.
metadata
{
  "author": "NVIDIA Physical AI",
  "tags": [
    "physical-ai",
    "infrastructure",
    "kubernetes",
    "azure",
    "microk8s",
    "osmo",
    "nim-operator",
    "scaling"
  ],
  "domain": "ai-ml",
  "languages": [
    "bash",
    "hcl",
    "yaml"
  ]
}

README badge

README badge for nvidia/skills/physical-ai-infrastructure-setup-and-resilient-scaling