IXI Skill (Dataset-Orchestration Layer)
Overview
ixi-skill is the NeuroClaw orchestration skill for the IXI (Information eXtraction from Images) dataset.
It strictly follows the NeuroClaw hierarchical design principles:
- This skill only describes WHAT needs to be done and which tool skill to delegate to.
- It contains no implementation code or concrete commands.
- All concrete execution is delegated to existing base/tool skills via
claw-shell.
- Companion scripts in
scripts/ provide reference implementations for data reorganization, phenotype extraction, and QC.
Core workflow (never bypassed):
- Identify input IXI data and target modalities.
- Generate a numbered execution plan clearly stating WHAT needs to be done and which tool skill will handle each step.
- Present the full plan, estimated runtime, resource requirements, and risks to the user and wait for explicit confirmation ("YES" / "execute" / "proceed").
- On confirmation, delegate every step to the appropriate skill via
claw-shell.
- After execution, save all outputs in a clean directory structure (
ixi_output/).
Research use only.
Quick Reference
| Task |
What needs to be done |
Delegate to |
Expected output |
| Data download |
Download IXI from brain-development.org |
claw-shell |
Raw IXI files |
| BIDS staging |
Reorganize IXI native layout to BIDS |
scripts/reorganize_ixi.py |
BIDS-compliant dataset |
| sMRI processing |
Brain extraction, tissue segmentation, cortical reconstruction |
smri-skill |
smri_output/ derivatives |
| MRA processing |
Vessel enhancement, angiography analysis |
nibabel-skill |
MRA derivatives |
| QC summary |
Per-subject quality control |
scripts/ixi_qc_summary.py |
QC summary + exclusion list |
Dataset Characteristics
- Cohort: ~600 healthy subjects
- Sites: 3 London hospitals with different scanners
- Hammersmith Hospital (HH): Philips 3T
- Guy's Hospital (Guy): Philips 1.5T
- Institute of Psychiatry (IOP): GE 1.5T
- Modalities: T1w, T2w, MRA (some subjects also have PD and DTI)
- Format: NIfTI (.nii.gz)
- Access: https://brain-development.org/ixi-dataset/
Supported Modalities
| Modality |
Description |
Sites |
| T1w |
High-resolution structural MRI |
All 3 sites |
| T2w |
T2-weighted structural MRI |
All 3 sites |
| MRA |
Magnetic Resonance Angiography |
All 3 sites |
| PD |
Proton Density (some subjects) |
Selected sites |
| DTI |
Diffusion Tensor Imaging (some subjects) |
Selected sites |
Site-Specific Scanner Information
| Site |
Scanner |
Field Strength |
Notes |
| Hammersmith Hospital (HH) |
Philips |
3T |
Higher resolution, smaller voxel size |
| Guy's Hospital (Guy) |
Philips |
1.5T |
Standard resolution |
| Institute of Psychiatry (IOP) |
GE |
1.5T |
Standard resolution |
BIDS Preparation
Script: scripts/reorganize_ixi.py
Converts IXI native directory structure to BIDS-compliant layout.
python skills/ixi-skill/scripts/reorganize_ixi.py \
--input /path/to/IXI/raw \
--output /path/to/IXI/bids
Features:
- Subject ID normalization: IXI format (e.g.,
IXI002) to BIDS sub-IXI002
- Site detection from subject ID prefix
- Modality routing: T1w, T2w, MRA, PD, DTI
- Sidecar JSON generation with site-specific metadata
dataset_description.json and participants.tsv generation
- Dry-run mode:
--dry-run to preview without copying
Core Workflow (Never Bypassed)
- Identify user target: full IXI processing, imaging subset, or BIDS staging only.
- Generate a numbered plan with tools, outputs, runtime, storage, and risks.
- Wait for explicit confirmation (
YES / execute / proceed).
- On confirmation, run download stage first (if needed).
- After download success, run BIDS preparation using
scripts/reorganize_ixi.py.
- Delegate to
smri-skill for structural MRI processing (T1w, T2w).
- Process MRA if requested (vessel enhancement, angiography).
- If QC summary is requested, run
scripts/ixi_qc_summary.py.
- Save outputs into
ixi_output/.
Modality Processing Delegation
| Modality |
Delegated skill |
Typical tasks |
Main outputs |
| sMRI (T1w/T2w) |
smri-skill |
brain extraction, tissue segmentation, cortical reconstruction |
smri_output/ derivatives |
| MRA |
nibabel-skill |
vessel enhancement, angiography analysis |
MRA derivatives |
| PD |
smri-skill |
proton density analysis |
PD derivatives |
| DTI |
smri-skill |
diffusion tensor metrics |
DTI derivatives |
Standard Output Layout
ixi_output/
├── raw/ # Downloaded original IXI files
├── bids/ # BIDS-staged data
├── smri/ # Structural MRI derivatives
├── mra/ # MRA derivatives
├── qc/ # QC summaries and exclusion lists
└── logs/ # Processing logs
Benchmark Adapter Guidance
For benchmark-style prompts, do not force the full orchestration when the task only asks for local IXI data staging.
- If the task starts from raw IXI data already present on disk and only asks for BIDS-style staging:
- Skip the mandatory download stage
- Default to the narrow path
local raw IXI discovery -> BIDS-style staging -> minimal metadata -> validation/report
- In benchmark mode, do not require explicit confirmation before presenting the direct staging solution.
Safety and Execution Policy
- No execution before explicit plan confirmation.
- All execution must be routed via
claw-shell.
- Missing dependencies must be resolved by
dependency-planner before running.
Important Notes and Limitations
- IXI is a multi-site dataset with different scanners; consider site effects in analysis.
- Site information can be inferred from subject ID prefix (HH, Guy, IOP).
- MRA data is unique to IXI; vessel analysis requires specialized tools.
- Some subjects may have missing modalities (PD, DTI).
ixi-skill is orchestration-only; detailed preprocessing logic remains in modality skills.
When to Call This Skill
- User asks for end-to-end IXI workflow.
- User asks to download IXI and run structural MRI processing.
- User needs BIDS staging for IXI data.
- User asks for multi-site brain MRI analysis.
- User asks for MRA vessel analysis.
Complementary / Related Skills
smri-skill → structural MRI preprocessing
nibabel-skill → NIfTI I/O and MRA processing
bids-organizer → BIDS validation and organization
brain-visualization → visualization of derivatives
dependency-planner → dependency resolution
conda-env-manager → environment management
claw-shell → command execution
Reference
Created At: 2026-05-06 13:31 HKT
Last Updated At: 2026-05-06 13:31 HKT
Author: chengwang96
1---2name: ixi-skill3description: Use this skill whenever the user wants an end-to-end workflow for the IXI (Information eXtraction from Images) dataset, including data download, BIDS organization, and multimodal processing of T1w, T2w, and MRA. Triggers include: 'IXI', 'IXI dataset', 'process IXI data', 'IXI MRI', or any request to run the IXI multimodal pipeline.4license: MIT License (NeuroClaw custom skill - freely modifiable within t5---6# IXI Skill (Dataset-Orchestration Layer)
7
8## Overview
9
10`ixi-skill` is the NeuroClaw orchestration skill for the **IXI (Information eXtraction from Images)** dataset.
11
12It strictly follows the NeuroClaw hierarchical design principles:
13- This skill **only describes WHAT needs to be done** and **which tool skill to delegate to**.
14- It contains **no implementation code or concrete commands**.
15- All concrete execution is delegated to existing base/tool skills via `claw-shell`.
16- Companion scripts in `scripts/` provide reference implementations for data reorganization, phenotype extraction, and QC.
17
18**Core workflow (never bypassed):**
191. Identify input IXI data and target modalities.
202. Generate a **numbered execution plan** clearly stating WHAT needs to be done and which tool skill will handle each step.
213. Present the full plan, estimated runtime, resource requirements, and risks to the user and wait for explicit confirmation ("YES" / "execute" / "proceed").
224. On confirmation, delegate every step to the appropriate skill via `claw-shell`.
235. After execution, save all outputs in a clean directory structure (`ixi_output/`).
24
25**Research use only.**
26
27---
28
29## Quick Reference
30
31| Task | What needs to be done | Delegate to | Expected output |
32|---|---|---|---|
33| Data download | Download IXI from brain-development.org | `claw-shell` | Raw IXI files |
34| BIDS staging | Reorganize IXI native layout to BIDS | `scripts/reorganize_ixi.py` | BIDS-compliant dataset |
35| sMRI processing | Brain extraction, tissue segmentation, cortical reconstruction | `smri-skill` | `smri_output/` derivatives |
36| MRA processing | Vessel enhancement, angiography analysis | `nibabel-skill` | MRA derivatives |
37| QC summary | Per-subject quality control | `scripts/ixi_qc_summary.py` | QC summary + exclusion list |
38
39---
40
41## Dataset Characteristics
42
43- **Cohort**: ~600 healthy subjects
44- **Sites**: 3 London hospitals with different scanners
45 - **Hammersmith Hospital (HH)**: Philips 3T
46 - **Guy's Hospital (Guy)**: Philips 1.5T
47 - **Institute of Psychiatry (IOP)**: GE 1.5T
48- **Modalities**: T1w, T2w, MRA (some subjects also have PD and DTI)
49- **Format**: NIfTI (.nii.gz)
50- **Access**: https://brain-development.org/ixi-dataset/
51
52---
53
54## Supported Modalities
55
56| Modality | Description | Sites |
57|---|---|---|
58| T1w | High-resolution structural MRI | All 3 sites |
59| T2w | T2-weighted structural MRI | All 3 sites |
60| MRA | Magnetic Resonance Angiography | All 3 sites |
61| PD | Proton Density (some subjects) | Selected sites |
62| DTI | Diffusion Tensor Imaging (some subjects) | Selected sites |
63
64---
65
66## Site-Specific Scanner Information
67
68| Site | Scanner | Field Strength | Notes |
69|---|---|---|---|
70| Hammersmith Hospital (HH) | Philips | 3T | Higher resolution, smaller voxel size |
71| Guy's Hospital (Guy) | Philips | 1.5T | Standard resolution |
72| Institute of Psychiatry (IOP) | GE | 1.5T | Standard resolution |
73
74---
75
76## BIDS Preparation
77
78### Script: `scripts/reorganize_ixi.py`
79
80Converts IXI native directory structure to BIDS-compliant layout.
81
82```bash
83python skills/ixi-skill/scripts/reorganize_ixi.py \
84 --input /path/to/IXI/raw \
85 --output /path/to/IXI/bids
86```
87
88Features:
89- Subject ID normalization: IXI format (e.g., `IXI002`) to BIDS `sub-IXI002`
90- Site detection from subject ID prefix
91- Modality routing: T1w, T2w, MRA, PD, DTI
92- Sidecar JSON generation with site-specific metadata
93- `dataset_description.json` and `participants.tsv` generation
94- Dry-run mode: `--dry-run` to preview without copying
95
96---
97
98## Core Workflow (Never Bypassed)
99
1001. Identify user target: full IXI processing, imaging subset, or BIDS staging only.
1012. Generate a numbered plan with tools, outputs, runtime, storage, and risks.
1023. Wait for explicit confirmation (`YES` / `execute` / `proceed`).
1034. On confirmation, run download stage first (if needed).
1045. After download success, run BIDS preparation using `scripts/reorganize_ixi.py`.
1056. Delegate to `smri-skill` for structural MRI processing (T1w, T2w).
1067. Process MRA if requested (vessel enhancement, angiography).
1078. If QC summary is requested, run `scripts/ixi_qc_summary.py`.
1089. Save outputs into `ixi_output/`.
109
110---
111
112## Modality Processing Delegation
113
114| Modality | Delegated skill | Typical tasks | Main outputs |
115|---|---|---|---|
116| sMRI (T1w/T2w) | `smri-skill` | brain extraction, tissue segmentation, cortical reconstruction | `smri_output/` derivatives |
117| MRA | `nibabel-skill` | vessel enhancement, angiography analysis | MRA derivatives |
118| PD | `smri-skill` | proton density analysis | PD derivatives |
119| DTI | `smri-skill` | diffusion tensor metrics | DTI derivatives |
120
121---
122
123## Standard Output Layout
124
125```
126ixi_output/
127├── raw/ # Downloaded original IXI files
128├── bids/ # BIDS-staged data
129├── smri/ # Structural MRI derivatives
130├── mra/ # MRA derivatives
131├── qc/ # QC summaries and exclusion lists
132└── logs/ # Processing logs
133```
134
135---
136
137## Benchmark Adapter Guidance
138
139For benchmark-style prompts, do not force the full orchestration when the task only asks for local IXI data staging.
140
141- If the task starts from raw IXI data already present on disk and only asks for BIDS-style staging:
142 - Skip the mandatory download stage
143 - Default to the narrow path `local raw IXI discovery -> BIDS-style staging -> minimal metadata -> validation/report`
144- In benchmark mode, do not require explicit confirmation before presenting the direct staging solution.
145
146---
147
148## Safety and Execution Policy
149- No execution before explicit plan confirmation.
150- All execution must be routed via `claw-shell`.
151- Missing dependencies must be resolved by `dependency-planner` before running.
152
153---
154
155## Important Notes and Limitations
156- IXI is a multi-site dataset with different scanners; consider site effects in analysis.
157- Site information can be inferred from subject ID prefix (HH, Guy, IOP).
158- MRA data is unique to IXI; vessel analysis requires specialized tools.
159- Some subjects may have missing modalities (PD, DTI).
160- `ixi-skill` is orchestration-only; detailed preprocessing logic remains in modality skills.
161
162---
163
164## When to Call This Skill
165- User asks for end-to-end IXI workflow.
166- User asks to download IXI and run structural MRI processing.
167- User needs BIDS staging for IXI data.
168- User asks for multi-site brain MRI analysis.
169- User asks for MRA vessel analysis.
170
171---
172
173## Complementary / Related Skills
174- `smri-skill` → structural MRI preprocessing
175- `nibabel-skill` → NIfTI I/O and MRA processing
176- `bids-organizer` → BIDS validation and organization
177- `brain-visualization` → visualization of derivatives
178- `dependency-planner` → dependency resolution
179- `conda-env-manager` → environment management
180- `claw-shell` → command execution
181
182---
183
184## Reference
185- IXI Dataset: https://brain-development.org/ixi-dataset/
186- Brain-development.org: https://brain-development.org/
187
188Created At: 2026-05-06 13:31 HKT
189Last Updated At: 2026-05-06 13:31 HKT
190Author: chengwang96