dwi-skill

dwi-skill is a skill for Claude Code, Codex from CUHK-AIM-Group/NeuroClaw. It costs 131 tokens per session (6,177 once invoked), scanned C, original, MIT.

A guided workflow for diffusion MRI, also called DWI or DTI, which measures how water moves through brain tissue. It covers preparation of the data and extraction of diffusion measurements.

In plain words
What is it for?
Use it to prepare DWI data, calculate measures such as FA, MD, AD, and RD, extract region-based features, or support tractography and connectome work.
Why use it?
It helps organize different input formats and scan types before processing, while requiring a clear plan and confirmation before execution.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/hzb/anaconda3/share/mrtrix3/labelconvert/fs_default.txt.

Good fit Use it to prepare DWI data, calculate measures such as FA, MD, AD, and RD, extract region-based features, or support tractography and connectome work.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dwi-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/cuhk-aim-group/neuroclaw/dwi-skill/github.svg)](https://agentmods.dev/skills/cuhk-aim-group/neuroclaw/dwi-skill)
Your own site
<a href="https://agentmods.dev/skills/cuhk-aim-group/neuroclaw/dwi-skill"><img src="https://agentmods.dev/badge/skills/cuhk-aim-group/neuroclaw/dwi-skill/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for dwi-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/cuhk-aim-group/neuroclaw/dwi-skill"><img src="https://agentmods.dev/badge/skills/cuhk-aim-group/neuroclaw/dwi-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 131 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,177 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00131 $0.06177
Opus 5 $0.00066 $0.03089
Sonnet 5 $0.00026 $0.01235
Haiku 4.5 $0.00013 $0.00618

Measured 11d ago against content hash 13ccfa76ed2d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade C, and why

dwi-skill scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -Ls https://fsl.fmrib.ox.ac.uk/fsldownloads/fslconda/releases/getfsl.sh | sh -s

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -Ls https://fsl.fmrib.ox.ac.uk/fsldownloads/fslconda/releases/getfsl.sh | sh -s
skills/dwi-skill/SKILL.md · 359 lines

How it starts

The opening of the file, as written. The whole thing — 359 lines — stays where its author put it; the contents beside it link to each section on GitHub.

DWI Skill (Modality Layer)

Overview

dwi-skill is the NeuroClaw modality-layer interface skill responsible for diffusion MRI (DWI/DTI) preprocessing and feature extraction.

It strictly follows NeuroClaw hierarchical design principles:

  • This skill defines WHAT needs to be done and which tool skill to delegate to.
  • It contains no implementation code and no concrete shell commands.
  • All concrete execution is delegated to tool skills and routed through claw-shell.- Reference implementations (MATLAB, Python) are provided for user understanding but should be wrapped via tool skills in production workflows. Core workflow (never bypassed):
  1. Identify input type (DICOM / NIfTI / BIDS), single-shell vs multi-shell, reverse phase-encoded b0/fieldmaps availability.
  2. Generate a numbered execution plan (steps, tools, outputs, runtime, risks).
  3. Present the plan and wait for explicit user confirmation (“YES” / “execute” / “proceed”).
  4. On confirmation, delegate each step to the relevant tool skill via claw-shell.
  5. Save outputs into dwi_output/.

When the task includes tractography or connectome construction, default to the strongest task-faithful diffusion route available rather than a generic tensor-only fallback:

  • Prefer QSIPrep -> MRtrix3 style downstream processing with multi-tissue FOD, ACT, SIFT2, and tck2connectome when data quality and inputs support it.
  • Use tensor-only DIPY/DTI examples as a fallback, not as the default full-pipeline answer, unless the data are truly limited or the user explicitly requests a lightweight DTI-only workflow.
  • If atlas/parcellation, label tables, registration/alignment targets, or tractography-critical settings are missing, state Missing required input explicitly and ask the user to choose the key analysis options before execution instead of silently assuming weak defaults.

Benchmark-Facing Default Mainline

For benchmark-style DWI prompts, choose one explicit diffusion mainline and keep unrelated modality or alternative preprocessing branches out of the primary answer.

Read the full file on GitHub · 359 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 359 lines · 131 tokens per session scan C 13ccfa76ed2d

Subscribe to this mod's changes

dwi-skill is a skill published in the GitHub repository CUHK-AIM-Group/NeuroClaw (84 stars, last pushed 4d ago), licensed MIT. It adds 131 tokens to every session and 6,177 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

exploratory-data-analysis

Perform bounded, local exploratory analysis of explicitly supported scientific files. Use for redacted CSV/TSV/JSON profiles; optional NumPy, HDF5, FASTA/FASTQ, and basic image metadata inspection; missingness/leakage audits; outlier and transformation sensitivity; and rigorous EDA report scaffolds. Other domain…

K-Dense-AI/scientific-agent-skills · 83 tokens

matlab

Build, review, migrate, and safely plan MATLAB or GNU Octave numerical workflows, including arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.

K-Dense-AI/scientific-agent-skills · 42 tokens

phylogenetics

Build and analyze phylogenetic trees using MAFFT (multiple alignment), IQ-TREE 2 (maximum likelihood), and FastTree (fast NJ/ML). Visualize with ETE3 or FigTree. For evolutionary analysis, microbial genomics, viral phylodynamics, protein family analysis, and molecular clock studies.

K-Dense-AI/scientific-agent-skills · 68 tokens

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

mapping-to-snomed

Maps clinical concept spans extracted by OpenMed to SNOMED CT concepts through a USER-SUPPLIED terminology server (the user's own Ontoserver, Snowstorm, or UMLS/UTS), never a bundled vocabulary. Use when the user wants to code findings, disorders, procedures, body structures, or substances to SNOMED CT, run an ECL…

maziyarpanahi/openmed · 205 tokens