Agent skill · research science · nvidia

nv-generate-mr-brain

Used for generating synthetic T1, T2, FLAIR, SWI, or MRA brain MRI volumes with NV-Generate-CTMR MR-Brain v1. Not for production training data.

Why this skill is useful

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

What it needs

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

What this skill does

NV-Generate-MR-Brain Purpose Used for generating synthetic T1, T2, FLAIR, SWI, or MRA brain MRI volumes with NV-Generate-CTMR rflow-mr-brain v1. Not for 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 syntheticmrbrainvolumes and resultjson. Instructions Read skillmanifest.yaml before changing arguments, side effects, or validation gates. Run scripts/runmrbrain.py through the documented command below; keep outputs under a caller-provided run directory. If a host agent exposes runscript, use runscript("scripts/runmrbrain.py", args=[...]); otherwise run the Bash/Python command shown below. For a command-shape review, do not install packages, clone repositories, download weights, or start GPU inference. Emit only the exact wrapper command with the supplied config path plus explicit --output-dir, --modality, and --random-seed values. For an executable run, 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. If --modality mrimra is selected, state that upstream reports sparse MRA training coverage and that output quality is not guaranteed. 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. Examples Command-shape review only (no setup or execution): For an executable run, use the setup-aware command under Usage. Available Scripts Script Purpose Arguments --- --- --- scripts/runmrbrain.py Primary entrypoint declared by skillmanifest.yaml. …

How to use it

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

@skills nvidia/nv-generate-mr-brain

View the source on GitHub

Browse the @skills marketplace