# cdf-orchestration-write-dag

cdf-orchestration-write-dag is a Claude Code skill that builds a Kubernetes DAG for a custom CDF pipeline from existing task groups. It supports combining workflow stages or checking a DAG against an external spec.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 4106 repo stars
- Author: NVIDIA
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/NVIDIA/skills/tree/HEAD/skills/cdf-orchestration-write-dag/SKILL.md
- Updated: 2026-10-23
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/cdf-orchestration-write-dag

## What it does

The skill creates the files for a new DAG: a Kubernetes manifest, a DAG builder, a payload model, and workflow-specific glue functions. Each selected task group needs callable functions, so the skill adapts them from a shipped DAG that uses the same group. Those functions handle pipeline-specific work such as preparing inputs, creating configuration, or validating outputs.

A custom pipeline can combine stages drawn from different workflows. The skill can also check whether model, container, and prompt choices align with an external specification. It builds on existing task groups rather than defining their internal logic, and the glue code should follow the closest matching workflow example.

## Requirements
- Works with: Kubernetes

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add NVIDIA/skills --skill cdf-orchestration-write-dag -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/cdf-orchestration-write-dag/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/cdf-orchestration-write-dag/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add NVIDIA/skills --skill cdf-orchestration-write-dag -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/cdf-orchestration-write-dag/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add NVIDIA/skills --skill cdf-orchestration-write-dag -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/cdf-orchestration-write-dag/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install NVIDIA/skills skills/cdf-orchestration-write-dag
```

2. **Manually: put the files in place**
- File: `.github/skills/cdf-orchestration-write-dag/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add NVIDIA/skills --skill cdf-orchestration-write-dag -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/NVIDIA/skills --path skills/cdf-orchestration-write-dag
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/cdf-orchestration-write-dag/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/NVIDIA/skills/tree/HEAD/skills/cdf-orchestration-write-dag/SKILL.md

## When to use it
- assemble a Kubernetes DAG from CDF stages
- combine task groups from separate workflows
- create a DAG manifest and payload model
- check DAG model and container choices against a specification

## Example prompts
- Create a Kubernetes DAG for a CDF pipeline that augments images and then validates the results.
- Build a separate DAG combining object detection with caption generation.
- Check whether this DAG's models and containers match `launchable.md`.

## Similar
- [kubernetes-orchestration](https://affpapa.org/en/nevibecode/skills/kubernetes-orchestration.md) — skill · 474 installs
- [ai-pipeline-orchestration](https://affpapa.org/en/nevibecode/skills/ai-pipeline-orchestration.md) — skill · 361 installs
- [airflow-dag-patterns](https://affpapa.org/en/nevibecode/skills/airflow-dag-patterns.md) — skill · 11000 installs
- [managed-airflow-dag-authoring](https://affpapa.org/en/nevibecode/skills/managed-airflow-dag-authoring.md) — skill · 4100 installs
- [managed-airflow-dag-troubleshooting](https://affpapa.org/en/nevibecode/skills/managed-airflow-dag-troubleshooting.md) — skill · 3500 installs
- [dag-factory](https://affpapa.org/en/nevibecode/skills/dag-factory.md) — skill · 438 installs

From the same set: [nvidia/skills](https://affpapa.org/en/nevibecode/by/nvidia/skills.md) — 312 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
