dwi-skill
Use this skill whenever the user wants to preprocess diffusion MRI / DWI data, compute diffusion metrics (FA/MD/AD/RD, etc.), extract ROI-wise diffusion features, or run tractography/connectome-related workflows. Triggers include: 'DWI', 'DTI', 'diffusion MRI', 'FA', 'MD', 'AD', 'RD', 'eddy', 'topup', 'QSIPrep', 'tractography', 'connectome', 'TBSS', 'white matter microstructure'. This is the NeuroClaw modality-layer interface: it plans WHAT to do and delegates execution to tool skills.
npx skills add BioTender-max/awesome-bio-agent-skills --skill dwi-skill --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
What it does
The skill acts as a modality-layer interface for diffusion MRI work, outlining WHAT needs to be done and WHICH tool skill to delegate to, without containing implementation code itself. It plans tasks like preprocessing, metric extraction, and tractography/connectome workflows and specifies that outputs should be saved under dwi_output/. It emphasizes preferring QSIPrep + MRtrix3-style downstream processing for tractography/connectome when data and inputs support it, and to report Missing required input if key options are missing. It delegates concrete execution to tool skills via claw-shell and relies on QSIPrep, MRtrix3, DIPY, and FSL pathways as appropriate. It also includes a structured benchmark guidance for full pipelines, ROI stats, and connectome tasks, and lists required inputs like atlas/parcellation, labels/LUT, space alignment, and shell/mode choices. It provides a detailed MRtrix3-based tractography workflow as a reference, including 5TT segmentation, label relabeling, DWI conversion, multi-tissue response estimation, FOD computation, ACT-based tractography, SIFT2 weighting, and tck2connectome. It concludes with installation notes and a concrete batch example for HCP-style tractography, and a Quick Reference of common tasks and delegation paths."
How it works
- Identify input type (DICOM / NIfTI / BIDS), single-shell vs multi-shell, and availability of reverse phase-encoded maps.
- Generate a numbered execution plan detailing steps, tools, outputs, runtime, and risks.
- Present the plan and await explicit user confirmation (e.g., “YES” / “execute” / “proceed”).
- On confirmation, delegate each step to the relevant tool skill via claw-shell.
- Save outputs into dwi_output/.
- When tractography or connectome is involved, prefer a diffusion-first route: QSIPrep -> MRtrix3 downstream processing with multi-tissue FOD, ACT, SIFT2, and tck2connectome, rather than tensor-only defaults, provided inputs allow it.
- If essential inputs (atlas/parcellation, LUT, registration targets) are missing, state Missing required input explicitly and prompt for key options before execution.
- For existing metrics or tractography cases, follow the specified downstream mainline (e.g., ROI stats or connectome construction) without restarting from raw preprocessing unless requested.
- The skill delegates execution to tools like qsiprep-tool, dipy-tool, fsl-tool, and claw-shell, and saves outputs in dwi_output/.
When to use it
- When a user wants to preprocess diffusion MRI data, compute diffusion metrics (FA/MD/AD/RD), extract ROI diffusion features, or run tractography/connectome workflows.
- When a full DWI pipeline ending in tractography/connectome is requested, with a preference for QSIPrep + MRtrix3-style downstream processing given inputs are suitable.
- When ROI/atlas-based ROI statistics or existing tractograms require downstream processing like tck2connectome.
What it can touch
- Tools delegated: qsiprep-tool, dipy-tool, fsl-tool, claw-shell.
- Executes through claw-shell to these tool skills and writes outputs under dwi_output/.
Caveats
- License: NOASSERTION.
- Declared dependencies include qsiprep-tool, dipy-tool, fsl-tool, claw-shell; missing inputs trigger explicit user prompts.
- The skill itself contains no concrete shell commands or implementation code; it only plans and delegates execution.
- It emphasizes default upstream pathways (QSIPrep + MRtrix3) for tractography when feasible, not tensor-only defaults, and downgrades to simpler pipelines only if data constraints require.
# 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 d
- Overview
- Benchmark-Facing Default Mainline
- Existing-Metric ROI Statistics Path
- Existing-Tractography Connectome Path
- Quick Reference (Common DWI Tasks → Delegation Map)
- Recommended Default Strategy
- Preferred Full-Pipeline Answer Pattern
- Missing Inputs And User Choices
- HCP-Style MRtrix3 Tractography Workflow
- Installation (Ubuntu)
- Complete HCP-Style MRtrix3 Tractography (Key Steps)
- Reference Implementation (Batch Processing via MATLAB)
- Standard Output Layout (Recommended)
- Important Notes & Limitations
conda install -c conda-forge -c mrtrix3 mrtrix3 libstdcxx-ng conda update -c mrtrix3 mrtrix3 curl -Ls https://fsl.fmrib.ox.ac.uk/fsldownloads/fslconda/releases/getfsl.sh | sh -s export FSLDIR=/usr/local/fsl source $FSLDIR/etc/fslconf/fsl.sh && export PATH=$FSLDIR/bin:$PATH
What does the dwi-skill skill do?
Use this skill whenever the user wants to preprocess diffusion MRI / DWI data, compute diffusion metrics (FA/MD/AD/RD, etc.), extract ROI-wise diffusion features, or run tractography/connectome-related workflows. Triggers include: 'DWI', 'DTI', 'diffusion MRI', 'FA', 'MD', 'AD', 'RD', 'eddy', 'topup', 'QSIPrep', 'tractography', 'connectome', 'TBSS', 'white matter microstructure'. This is the NeuroClaw modality-layer interface: it plans WHAT to do and delegates execution to tool skills.
How do I install it?
Run `npx skills add BioTender-max/awesome-bio-agent-skills --skill dwi-skill --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From BioTender-max/awesome-bio-agent-skills, a repository with 135 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
