Skip to content
Back to skills

Nilearn Fmri Denoising Starter

ASecurity

Use this skill to build a tiny toy fMRI-like timeseries matrix, regress out confounds with `nilearn.signal.clean`, and summarize the denoising effect.

  • 38 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 8, 2026
ai-agentspythonbash

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add ma-compbio-lab/SkillFoundry --skill nilearn-fmri-denoising-starter --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Nilearn Fmri Denoising Starter?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Nilearn Fmri Denoising Starter
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ma-compbio-lab-nilearn-fmri-denoising-starter/badge)](https://www.skillsdirectory.com/skills/ma-compbio-lab-nilearn-fmri-denoising-starter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# 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

```bash
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`

Files in this skill

  • SKILL.md1.1 KB
  • assets/README.md90 B
  • assets/nilearn_denoising_summary.json275 B
  • examples/README.md116 B
  • metadata.yaml1.2 KB
  • refs.md171 B
  • scripts/run_nilearn_fmri_denoising.py2.6 KB
  • tests/test_run_nilearn_fmri_denoising.py1.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…