nii2dcm SKILL.md skillA
nii2dcm from cuhk-aim-group/neurodiscovery is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add cuhk-aim-group/neurodiscovery/nii2dcm@git:20260506.86420c0Pins git:20260506.86420c0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- cuhk-aim-group/neurodiscovery
- Path
skills/nii2dcm/SKILL.md- Versions recorded
- 5
- Latest version
- git:20260506.86420c0, committed May 6, 2026
- First version recorded
- Mar 25, 2026
- Size
- 5,967 bytes
- Repository stars
- 93
- License
- MIT
Use this skill whenever the user wants to convert NIfTI files (.nii or .nii.gz) to DICOM format, create DICOM series from processed neuroimaging results, write segmentation/registration/analysis outputs back to DICOM for PACS compatibility or clinical viewer comparison, or transfer metadata from reference DICOM files. Triggers include: mentions of 'NIfTI to DICOM', 'nii to dcm', 'convert nii.gz to DICOM', 'dicomify segmentation', 'nii2dcm', 'bring results back to DICOM', 'create DICOM from…
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# NIfTI to DICOM conversion ## Overview A NIfTI file (.nii/.nii.gz) is a compact format widely used in neuroimaging research, typically stripped of patient metadata. DICOM is the clinical standard for medical images, including rich metadata and interoperability with PACS/hospital systems. This skill wraps `nii2dcm` (v0.1.6, May 2025) to convert NIfTI volumes into single-frame DICOM series (multi-slice 2D), primarily for MRI-derived data. It supports modality-specific metadata (MR, SVR) and optional metadata transfer from a reference DICOM file. **Research use only** — not certified for clinical diagnosis, treatment, or patient care. ## Quick Reference | Task | Approach / Command Flag | |-------------------------------|------------------------------------------| | Basic conversion (generic) | `nii2dcm input.nii.gz output_dir/` | | MRI multi-slice series | `--dicom-type MR` or `-d MR` | | SVR (3D swept volume recon) | `--dicom-type SVR` or `-d SVR` | | Copy patient/study metadata | `--ref-dicom ref.dcm` or `-r ref.dcm` | …
Read the whole file at its exact version.
How to install
mdr add cuhk-aim-group/neurodiscovery/nii2dcm@sha256:2d06e9d6e1880adeThe line at the top of this page pins the label git:20260506.86420c0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_mbewzrbdjrturkyh)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Mar 25, 2026 and May 6, 2026, about one every 11 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260506.86420c0 latest | 2026-05-06 | 86420c0 | 5,967 B | A | view · diff |
| git:20260505.e9ddd22 | 2026-05-05 | e9ddd22 | 5,981 B | A | view · diff |
| git:20260328.891ed93 | 2026-03-28 | 891ed93 | 5,924 B | A | view · diff |
| git:20260325.72d2cbf | 2026-03-25 | 72d2cbf | 6,062 B | A | view · diff |
| git:20260325.df6f256 | 2026-03-25 | df6f256 | 5,917 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (5967 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
cuhk-aim-group/neurodiscovery · 93 stars · license MIT · pushed 2026-10-23 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_mbewzrbdjrturkyh GET https://markdownregistry.com/api/v1/resolve?ref=cuhk-aim-group/neurodiscovery/nii2dcm GET https://markdownregistry.com/api/v1/blob/2d06e9d6e1880ade0dee0d1ad64ad7ea51306adaa693d501ea3af1a02acbb313
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.