次のような場合に使用: ローカルMicroK8sまたはAzure AKS(クラウド上のKubernetes管理サービス)で、NVIDIA物理AI基盤を構築・拡張・検証・強化する必要がある場合。具体的には、合成データ生成(実際のデータに代わる人工データの作成)ワークフロー向けのKubernetesクラスター、推論エンドポイント配置、OSMO配置、ワークロード提出準備、インフラの障害復旧などが対象です。 **トリガーキーワード:** 物理AI基盤、耐障害性スケーリング、SDG(合成データ生成)基盤、MicroK8s、Azure AKS、NVCF配置、NIM Operator、OSMO配置、ワークフロースケーリング **トリガーしない場合:** OSMOのログ要約またはワークロードのみの操作。ただし、基盤のセットアップ、拡張、検証、または障害復旧が別途要求されている場合を除く。
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.
Physical AI インフラスタックのカノニカルスキルです。 クラスター、推論(inference)、OSMO、ワークロードの各ステージを組み合わせて 再現性のある Physical AI SDG 環境を構築し、その環境の可観測性と回復性を維持します。
${REPO_ROOT}/.env に保存すること。
ストレージ・データベース・Redis・エンドポイント名などのクラスター由来の値は、
Terraform のアウトプットまたはプラットフォームクエリから取得し、.env には含めない。secretKeyRef・ランタイム限定のシークレット注入を優先する。
共有前にトランスクリプトの生エクスポートを scripts/scan_transcript_secrets.py でスキャンすること。git rev-parse --show-toplevel で導出する。スタックに単一のカノニカルトリガーを持たせるため、各コンポーネントはこのスキル内に存在します。 選択したターゲットがそのスライスを必要とする場合にのみ、対応するコンポーネントリファレンスをロードしてください。
| 関心領域 | ロード対象 | アセット |
|---|---|---|
| ステージマトリクスおよび旧ドライバーノート | components/driver/reference.md |
なし |
| MicroK8s クラスター | components/cluster-microk8s/reference.md |
components/cluster-microk8s/scripts/、components/cluster-microk8s/runtimeclass-nvidia-runc.yaml |
| Azure AKS クラスター | components/cluster-azure/reference.md |
components/cluster-azure/scripts/、components/cluster-azure/terraform/ |
| NIM Operator 推論 | components/inference-nim-operator/reference.md |
components/inference-nim-operator/scripts/、components/inference-nim-operator/nims/ |
| NVCF 推論 | components/inference-nvcf/reference.md |
components/inference-nvcf/scripts/ |
| Azure AI Foundry 推論 | components/inference-azure/reference.md |
components/inference-azure/scripts/ |
| MicroK8s OSMO | components/osmo-k8s/reference.md |
components/osmo-k8s/scripts/、アップストリーム OSMO デプロイスクリプト |
| Azure OSMO | components/osmo-azure/reference.md |
components/osmo-azure/scripts/、アップストリーム OSMO デプロイスクリプトおよび Azure TF アウトプット |
| Azure アクセス設定 | components/azure-access/reference.md |
なし |
| OSMO CLI およびワークフロー操作 | components/osmo-cli/reference.md |
components/osmo-cli/scripts/、components/osmo-cli/references/、components/osmo-cli/agents/、components/osmo-cli/tests/ |
| OpenClaw Azure デバイスログイン | components/openclaw-azure-login/reference.md |
なし |
OSMO CLI コンポーネントは、コマンドおよびワークフロー操作の範囲が広いため、 第2レベルのサポートファイルを持ちます。以下のファイルは、記載されたケースにのみ直接ロードしてください。
| ファイル | 読み込むタイミング |
|---|---|
components/osmo-cli/agents/workflow-expert.md |
ワークフロー生成またはワークフロー失敗のサブエージェントを起動する場合。 |
components/osmo-cli/agents/logs-reader.md |
OSMO ワークフロー失敗のログ要約サブエージェントを起動する場合。 |
components/osmo-cli/references/cli-commands.md |
OSMO CLI の正確なフラグ・ペイロード・コマンド構文が必要な場合。 |
components/osmo-cli/references/workflow-spec.md |
ワークフロー YAML スキーマ・クレデンシャル・アウトプット・プロバイダーフィールドが必要な場合。 |
components/osmo-cli/references/workflow-patterns.md |
マルチタスク・データ依存・Jinja・シリアル・パラレルのワークフロー設計が必要な場合。 |
components/osmo-cli/references/advanced-patterns.md |
チェックポイント・リトライ/終了動作・ノード除外が必要な場合。 |
components/osmo-cli/tests/orchestrator-runtime-failure.md |
OSMO オーケストレーションレビューパターンの検証またはデバッグを行う場合。 |
各ステージにつき選択肢を1つだけ選ぶこと。ステージ2はステージ1の後に続きます。
MicroK8s または AzureMicroK8s OSMO、Azure の場合は Azure OSMONIM Operator・NVCF・Azure AI Foundry・または Noneプロビジョニング前に無効な組み合わせを拒否すること:
| クラスター | NIM Operator | NVCF | Azure AI Foundry |
|---|---|---|---|
| MicroK8s | 可 | 可 | 不可(Foundry は Azure ID が必要) |
| Azure | 可 | 可 | 可 |
ブラウザを開けない OpenClaw またはチャット専用環境の場合は、
Azure 前提条件の前に components/openclaw-azure-login/reference.md を読み込むこと。
Azure ターゲットの場合は、Azure コンポーネントのプリフライト前に
components/azure-access/reference.md を読み込むこと。
scripts/preflight.sh を実行する。結果から実装計画を構築し、プリフライトがレッドの場合は停止する。preflight_credentials.sh・解決済みの --set 値を使った
pre_submit_guard.py・空でないモデルキャッシュプレフィックス・
ワークフロー名前空間のエンドポイントスモークチェックも含む。components/osmo-cli/reference.md からイベントとログを確認する。
確認せずに再投入しないこと。コストのかかるエンドポイントの過剰デプロイを避けること。
*.osmo-nims.svc.cluster.local・api.nvcf.nvidia.com/*・
*.inference.ai.azure.com・*.cognitiveservices.azure.comcomponents/inference-nim-operator/nims/ 配下のディレクトリと一致する必要がある。components/inference-azure/scripts/install.sh を通じて
デプロイされている必要がある。各ステージにはコンポーネントリファレンス内に専用の「検証」セクションがあります。 以下のゲートは必須です:
| ステージ | ゲート |
|---|---|
| Kubernetes | クラスター API に到達可能、ノードが Ready 状態、GPU パスでは GPU キャパシティが通知済み、CPU+NVCF パスでは runtimeclass/nvidia が runc にマッピング済み。 |
| 推論 | ワークロードが参照するすべてのエンドポイントに到達可能。NIM のレディネスは /v1/health/ready を使用。NVCF と Foundry はタスク固有の認証済みチェックが別途必要。 |
| OSMO | OSMO Pod が Ready 状態、プールが ONLINE、ポートフォワードのウォッチドッグが稼働中、ストレージクレデンシャルが設定済み、verify-hello ワークフローが COMPLETED。 |
| ワークロード | 選択したワークロードの投入前ガードが投入前にパスすること。osmo workflow query <id> が COMPLETED を報告し、すべてのタスクがグリーンであること。失敗した終端状態ではリトライ前にイベントとログの確認が必要。 |
terraform apply 前に選択した VM ファミリーの CPU および GPU クォータを確認する。skills/physical-ai-video-data-augmentation/SKILL.mdCanonical skill for the Physical AI infrastructure stack. Use it to compose cluster, inference, OSMO, and workload stages into a reproducible Physical AI SDG environment, then keep the environment observable and recoverable.
${REPO_ROOT}/.env. Cluster-derived values such as storage,
database, Redis, and endpoint names come from Terraform outputs or platform
queries, not .env.secretKeyRef, and
runtime-only secret injection. Scan raw transcript exports with
scripts/scan_transcript_secrets.py before sharing.git rev-parse --show-toplevel.Each component lives inside this skill so the stack has one canonical trigger. Load the component reference only when the selected target needs that slice.
| Concern | Load | Assets |
|---|---|---|
| Stage matrix and old driver notes | components/driver/reference.md |
None |
| MicroK8s cluster | components/cluster-microk8s/reference.md |
components/cluster-microk8s/scripts/, components/cluster-microk8s/runtimeclass-nvidia-runc.yaml |
| Azure AKS cluster | components/cluster-azure/reference.md |
components/cluster-azure/scripts/, components/cluster-azure/terraform/ |
| NIM Operator inference | components/inference-nim-operator/reference.md |
components/inference-nim-operator/scripts/, components/inference-nim-operator/nims/ |
| NVCF inference | components/inference-nvcf/reference.md |
components/inference-nvcf/scripts/ |
| Azure AI Foundry inference | components/inference-azure/reference.md |
components/inference-azure/scripts/ |
| MicroK8s OSMO | components/osmo-k8s/reference.md |
components/osmo-k8s/scripts/, upstream OSMO deploy scripts |
| Azure OSMO | components/osmo-azure/reference.md |
components/osmo-azure/scripts/, upstream OSMO deploy scripts plus Azure TF outputs |
| Azure access setup | components/azure-access/reference.md |
None |
| OSMO CLI and workflow operations | components/osmo-cli/reference.md |
components/osmo-cli/scripts/, components/osmo-cli/references/, components/osmo-cli/agents/, components/osmo-cli/tests/ |
| OpenClaw Azure device login | components/openclaw-azure-login/reference.md |
None |
The OSMO CLI component has second-level support files because its command and workflow surface is large. Load these directly only for the stated case.
| File | Read when |
|---|---|
components/osmo-cli/agents/workflow-expert.md |
Spawning a workflow-generation or workflow-failure subagent. |
components/osmo-cli/agents/logs-reader.md |
Spawning a log summarization subagent for OSMO workflow failures. |
components/osmo-cli/references/cli-commands.md |
Exact OSMO CLI flags, payloads, or command syntax are needed. |
components/osmo-cli/references/workflow-spec.md |
Workflow YAML schema, credentials, outputs, or provider fields are needed. |
components/osmo-cli/references/workflow-patterns.md |
Multi-task, data dependency, Jinja, serial, or parallel workflow design is needed. |
components/osmo-cli/references/advanced-patterns.md |
Checkpointing, retry/exit behavior, or node exclusion is needed. |
components/osmo-cli/tests/orchestrator-runtime-failure.md |
Validating or debugging the OSMO orchestration review pattern. |
Pick exactly one option per stage. Stage 2 follows stage 1.
MicroK8s or AzureMicroK8s OSMO when Kubernetes is MicroK8s, Azure OSMO when
Kubernetes is AzureNIM Operator, NVCF, Azure AI Foundry, or NoneReject invalid combinations before provisioning:
| Cluster | NIM Operator | NVCF | Azure AI Foundry |
|---|---|---|---|
| MicroK8s | yes | yes | no, Foundry requires Azure identities |
| Azure | yes | yes | yes |
For OpenClaw or any chat-only environment that cannot open a browser, read
components/openclaw-azure-login/reference.md before Azure prerequisites.
For any Azure target, read components/azure-access/reference.md before Azure
component preflights.
scripts/preflight.sh for every selected infrastructure component plus
any OSMO CLI/workload preflight before provisioning; build the implementation
plan from the results and stop on red preflight.preflight_credentials.sh, pre_submit_guard.py with resolved --set
values, non-empty model-cache prefixes, and workflow-namespace endpoint
smoke checks.components/osmo-cli/reference.md; do not resubmit blindly.Avoid over-deploying expensive endpoints.
*.osmo-nims.svc.cluster.local, api.nvcf.nvidia.com/*,
*.inference.ai.azure.com, or *.cognitiveservices.azure.com.components/inference-nim-operator/nims/.components/inference-azure/scripts/install.sh.Each stage has its own Verify section in the component reference. These gates are mandatory:
| Stage | Gate |
|---|---|
| Kubernetes | Cluster API reachable, nodes Ready, GPU capacity advertised for GPU paths, and CPU+NVCF paths have runtimeclass/nvidia mapped to runc. |
| Inference | Every endpoint referenced by the workload is reachable. NIM readiness uses /v1/health/ready; NVCF and Foundry still need task-specific authenticated checks. |
| OSMO | OSMO pods Ready, pool ONLINE, port-forward watchdogs alive, storage credentials configured, and verify-hello workflow COMPLETED. |
| Workload | Selected workload pre-submit guards pass before submit. osmo workflow query <id> reports COMPLETED and every task is green. Failed terminal states require events and logs before retry. |
terraform apply.skills/physical-ai-video-data-augmentation/SKILL.md.skills/physical-ai-defect-image-generation/SKILL.md.skills/carline-adaptation/SKILL.md.skills/INDEX.md.Latest static review: 2026-05-26, description keywords match the expected routes above.
原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。