SkillAgentSearch skills...

cdf-orchestration-setup

Use when the user asks to deploy, install, reinstall, redeploy, upgrade, or connect to the CDF Orchestration Airflow controller. Owns the end-to-end deploy sequence and runs the cdf-orchestration-preflight audit first.

Install / Use

npx skills add NVIDIA/skills --skill cdf-orchestration-setup

Installs into whichever agent you are using.

About this skill
📄

SKILL.md

Installable skill definition

Quality Score

95/100

Category

Automation

Supported Platforms

Universal

Our assessment of cdf-orchestration-setup

cdf-orchestration-setup scores 95/100 on our quality scale, 325th of 2,908 Automation skills we index (top 12%).

Its SKILL.md is 17 KB long, well organised into 21 sections with 8 code examples: a thorough specification that gives an agent plenty to work with.

With 3,421 GitHub stars, it is one of the more widely adopted skills in the catalogue.

Substance
30/30
Structure
20/20
Description
15/15
Adoption
15/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated 29 days ago, so cdf-orchestration-setup is actively maintained.
  • It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

cdf-orchestration-setup compared with similar skills

All 4 of these similar skills score higher than cdf-orchestration-setup; compare them before choosing.

SkillScoreStarsUpdatedFormat
cdf-orchestration-setup (this skill)by NVIDIA953.4k29d agoSKILL.md
taste-skillby Leonxlnx100101.2k2d agoCLAUDE.md
Agent-Reachby Panniantong100101.1k2d agoCLAUDE.md
Scraplingby D4Vinci10089.2ktodayMCP Server
LocalAIby mudler10049.9ktodayMCP Server

Frequently asked questions

How do I install cdf-orchestration-setup?
Run npx skills add NVIDIA/skills --skill cdf-orchestration-setup. The install tabs above show the steps for each supported agent.
Which AI agents does cdf-orchestration-setup work with?
It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
Is cdf-orchestration-setup safe to use?
It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is cdf-orchestration-setup still maintained?
The repository was last updated 29 days ago, so cdf-orchestration-setup is actively maintained.

name: cdf-orchestration-setup description: Use when the user asks to deploy, install, reinstall, redeploy, upgrade, or connect to the CDF Orchestration Airflow controller. Owns the end-to-end deploy sequence and runs the cdf-orchestration-preflight audit first. Covers make setup, controller image builds, Helm installation, controller connection, port-forwarding, and post-install verification. Not for standalone prerequisite audits or remediation, K3s environments, authoring DAGs, or running workflow payloads. license: CC-BY-4.0 AND Apache-2.0 metadata: owner: NVIDIA service: cosmos-data-factory version: 1.1.3 reviewed: '2026-10-09' author: NVIDIA tags: - physical-ai - cdf-orchestration - kubernetes - airflow

CDF Orchestration Setup

Deploy and verify the Airflow controller after CDF orchestration preflight has established that the checkout and target environment are ready. This skill owns deployment and post-install operations; it does not repeat prerequisite discovery or remediation.

Safety boundary

Before any Helm install, image push, Airflow connection change, or remote mutation, summarize the exact changes and obtain user approval. Never print kubeconfig, NGC keys, Hugging Face tokens, AWS secrets, OSMO tokens, or Kubernetes Secret bodies.

Verify CDF preflight first

Before make setup, a controller image build, or any Helm installation or redeployment, invoke and follow $cdf-orchestration-preflight for the same checkout and target environment.

Require a fresh preflight report with install_readiness: READY. If installation readiness is BLOCKED or UNVERIFIED, stop and return to preflight to identify and resolve the prerequisite gap. Do not independently rerun prerequisite probes, including local-tool, Kubernetes, GPU, storage/NFS, registry, credential, OSMO, or workflow-mode checks.

A WARNING on a tool version means the installed version is outside the tested configuration. It does not block installation: tell the user which tool and version, note that it is untested, and continue once they acknowledge it.

run_readiness may still be blocked before the first installation solely because the controller is absent. That is expected and does not block deployment when install_readiness is READY.

If preflight identifies K3s, stop. This setup skill does not support or invoke K3s. Carry forward the preflight report's repository root, kubeconfig, namespace, storage class, service mode, and image repository and tag rather than rediscovering them.

Preserve the preflight invocation's image and --probe-pod arguments, including any exact --confirmed-push-repository confirmation, for fresh and post-install audits. Keep bootstrap's temporary probes through those checks; if one has expired, return to preflight to recreate it. Follow its cleanup and single-GPU capacity guidance after the post-install audit.

Select two independent axes

  1. Select controller placement: use an existing controller, or deploy Airflow into the current Kubernetes cluster.
  2. Select model-service placement separately: use external VLM/LLM/image-edit endpoints, or deploy those services in-cluster. Never infer one choice from the other.
  3. Prefer external endpoints on a one-GPU node. The controller and augmentation worker may still run in that node's cluster. Compute backend: Kubernetes, plus OSMO for whichever DAGs ship an OSMO manifest. A DAG is registered per platform only when its manifest exists, so determine OSMO support by looking, not by memory:
ls airflow/dags/workflows/*/configs/*osmo*manifest*.yaml

OSMO workflows accept external endpoints only. This is structural, not a policy preference: every OSMO manifest defines batch tasks but an empty components.endpoints, so there is nothing in-cluster for a service lifecycle to deploy. Any OSMO payload must therefore set external_services: true and supply every inference URL the pipeline needs (plus an external evaluator/arbitrator URL when a quality check is enabled). A payload with external_services: false is invalid against a deployed OSMO manifest even though the shared payload schema will happily parse it — never submit one, and never reuse a K8s internal-mode starter payload for an OSMO DAG. Internal/in-cluster model services are a Kubernetes-only option.

Read topologies.md before changing infrastructure.

Deploy a controller on the current cluster

When the user requests setup (not audit-only), choose the command sequence that matches the preflight report, present the exact substituted commands, and obtain explicit approval.

For the build/push path, the image location is AIRFLOW_IMAGE_REPOSITORY/AIRFLOW_IMAGE_TAG in make/common.mk, which preflight already verified. If that file still holds the placeholder repository, return to preflight; do not substitute a path. Name the configured image in the prompt:

"I will run the following commands in order:

  1. make setup — validates secrets from secrets.env and generates the Helm values for install
  2. make build sdg-controller — builds the Airflow image with DAGs and plugins baked in (docker/Dockerfile.airflow copies airflow/dags and airflow/plugins), pushes it to <AIRFLOW_IMAGE_REPOSITORY>:<AIRFLOW_IMAGE_TAG> from make/common.mk, and writes that repository/tag into deploy/values.yaml
  3. make install sdg-controller — installs/upgrades the Helm release using that image

Installation first uninstalls the release and deletes all cronjobs, jobs, statefulsets, deployments, replicasets, services, and pods in the target namespace, including unrelated workloads. Most workload deletions are forced. Uninstall can remove Helm-managed PVCs, including model-cache and log claims. Preserve needed data before reinstall.

Proceed?"

For an exact image verified by --prebuilt-controller-image:

"I will run the following commands in order:

  1. make setup — validates secrets from secrets.env and generates the Helm values for install
  2. Create a temporary copy of deploy/values.yaml and set its Airflow repository/tag to <VERIFIED_REPOSITORY>:<VERIFIED_TAG>; no image will be built or pushed
  3. make install sdg-controller VALUES_DEV=<TEMPORARY_VALUES> — installs the verified prebuilt image
  4. Run the required cluster and Airflow post-install checks, then remove the temporary values file

Installation first uninstalls the release and deletes all cronjobs, jobs, statefulsets, deployments, replicasets, services, and pods in the target namespace, including unrelated workloads. Most workload deletions are forced. Uninstall can remove Helm-managed PVCs, including model-cache and log claims. Preserve needed data before reinstall.

Proceed?"

DAGs and plugins are baked into the Airflow image, not synced from S3 at runtime — there is no dag-synchronizer and no make sync-dag target. On the build/push path, any time DAG/plugin/runtime-dependency source changes, or the target image tag has never been published, make build sdg-controller must run before make install sdg-controller. A selected prebuilt image is immutable input to this flow: never rebuild or push it. If its installed DAG set is empty or stale, stop and report that the supplied image is unsuitable. Confirm DAGs actually loaded via the Airflow API (GET /api/v2/dags, total_entries) rather than trusting Helm success alone.

There are exactly three controller install-related targets: make setup, make build sdg-controller, and make install sdg-controller. There is no bare make install.

When preflight verified an exact --prebuilt-controller-image, do not rebuild or push it. Run make setup, create a temporary copy of deploy/values.yaml with airflow.defaultAirflowRepository and airflow.defaultAirflowTag set to the verified reference, then run make install sdg-controller VALUES_DEV=/path/to/temporary-values.yaml. Command-line AIRFLOW_IMAGE_REPOSITORY/AIRFLOW_IMAGE_TAG are build inputs and do not override the image used by make install. Keep the temporary values file outside the repository and remove it after the post-install checks.

Always run make setup first on any deploy, install, or redeploy request — even if a previous run already generated the Helm values. Secrets rotate. make setup is quick, but it regenerates secrets.env and deploy/secret_values_dev.yaml from secrets.env: variables it does not manage are removed and the global.secrets.aws block is reset. If the user keeps custom values in either file, ask them to back it up first. Only skip it mid-session when the agent itself just ran it moments earlier.

The OSMO settings (OSMO_TOKEN, OSMO_URL, OSMO_POOL and the optional OSMO_HF_CACHE_SEED_DIR) are optional at deploy time and not something to prompt for here. OSMO manifests ship with the repository, so their presence says nothing about whether this user intends to run an OSMO workflow; secrets.env.example already documents the variables for those who do. A Kubernetes-only deployment never needs them. The workflow skills check them at trigger time, which is the only point where their absence actually matters — see deploy-controller.md for what make setup does with it.

Missing namespace — if kubectl get ns sdg-workflow returns NotFound, this is a normal first-install condition, not an error to diagnose. On the build path, build first if the tag has not been published; on the verified prebuilt path, proceed directly to the prebuilt install sequence after approval.

Read deploy-controller.md for the full make setup / make build sdg-controller / make install sdg-controller walkthrough and post-invocation cluster-state verification. Any missing prerequisite discovered during deployment returns to $cdf-orchestration-preflight; do not add an alternate preparation path here.

When internal model endpoints restart with a startup timeout, read model-startup-timeouts.md before proposing a manifest change.

Connect the SDG controller

Read controller-connection.md. Before the post-install checks, establish a reachable Airflow endpoint with a bounded probe; if the ClusterIP is unreachable, fall back to make port-forward and http://localhost:8080. Then obtain an authentication token via /auth/token, following Connect to the deployed controller, and use it for the checks below.

# 1. kubernetes_remote connection exists.
# It is injected as an env var, not stored in the metadata database, so
# GET /api/v2/connections/kubernetes_remote returns 404 on a healthy controller.
# Check the env var instead — a 404 here is not a failure.
kubectl exec -n sdg-workflow deploy/sdg-workflow-controller-scheduler -c scheduler -- \
  printenv AIRFLOW_CONN_KUBERNETES_REMOTE >/dev/null 2>&1 \
  && echo "kubernetes_remote: present" \
  || echo "kubernetes_remote: MISSING"

# 2. Required pools have slots. default_pool is Airflow's built-in pool (not chart-created); the
# rest are created from deploy/values.yaml's airflowPools.pools and consumed by each DAG manifest's
# deployment.profiles.*.pool. Pool names are deployment-specific — never hardcode them. Derive the
# set that must exist by reading the manifests for the workflows you intend to run, so this check
# stays correct on a cluster whose pools were renamed or whose hardware differs.
REQUIRED_POOLS=$(python3 - airflow/dags/workflows/*/configs/*_manifest.yaml <<'PY'
import sys, yaml
pools = set()
for path in sys.argv[1:]:
    try:
        m = yaml.safe_load(open(path)) or {}
    except Exception:
        continue
    for prof in (m.get("deployment", {}).get("profiles", {}) or {}).values():
        if prof.get("pool"):
            pools

Truncated for display — read the full file on GitHub.

Related Skills

View on GitHub
GitHub Stars3.4k
CategoryAutomation
Updated29d ago
Forks412

Languages

Python

Trust signals

100/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

No cautions