ucla-cnp-skill

Orchestrates BIDS validation and multimodal processing of the UCLA CNP neuroimaging dataset.

89|5|Updated Mar 25, 2026
One-click install
npx skills add https://github.com/CUHK-AIM-Group/NeuroDiscovery --skill ucla-cnp-skill-cuhk-aim-group
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ucla-cnp-skill
Source: https://github.com/CUHK-AIM-Group/NeuroDiscovery/tree/main/skills/ucla-cnp-skill
Command: npx skills add https://github.com/CUHK-AIM-Group/NeuroDiscovery --skill ucla-cnp-skill-cuhk-aim-group

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandas, and includes scripts (resource) components.

What problem does it solve? Processing the UCLA CNP (Consortium for Neuropsychiatric Phenomics) dataset requires coordinating BIDS validation, structural MRI, task-fMRI, and diffusion MRI pipelines plus phenotype extraction, which is error-prone when done manually across multiple tools. ## Core Features & Use Cases - BIDS Validation: Checks UCLA CNP directory structure, modality completeness (T1w, task-fMRI, dMRI), and task paradigm presence, producing a per-subject compliance report. - Multimodal Delegation: Routes sMRI, task-fMRI, and dMRI processing to dedicated modality skills with a confirmed, numbered execution plan. - Phenotype Extraction & QC: Merges diagnosis, cognitive battery, and clinical scores into a single CSV and generates per-subject QC summaries with exclusion lists based on framewise displacement thresholds. - Use Case: A researcher downloads OpenNeuro ds000030 and asks to validate the BIDS structure, process all three modalities, and merge diagnostic and cognitive phenotype data for a schizophrenia vs. control group comparison. ## Quick Start Run the UCLA CNP pipeline on my local BIDS dataset at /data/ds000030, starting with BIDS validation and then processing sMRI, task-fMRI, and dMRI with a merged phenotype table.

Frequently Asked Questions about ucla-cnp-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I process the UCLA CNP dataset end to end?

Provide the path to your local UCLA CNP BIDS data and request the full pipeline. The skill generates a numbered plan covering BIDS validation, sMRI, task-fMRI, and dMRI processing, waits for your confirmation, then delegates each step to the appropriate modality skill.

How do I validate UCLA CNP BIDS structure?

Run the validate_ucla_cnp.py script with --input pointing to the BIDS root and --output for the report path. It checks T1w, task-fMRI, and dMRI presence per subject and verifies expected task paradigms like stopsignal and spatialwm.

What modalities and diagnostic groups does UCLA CNP include?

UCLA CNP (OpenNeuro ds000030) contains T1w structural MRI, task-fMRI across multiple cognitive paradigms, and diffusion MRI. It covers roughly 270 participants across healthy control, ADHD, bipolar disorder, and schizophrenia groups.

Can I run only BIDS validation without full processing?

Yes. If your data is already on disk and you only need validation, the skill takes a narrow path of local discovery, BIDS validation, and reporting, skipping download and the full multimodal orchestration.

How are subjects excluded during UCLA CNP quality control?

The QC script reads fMRIPrep confounds files and computes mean framewise displacement per subject. Subjects exceeding the FD threshold (default 0.3 mm) are flagged with exclusion reasons in the QC summary and an optional exclusion list CSV.

What are the limitations of the UCLA CNP orchestration skill?

The skill is orchestration-only and contains no preprocessing implementation; all execution is delegated to modality skills like smri-skill, fmri-skill, and dwi-skill. Group comparisons should also account for unequal sample sizes across the four diagnostic groups.