agentsclimarketplace

Nilearn fmri denoising starter

Skill ma-compbio-lab/SkillFoundry/skills/neuroscience-and-neuroimaging/nilearn-fmri-denoising-starter

A framework for discovering, compiling, and validating reusable skills for scientific agents.

Install
npx -y skills add ma-compbio-lab/SkillFoundry --skill nilearn-fmri-denoising-starter

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.1 KB, 283 tokens by cl100k_base, as published. Nobody here has run it

Nilearn fMRI Denoising Starter

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.clean to 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

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.