diffusion-mri SKILL.md skillA

diffusion-mri from kewang0622/mri-research-skill is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add kewang0622/mri-research-skill/diffusion-mri@v0.14.0

Pins v0.14.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
kewang0622/mri-research-skill
Path
skills/diffusion-mri/SKILL.md
Versions recorded
14
Latest version
v0.14.0, committed Oct 31, 2026
First version recorded
Sep 20, 2026
Size
5,251 bytes
Repository stars
31
License
MIT

Read before fitting, converting or reporting diffusion-weighted MRI: ADC, DTI/DKI, IVIM, NODDI, compartment or spectrum fractions, tractography and diffusion biomarker studies. Prevents silent errors in b-vector frames and vendor vector files, the b-range for ADC/DTI, units, noise floor and uncalibrated or unstable fraction models. Ships tested numpy helpers (frame conversion, tensor fit, noise floor, calibration, stratified recovery and retest tests). Starts from reconstructed DWI.

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

# MRFoundry: Diffusion MRI

Use the tested numpy helpers; a closed-form log-linear DTI fit needs no toolbox installation. Open only the
row you need; `python .agents/skills/diffusion-mri/scripts/spectrum_fit.py --api` (or `gradient_frames.py`) lists signatures (do not cat the source).

## Route

| Task | Use (`scripts/`) | Read only if needed |
|---|---|---|
| Gradient tables, frames, DTI/DKI orientation, b-values | `gradient_frames.py`: `array_from_fsl`, `fsl_from_world`, `world_from_array`, `world_from_lps`, `bvals_bvecs_from_vectors`, `fit_tensor_lls`, `simulate_tensor_signal` | [DWI and DTI](references/dwi-dti.md) |
| ADC, signal fractions, diffusivity spectra, IVIM-type fits | `spectrum_fit.py`: `background_sigma`, `floor_correct`, `adc_fit`, `fit_weights`, `fit_fixed_basis`, `calibrate_basis`, `fraction_below`, `stratified_recovery_test` | [model calibration](../mri-research/references/model-calibration.md) |
| Preprocessing (denoise, Gibbs, topup/eddy), CSD, NODDI, tractography, QSIPrep | MRtrix3, FSL, DIPY, AMICO | [preprocessing and models](references/preprocessing-and-models.md) |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add kewang0622/mri-research-skill/diffusion-mri@sha256:6e6fc32f2a1f2960

The line at the top of this page pins the label v0.14.0, 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_njhxf72s2uocouop.svg)](https://markdownregistry.com/a/art_njhxf72s2uocouop)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 14 versions of this file, between Sep 20, 2026 and Oct 31, 2026, about one every 3 days.

versioncommittedcommitsizeaudit
v0.14.0 latest2026-10-31 e7494be 5,251 BA view · diff
v0.13.02026-10-31 4618a27 5,251 BA view · diff
v0.12.02026-10-31 5e72e16 5,251 BA view · diff
v0.11.02026-10-31 fd03f30 4,950 BA view · diff
v0.11.02026-10-31 e52aacd 5,193 BA view · diff
v0.8.02026-10-10 6e4408e 6,662 BA view · diff
v0.8.02026-10-09 305d420 6,510 BA view · diff
v0.8.02026-10-07 4cc7dff 6,544 BA view · diff
v0.7.02026-09-28 adaaf21 6,365 BA view · diff
v0.7.02026-09-28 3b06da0 5,950 BA view · diff
v0.7.02026-09-24 90d0c56 5,271 BA view · diff
v0.7.02026-09-24 f90c25f 4,658 BA view · diff
v0.7.02026-09-22 c1cd332 3,828 BA view · diff
v0.1.02026-09-20 a8f0a76 3,078 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (5251 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

GitHub

kewang0622/mri-research-skill · 31 stars · license MIT · pushed 2026-11-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_njhxf72s2uocouop
GET https://markdownregistry.com/api/v1/resolve?ref=kewang0622/mri-research-skill/diffusion-mri
GET https://markdownregistry.com/api/v1/blob/6e6fc32f2a1f296083211b60c1bd14767c74d5046034f1f909e5a860d01a2ac5

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.

More from kewang0622/mri-research-skill

deep-learning-recon SKILL.md skill
kewang0622/mri-research-skill · skills/deep-learning-recon/SKILL.md · Read before training, fine-tuning, applying or evaluating a neural network for MRI reconstruction: unrolled and…
v0.14.0 · audit A · 31 stars
mri-hardware SKILL.md skill
kewang0622/mri-research-skill · skills/mri-hardware/SKILL.md · Read before any MR hardware or safety calculation: B0 field maps and shimming with current limits, gradient and RF coil…
v0.14.0 · audit A · 31 stars
mri-reconstruction SKILL.md skill
kewang0622/mri-research-skill · skills/mri-reconstruction/SKILL.md · Read before turning MR data into images or parameter maps: raw k-space (Cartesian, radial, spiral, EPI; twix, ISMRMRD…
v0.14.0 · audit A · 31 stars
mri-research-workflow SKILL.md skill
kewang0622/mri-research-skill · skills/mri-research-workflow/SKILL.md · Read before designing, analysing, writing up or reviewing an MRI study: results sections with a claim ledger, referee…
v0.14.0 · audit A · 31 stars
mri-research SKILL.md skill
kewang0622/mri-research-skill · skills/mri-research/SKILL.md · Start here when an MRI task matches no specialist skill, spans several areas, or involves image analysis or…
v0.14.0 · audit A · 31 stars
pulse-sequence-design SKILL.md skill
kewang0622/mri-research-skill · skills/pulse-sequence-design/SKILL.md · Read before designing, exporting or simulating an MRI acquisition: pulse sequences, RF and gradient waveforms, k-space…
v0.14.0 · audit A · 31 stars

Every file in kewang0622/mri-research-skill

Browse by kind, by grade A, or by owner.