NiBabel NIfTI Summary Starter

SkillAI & models

Use this skill to generate or load a small NIfTI image with nibabel and summarize the core shape, affine, zoom, and unit metadata.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the NiBabel NIfTI Summary 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/nibabel-nifti-summary-starter/SKILL.md and read by ahel’s review.

Use this skill to generate or load a small NIfTI image with nibabel and summarize the core shape, affine, zoom, and unit metadata.

What it does

  • Builds a deterministic toy 4D neuroimaging volume when no input file is supplied.
  • Saves the image to disk when requested and reloads it through nibabel.
  • Reports shape, voxel sizes, affine determinant, basic intensity statistics, and header units.

When to use it

  • You need a runnable starter for Neuroimaging I/O and formats.
  • You want a verified example of NIfTI creation and inspection before moving to larger neuroimaging pipelines.

Example

slurm/envs/neuro/bin/python skills/neuroscience-and-neuroimaging/nibabel-nifti-summary-starter/scripts/run_nibabel_nifti_summary.py \
  --nifti-out scratch/neuro/toy_bold.nii.gz \
  --out scratch/neuro/toy_bold_summary.json

Verification

  • Skill-local tests: python3 -m unittest discover -s skills/neuroscience-and-neuroimaging/nibabel-nifti-summary-starter/tests -p 'test_*.py'
  • Repository smoke: python3 -m unittest tests.smoke.test_phase30_empty_domain_seed_skills -v

Signals

GitHub stars
39
Forks
5
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
nibabel-nifti-summary-starter
Source
github.com/ma-compbio-lab/skillfoundry