Nilearn fMRI Denoising Starter
SkillAI & modelsUse this skill to build a tiny toy fMRI-like timeseries matrix, regress out confounds with nilearn.signal.clean, and summarize the denoising effect.
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 Nilearn fMRI Denoising Starter skill
About this capability
A framework for discovering, compiling, and validating reusable skills for scientific agents.
What this skill tells your AI
The instructions your AI receives, as published by ma-compbio-lab/skillfoundry in skills/neuroscience-and-neuroimaging/nilearn-fmri-denoising-starter/SKILL.md and read by ahel’s review.
Use this skill to build a tiny toy fMRI-like timeseries matrix, regress out confounds with nilearn.signal.clean, and summarize the denoising effect.
What it does
- Creates deterministic toy voxel signals with known nuisance-confound structure.
- Uses
nilearn.signal.cleanto detrend, regress confounds, and standardize the cleaned output. - Returns pre/post confound-correlation summaries and cleaned-signal statistics in JSON.
When to use it
- You need a runnable starter for
fMRI preprocessing and denoising. - You want a verified local denoising example without requiring a full BIDS or fMRIPrep runtime.
Example
slurm/envs/neuro/bin/python skills/neuroscience-and-neuroimaging/nilearn-fmri-denoising-starter/scripts/run_nilearn_fmri_denoising.py \
--out scratch/neuro/nilearn_denoising_summary.json
Verification
- Skill-local tests:
python3 -m unittest discover -s skills/neuroscience-and-neuroimaging/nilearn-fmri-denoising-starter/tests -p 'test_*.py' - Repository smoke:
python3 -m unittest tests.smoke.test_phase31_frontier_leaf_conversion_skills -v
Signals
- GitHub stars
- 39
- Forks
- 5
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
nilearn-fmri-denoising-starter- Source
- github.com/ma-compbio-lab/skillfoundry