mri-hardware SKILL.md skillA
mri-hardware from kewang0622/mri-research-skill is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add kewang0622/mri-research-skill/mri-hardware@v0.14.0Pins 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/mri-hardware/SKILL.md- Versions recorded
- 14
- Latest version
- v0.14.0, committed Oct 31, 2026
- First version recorded
- Sep 20, 2026
- Size
- 5,494 bytes
- Repository stars
- 31
- License
- MIT
Read before any MR hardware or safety calculation: B0 field maps and shimming with current limits, gradient and RF coil fields, B1+rms and SAR (IEC 60601-2-33), dB/dt and nerve stimulation, receiver noise and SNR, low- field and open-source consoles. Prevents silent errors in units, frames, field components, harmonic normalization, bounded optimization and limit definitions. Ships tested SI helpers checked against analytic cases. Not clinical advice.
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: MRI Hardware and Safety Hardware numbers are useful only with their units, conventions and a check. Use the tested helpers in `scripts/mrfoundry_hwlib.py` (numpy/scipy, SI units) and import them rather than re-deriving them: `python .agents/skills/mri-hardware/scripts/mrfoundry_hwlib.py --api` lists signatures (do not cat the source); `scripts/test_hwlib.py` shows each helper on an analytic case. ## Route | Task | Use (`mrfoundry_hwlib.py`) | |---|---| | Field map from multi-echo phase (nonzero phase0, uneven echo times) | `fieldmap_multiecho(phase, te, magnitude, max_abs_hz)` (temporal unwrapping; also spatially unwrap if fields can exceed 1/(2 ΔTE_min)) | | Shim basis at voxel positions | `voxel_world_coords(affine, shape)` (full affine, mm to m), then evaluate the vendor's polynomials there; `solid_harmonics`, `fit_harmonics` for analysis | | Optimal shim currents within limits | `shim_currents(field, roi, channel_maps, lower, upper, current_during_acquisition=I_acq)`: absolute currents, `frequency_adjust` (= -offset) and a KKT optimality report | | Any bounded least-squares fit you wrote yourself | `bounded_lsq_kkt(A, b, x, lower, upper)` must return ok | …
Read the whole file at its exact version.
How to install
mdr add kewang0622/mri-research-skill/mri-hardware@sha256:130c89f3b66c9a3eThe 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.
[](https://markdownregistry.com/a/art_g76u7psnowxihkm6)
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.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v0.14.0 latest | 2026-10-31 | e7494be | 5,494 B | A | view · diff |
| v0.13.0 | 2026-10-31 | 4618a27 | 5,494 B | A | view · diff |
| v0.12.0 | 2026-10-31 | 5e72e16 | 5,270 B | A | view · diff |
| v0.11.0 | 2026-10-31 | fd03f30 | 4,681 B | A | view · diff |
| v0.11.0 | 2026-10-31 | e52aacd | 4,897 B | A | view · diff |
| v0.8.0 | 2026-10-10 | 6e4408e | 6,431 B | A | view · diff |
| v0.8.0 | 2026-10-09 | 305d420 | 6,279 B | A | view · diff |
| v0.8.0 | 2026-10-07 | 4cc7dff | 6,313 B | A | view · diff |
| v0.7.0 | 2026-09-28 | adaaf21 | 6,134 B | A | view · diff |
| v0.7.0 | 2026-09-24 | 90d0c56 | 5,719 B | A | view · diff |
| v0.7.0 | 2026-09-24 | f90c25f | 5,106 B | A | view · diff |
| v0.7.0 | 2026-09-22 | c1cd332 | 4,276 B | A | view · diff |
| v0.1.0 | 2026-09-22 | 6b2c20f | 3,724 B | A | view · diff |
| v0.1.0 | 2026-09-20 | a8f0a76 | 2,961 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 (5494 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
kewang0622/mri-research-skill · 31 stars · license MIT · pushed 2026-11-05 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_g76u7psnowxihkm6 GET https://markdownregistry.com/api/v1/resolve?ref=kewang0622/mri-research-skill/mri-hardware GET https://markdownregistry.com/api/v1/blob/130c89f3b66c9a3e2da38aaa25534170fdf6ef877c0f539fc1eabf50b522b2cd
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.