Agent skill · research science · nvidia

nv-generate-mr

Used for generating synthetic body MRI volumes with NV-Generate-CTMR rflow-mr. Not for paired masks or production training data.

Why this skill is useful

Provides specific commands and configurations for generating synthetic MRI volumes that the AI wouldn't reliably generate on its own.

What it needs

Requires python installed locally. About 4k tokens when loaded. Last updated 2026-08-07. 2,816 stars on the source repository.

What this skill does

NV-Generate-MR Purpose Used for generating synthetic body MRI volumes with NV-Generate-CTMR rflow-mr. Not for paired masks or production training data. 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, and validation. Manifest I/O: inputs are modelconfigoverride; outputs are syntheticmrvolumes and resultjson. Instructions Read skillmanifest.yaml before changing arguments, side effects, or validation gates. Run scripts/runmr.py through the documented command below; keep outputs under a caller-provided run directory. If a host agent exposes runscript, use runscript("scripts/runmr.py", args=[...]); otherwise run the Bash/Python command shown below. Emit a single bash code block, and keep the python -m pip install -r "$NVGENERATEROOT/requirements.txt" step in that same command — the runtime may be a fresh environment without nibabel/MONAI, so dropping the install fails with ModuleNotFoundError. Do not add rm, mkdir, or any cleanup of --output-dir; the wrapper creates it. Use a fresh --output-dir instead of deleting one. Check the emitted JSON and paired verifier guidance before treating the run as evidence. Available Scripts Script Purpose Arguments --- --- --- scripts/runmr.py Primary entrypoint declared by skillmanifest.yaml. MODELCONFIG.json --output-dir OUTDIR --modality mrit1 [--random-seed N] [--yes] Prerequisites Runtime requirements: GPU/CUDA when declared by the manifest; Python packages listed in runtime.sideeffects.pippackages. Side effects: writes generated outputs under the caller's --output-dir, may cache model assets under ~/.cache/huggingface/, and may contact https://huggingface.co or https://github.com during setup. Run commands from the repository root unless an existing section below says otherwise. Limitations This is a thin wrapper. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills nvidia/nv-generate-mr

View the source on GitHub

Browse the @skills marketplace