SkillAgentSearch skills...

cdf-event-video-generation

Run the CDF Orchestration Event Video Generation DAG on Kubernetes or OSMO - image-to-video anomaly generation, auto-labeling, and anomaly dataset generation.

Install / Use

npx skills add NVIDIA/skills --skill cdf-event-video-generation

Installs into whichever agent you are using.

About this skill
📄

SKILL.md

Installable skill definition

Quality Score

92/100

Category

Operations

Supported Platforms

Universal

Our assessment of cdf-event-video-generation

cdf-event-video-generation scores 92/100 on our quality scale, 218th of 759 Operations skills we index (top 29%).

Its SKILL.md is 29 KB long, well organised into 10 sections with 1 code example: 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
17/20
Description
15/15
Adoption
15/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated 29 days ago, so cdf-event-video-generation 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.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.

Automated pattern scan on 2026-10-23. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.

cdf-event-video-generation compared with similar skills

All 4 of these similar skills score higher than cdf-event-video-generation; compare them before choosing.

SkillScoreStarsUpdatedFormat
cdf-event-video-generation (this skill)by NVIDIA923.4k29d agoSKILL.md
taste-skillby Leonxlnx100101.2k2d agoCLAUDE.md
Agent-Reachby Panniantong100101.1k2d agoCLAUDE.md
headroomby headroomlabs-ai10077.6ktodayCLAUDE.md
Scraplingby D4Vinci10089.2ktodayMCP Server

Frequently asked questions

How do I install cdf-event-video-generation?
Run npx skills add NVIDIA/skills --skill cdf-event-video-generation. The install tabs above show the steps for each supported agent.
Which AI agents does cdf-event-video-generation 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-event-video-generation safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. 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-event-video-generation still maintained?
The repository was last updated 29 days ago, so cdf-event-video-generation is actively maintained.

name: cdf-event-video-generation description: Run the CDF Orchestration Event Video Generation DAG on Kubernetes or OSMO - image-to-video anomaly generation, auto-labeling, and anomaly dataset generation. Select for requests about event video generation, anomaly video generation, image-to-video synthesis, Cosmos3 image2video, anomaly dataset creation, safety/surveillance SDG, or generating person-falling, person-climbing, person-running, fighting, smoking/vaping, fire/smoke, or shoplifting video clips from a seed image. Covers both event_video_generation_dag_k8s and the external-endpoints-only event_video_generation_dag_osmo. Runs environment setup first when controller readiness is unknown. Not for person-crop clothing/attribute augmentation (that is cdf-image-attribute-augmentation) and not for video style transfer. version: "1.0.2" license: CC-BY-4.0 AND Apache-2.0 metadata: owner: NVIDIA service: cosmos-data-factory version: "1.0.2" reviewed: "2026-10-09" author: NVIDIA tags: - physical-ai - cdf-orchestration - event-video-generation - cosmos

CDF Orchestration — Event Video Generation

Run the Event Video Generation DAG end to end: seed-image input preparation, Cosmos3 image-to-video anomaly augmentation, auto-labeling (detection and tracking, captioning, anomaly visual QA, person-attribute visual QA, person attribute search), anomaly dataset generation, and result retrieval.

Component details

This workflow skill and its references are the primary guide for configuring and running the workflow. Consult a component skill only when the requested configuration or diagnosis requires component-specific details not covered here. Routine payload authoring with documented fields, preflight, triggering, monitoring, and result retrieval do not require component skill access.

When additional component guidance is needed, consult that component's documentation, and do not invent keys or values. The links below are pinned to the latest main commit of each component repository as of 2026-10-20; a component skill installed separately may describe a different version.

| Component | Covers | Documentation at that commit | |---|---|---| | cdf-augmentation | Image-to-video configuration, generation prompts, model parameters, evaluators, and augmentation errors | cdf-augmentation skill | | cdf-auto-labeling | Detection/tracking, captioning, visual QA, question banks, attribute-search configuration, and auto-labeling errors | cdf-auto-labeling skill |

Use only documentation at these commits; do not substitute a moving branch or another version.

If the repository is inaccessible, continue tasks supported by this workflow's guidance. Identify the unavailable reference and the unresolved component-specific detail only when that missing guidance prevents completing the requested work; do not invent component settings or treat component access as a prerequisite for ordinary workflow use.

Apply component guidance through this workflow's supported payload fields and DAG constraints. Component configuration and the Airflow trigger payload are different contracts; component capabilities do not automatically become supported DAG options. Keep execution through this workflow's existing procedure. If the pinned guidance differs from the deployed component version or DAG integration, report the mismatch before proposing the affected settings.

DAG selection

The workflow builds one DAG per compute platform from airflow/dags/workflows/event_video_generation_dag/:

| Platform | DAG ID | Manifest | |---|---|---| | Kubernetes | event_video_generation_dag_k8s | event_video_generation_k8s_manifest.yaml | | OSMO | event_video_generation_dag_osmo | event_video_generation_osmo_manifest.yaml |

Both manifests are checked in, so both DAGs are registered. A DAG is registered only if its manifest exists; a missing manifest means the DAG is absent from Airflow rather than broken. List the DAGs Airflow actually loaded before triggering, and never name a DAG ID that is not in that list.

event_video_generation_dag_osmo supports external inference endpoints only. Its manifest defines OSMO batch tasks but no VLM/image-to-video/Cosmos-Evaluator service components, so an internal-services payload cannot deploy what it needs:

  • Always set top-level external_services: true (and cosmos.external_services to true, or omit so it inherits the top-level value). Any OSMO payload with external_services: false is invalid for the deployed manifest even though the shared payload schema can parse it — never submit one.
  • Supply cosmos.vlm_service_url, cosmos.llm_service_url, and cosmos.image2video_service_url.
  • Leave service_lifecycle.vlm_service.enabled / service_lifecycle.image2video_service.enabled as false, or omit service_lifecycle entirely.
  • The OSMO DAG has no managed Cosmos Evaluator either — if any quality check stays enabled, supply an external Arbitrator URL via cosmos.cosmos_evaluator_service_url reachable from OSMO tasks, or explicitly disable both checks. Never reuse a K8s-DAG internal-mode starter payload for the OSMO DAG.
  • Pools differ from the K8s DAG. Derive them from the OSMO manifest rather than assuming: in the currently checked-in event_video_generation_osmo_manifest.yaml the OSMO tasks (detection_and_tracking, captioning, visual_qa, augmentation) run on the osmo_rtx6000 profile → pool osmo_rtx6000_1, while event_and_person_attribute_search stays on k8s_cpu_task → default_pool. (osmo_h100_1 exists in deploy/values.yaml but this manifest does not reference it.) The OSMO manifest's components.endpoints key is absent — that is the structural reason internal mode cannot work here.

Check OSMO_TOKEN, OSMO_URL and OSMO_POOL before triggering an OSMO run — and only then. They are optional at deploy time, so a perfectly healthy controller can be running with them empty: make setup does not validate them and the chart renders empty values, so the DAG registers and triggers normally and only fails once a task tries to reach OSMO. Do not raise this during environment setup or for Kubernetes runs; it is a precondition of the OSMO path specifically. Verify against the cluster (authoritative — local deployment configuration may have changed since the last deploy):

(set -o pipefail
kubectl get secret -n sdg-workflow osmo-token-secret -o json | python3 -c '
import base64, json, sys
data = json.load(sys.stdin).get("data", {})
for key, name in (("osmo_token", "OSMO_TOKEN"), ("osmo_url", "OSMO_URL"), ("osmo_pool", "OSMO_POOL")):
    print(f"{name}: " + ("set" if base64.b64decode(data.get(key, ""), validate=True) else "unset"))
')
# A kubectl or decoding error is a failed check; never print the values or their lengths.

If any is unset, stop before triggering. Tell the user which settings must be configured and the controller redeployed so the secret is recreated and the pods pick them up, and route that configuration to the environment-setup skill. Do not set, write, or handle these values yourself.

There is a single end-to-end pipeline per platform — there are no generation-only or labeling-only DAG variants. If a user asks for video generation without auto-labeling, tell them the checked-in DAGs do not offer that flow rather than inventing a DAG ID.

Manual payload entry in the Airflow UI

If the user wants to enter their own payload directly in the Airflow UI rather than have you construct and trigger one, your job is limited to getting them to the UI: confirm controller readiness, ensure make port-forward is running (see airflow-direct-api.md), and report the reachable URL. Do not render a payload, run preflight, or trigger a run yourself in this case — the user is doing that from the UI. Resume monitoring (step 6 below) once they tell you a run has been triggered; you can find it via the Airflow API without needing the payload they used.

Scope

Before building any payload, collect all of the following from the user. Never invent an endpoint URL or bucket path — use only values the user supplied.

| Required | Field | What to ask | |---|---|---| | Always | input_path | S3 (or HTTP/HTTPS) URL to a single seed image or a directory of seed images | | Always | output_directory | Writable S3 URL where results should be written | | Always | service mode | external (user provides endpoint URLs) or internal (DAG deploys services in-cluster) | | External mode | cosmos.vlm_service_url | Full HTTPS URL for the VLM inference endpoint | | External mode | cosmos.llm_service_url | Full HTTPS URL for the LLM inference endpoint | | External mode | cosmos.image2video_service_url | Full HTTPS URL for the Cosmos3 image-to-video inference endpoint | | Optional | max_images | Number of images to process from a directory (default: 10; 0 or negative = all) | | Optional | cosmos.num_augmentation | Anomaly videos generated per image (default: 1) | | Optional | cosmos.variable_distribution | anomaly_type / env_type sampling distribution (see payload-contract.md) |

If the user does not provide a required value, ask for it explicitly before proceeding. Never invent one. Values the user explicitly supplied earlier, including for a previous run, may be reused when clearly applicable to the current target and request. Ask for clarification when the target or context is ambiguous.

Always run the following readiness checks before triggering a run. The checks are short-circuiting — stop at the first failure and route to the environment-setup skill immediately.

Before any check, establish the cluster connection. The cluster is reached only through credentials the user supplies — they are never part of the repository. Check whether the cluster credential file path is already exported in the shell environment; if not, ask the user for the absolute path before running any cluster command. Never assume a path or fall back to any on-disk default — see setup-and-preflight.md for the full procedure.

For Kubernetes, check GPU capacity on the configured task cluster. For OSMO, check the compute pool selected by the OSMO manifest; Kubernetes GPU availability does not establish it.

  1. Controller pods — check that the Airflow controller pods (not DAG task pods) are Running. DAG task pods in Pending or Failed state are normal and must not be mistaken for controller failures:

    kubectl get pods -n sdg-workflow -l "release=sdg-workflow-controller"
    

    All pods matching the release=sdg-workflow-controller label must be Running. If the namespace is absent, this is a first-install condition — route to the environment-setup skill, do not diagnose further.

  2. Airflow API — reachable only if check 1 passes. First establish AIRFLOW_URL from the Kubernetes ClusterIP. That works from a cluster node; from a workstation, fall back to a port-forward as described in airflow-direct-api.md:

    AIRFLOW_URL="http://$(kubectl get svc -n sdg-workflow \
      sdg-workflow-controller-api-server \
      -o jsonpath='{.spec.clusterIP}'):8080"
    

    Then confirm the target DAG is loaded and is_paused: False. See airflow-direct-api.md for the full auth + check sequence. If the API is unreachable, route to the environment-setup skill.

  3. Pools — only if che

Truncated for display — read the full file on GitHub.

Related Skills

View on GitHub
GitHub Stars3.4k
CategoryOperations
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