nv-generate-ct-rflow
Installation
SKILL.md
NV-Generate-CT (rflow-ct)
Purpose
- Used for generating synthetic CT volumes and masks with NV-Generate-CTMR rflow-ct. Not for production training data without review.
- Use the wrapper exactly as documented; do not replace the upstream entrypoint with a handwritten implementation.
- Do not write custom inference code for normal runs. The wrapper owns config staging, output paths, label mapping evidence, and validation.
- Manifest I/O: inputs are
config_infer_override; outputs aresynthetic_ct_volumesandresult_json.
Instructions
- Read
skill_manifest.yamlbefore changing arguments, side effects, or validation gates. - Run
scripts/run_rflow_ct.pythrough the documented command below; keep outputs under a caller-provided run directory. - If a host agent exposes
run_script, userun_script("scripts/run_rflow_ct.py", args=[...]); otherwise run the Bash/Python command shown below. - For generation, use the upstream runtime requirements. For a preflight, the wrapper needs only NumPy, NiBabel, and Typer to start. Pass the caller’s config, output directory, and seed to the same entrypoint.
- Do not add
rm,mkdir, or any cleanup of--output-dir; the wrapper creates it. Use a fresh--output-dirinstead of deleting one. - Check the emitted JSON and paired verifier guidance before treating the run as evidence.