# cdf-image-attribute-augmentation

cdf-image-attribute-augmentation — a skill that automates an image-attribute augmentation pipeline: prepares person-crop data, synthesizes clothing variants via Cosmos, retrieves attributes, and generates annotated datasets on Kubernetes.

- 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-image-attribute-augmentation/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-image-attribute-augmentation

## What it does

The skill launches the end-to-end DAG `image_attribute_augmentation_dag_k8s` on Kubernetes. You provide a folder of source crop images (structured by person ID → files), and the skill constructs a payload, verifies Airflow controller and service readiness, then triggers the run via API. The DAG chains preprocessing, clothing synthesis in Cosmos, post-processing, attribute extraction for persons and events, and result storage to S3.

You choose between external endpoints (VLM, LLM, image-edit services — provide their HTTPS URLs) or internal mode, where the DAG deploys services within the cluster. Input and output S3 paths are required; optional parameters include the number of person folders to process, clothing variants per person, and an attribute distribution file. The skill requires cluster credentials (you supply the config file path) and validates the Kubernetes manifest before triggering.

## Requirements
- Works with: Kubernetes

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add NVIDIA/skills --skill cdf-image-attribute-augmentation -a claude-code
```

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

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add NVIDIA/skills --skill cdf-image-attribute-augmentation -a codex
```

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

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add NVIDIA/skills --skill cdf-image-attribute-augmentation -a cursor
```

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

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install NVIDIA/skills skills/cdf-image-attribute-augmentation
```

2. **Manually: put the files in place**
- File: `.github/skills/cdf-image-attribute-augmentation/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add NVIDIA/skills --skill cdf-image-attribute-augmentation -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/NVIDIA/skills --path skills/cdf-image-attribute-augmentation
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/cdf-image-attribute-augmentation/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-image-attribute-augmentation/SKILL.md

## When to use it
- Synthesize clothing variants for a person re-identification dataset
- Generate annotated crop images with extracted attributes stored in S3
- Run an augmentation pipeline without manual Airflow setup

## Example prompts
- Run augmentation on the folder `s3://bucket/people/` with 100 crop images, save results to `s3://bucket/augmented/`
- Trigger the DAG with 5 clothing variants per person and a custom attribute distribution from `clothing-dist.yaml`
- Check the status of a running pipeline and fetch the link to the annotated output dataset

## Similar
- [gke-custom-golden-image-discovery](https://affpapa.org/en/nevibecode/skills/gke-custom-golden-image-discovery.md) — skill · 3500 installs
- [gpu-kubernetes-operations](https://affpapa.org/en/nevibecode/skills/gpu-kubernetes-operations.md) — skill · 365 installs
- [physical-ai-infrastructure-setup-and-resilient-scaling](https://affpapa.org/en/nevibecode/skills/physical-ai-infrastructure-setup-and-resilient-scaling.md) — skill · ★ 8052 repo stars
- [dynamo-router-starter](https://affpapa.org/en/nevibecode/skills/dynamo-router-starter.md) — skill · ★ 8052 repo stars
- [debug-openshell-cluster](https://affpapa.org/en/nevibecode/skills/debug-openshell-cluster.md) — skill · 739 installs
- [mlops-engineer](https://affpapa.org/en/nevibecode/agents/mlops-engineer.md) — subagent · 1009 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
