MND Skill (Dataset-Orchestration Layer)
SkillDatabases & dataUse this skill whenever the user wants an end-to-end workflow for the Motor Neuron Disease (MND) dataset from OpenNeuro ds005874, including BIDS validation, multimodal processing of rs-fMRI and task-fMRI, phenotype extraction, and QC integration. Triggers include: 'MND', 'Motor Neuron Disease', 'ALS', 'Amyotrophic Lateral Sclerosis', 'process MND data', 'MND fMRI', or any request to run the MND multimodal pipeline.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the MND Skill (Dataset-Orchestration Layer) skill
What this skill tells your AI
The instructions your AI receives, as published by cuhk-aim-group/neuroclaw in skills/mnd-skill/SKILL.md and read by ahel’s review.
Overview
mnd-skill is the NeuroClaw orchestration skill for the Motor Neuron Disease (MND) dataset from OpenNeuro ds005874.
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 BIDS validation, phenotype extraction, and QC.
Core workflow (never bypassed):
- Identify input MND 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 (
mnd_output/).
Research use only.
Quick Reference
| Task | What needs to be done | Delegate to | Expected output |
|---|---|---|---|
| BIDS validation | Validate MND BIDS structure | scripts/validate_mnd.py | Validation report |
| sMRI processing | Brain extraction, tissue segmentation | smri-skill | smri_output/ derivatives |
| rs-fMRI processing | Preprocessing, denoising, connectivity | fmri-skill | fmri_output/ derivatives |
| task-fMRI processing | Motor task GLM, activation analysis | fmri-skill | fmri_output/ task results |
| Phenotype extraction | Diagnosis, clinical measures | scripts/extract_mnd_phenotype.py | Merged phenotype CSV |
| QC summary | Per-subject quality control | scripts/mnd_qc_summary.py | QC summary + exclusion list |
Dataset Characteristics
- Cohort: 59 participants
- Patient group: Motor Neuron Disease (e.g., ALS) patients
- Control group: Healthy age-matched controls
- Modalities: rs-fMRI, task-fMRI (motor tasks)
- Format: BIDS-compliant
- Access: OpenNeuro ds005874
- License: CC0
Supported Modalities
| Modality | Description | Tasks/Conditions |
|---|---|---|
| rs-fMRI | Resting-state functional MRI | Eyes open/closed |
| task-fMRI | Task-based functional MRI | Motor tasks (finger tapping, hand grip) |
MND Task Paradigms
| Task | Description | Duration |
|---|---|---|
| REST | Resting-state (eyes open/closed) | ~8 min |
| MOTOR | Motor tasks (finger tapping, hand grip) | ~5 min |
BIDS Preparation
Script: scripts/validate_mnd.py
Validates MND BIDS structure and generates a compliance report.
python skills/mnd-skill/scripts/validate_mnd.py \
--input /path/to/MND/bids \
--output /path/to/mnd_output/qc/bids_validation.csv
Features:
- BIDS directory structure validation
- Modality completeness check (rs-fMRI, task-fMRI)
- Participant group labeling (patient vs. control)
- Missing data identification
Core Workflow (Never Bypassed)
- Identify user target: full MND processing, imaging subset, phenotype extraction, or BIDS validation only.
- Generate a numbered plan with tools, outputs, runtime, storage, and risks.
- Wait for explicit confirmation (
YES/execute/proceed). - On confirmation, run BIDS validation using
scripts/validate_mnd.py. - Delegate to
smri-skillfor structural MRI processing (if available). - Delegate to
fmri-skillfor functional MRI processing (resting-state and motor task). - If phenotype extraction is requested, run
scripts/extract_mnd_phenotype.py. - If QC summary is requested, run
scripts/mnd_qc_summary.py. - Save outputs into
mnd_output/.
Modality Processing Delegation
| Modality | Delegated skill | Typical tasks | Main outputs |
|---|---|---|---|
| sMRI (T1w) | smri-skill | brain extraction, tissue segmentation | smri_output/ derivatives |
| rs-fMRI | fmri-skill | preprocessing, denoising, connectivity | fmri_output/ connectivity |
| task-fMRI | fmri-skill | motor task GLM, activation analysis | fmri_output/ task results |
Standard Output Layout
mnd_output/
├── bids/ # BIDS-staged data (or validation report)
├── smri/ # Structural MRI derivatives
├── fmri/ # Functional MRI derivatives (rest + motor)
├── phenotype/ # Merged phenotype tables (diagnosis, clinical)
├── 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 MND data validation.
- If the task starts from MND data already present on disk and only asks for BIDS validation:
- Skip the download stage
- Default to the narrow path
local MND discovery -> BIDS validation -> report
- In benchmark mode, do not require explicit confirmation before presenting the validation 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-plannerbefore running.
Important Notes and Limitations
- MND is a clinical cohort; patient data requires careful handling.
- Case-control matching should be verified before group comparisons.
- Motor tasks are designed to probe motor network function; standard motor task GLM applies.
- The dataset is relatively small (59 participants); statistical power may be limited.
mnd-skillis orchestration-only; detailed preprocessing logic remains in modality skills.
When to Call This Skill
- User asks for end-to-end MND workflow.
- User asks to process MND fMRI data.
- User needs BIDS validation for MND data.
- User asks to extract MND phenotype data (diagnosis, clinical measures).
- User asks for motor network analysis in MND patients.
Complementary / Related Skills
smri-skill→ structural MRI preprocessingfmri-skill→ functional MRI preprocessing and analysisbids-organizer→ BIDS validation and organizationbrain-visualization→ visualization of derivativesdependency-planner→ dependency resolutionconda-env-manager→ environment managementclaw-shell→ command execution
Reference
- OpenNeuro ds005874: https://openneuro.org/datasets/ds005874
Created At: 2026-05-06 13:31 HKT Last Updated At: 2026-05-06 13:31 HKT Author: chengwang96
Signals
- GitHub stars
- 85
- Forks
- 4
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
mnd-skill- Source
- github.com/cuhk-aim-group/neuroclaw