Neuroimaging Sample Size Calculator

Simulation-based sample-size planning for neuroimaging studies using effect-size maps

43 stars 6 forksProductivity & Notes Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add NeuroAIHub/awesome_cognitive_and_neuroscience_skills

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add NeuroAIHub/awesome_cognitive_and_neuroscience_skills --skill neuroimaging-sample-size-calculator
Manual install
git clone --depth 1 https://github.com/NeuroAIHub/awesome_cognitive_and_neuroscience_skills.git /tmp/awesome_cognitive_and_neuroscience_skills
mkdir -p ~/.claude/skills
cp -r /tmp/awesome_cognitive_and_neuroscience_skills/skills/neuroimaging-sample-size-calculator ~/.claude/skills/neuroimaging-sample-size-calculator

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Neuroimaging Sample Size Calculator

## Purpose

Traditional power analysis (e.g., using G*Power for a t-test) fails for neuroimaging because it cannot account for the massive multiple comparisons problem, spatial correlation structure, or the multi-level nature of neuroimaging inference. Neuroimaging requires simulation-based approaches that generate synthetic datasets, apply the full analysis pipeline including multiple comparison correction, and estimate power as the proportion of simulations detecting the effect.

A competent programmer without neuroimaging training would use standard power formulas and dramatically overestimate the power of a whole-brain analysis. They would not know that cluster-extent thresholds, random field theory corrections, and spatial smoothness all affect the effective number of tests, nor that pilot-data-based simulation is the gold standard for neuroimaging power analysis. This skill encodes the domain-specific methodology for simulation-based sample size planning.

## When to Use This Skill

- Planning sample size for a new fMRI, EEG, or MEG study
- Conducting power analysis for a grant application or registered report
- Estimating required N when pilot data or published effect size maps are available
- Choosing between whole-brain and ROI-based analysis based on power constraints
- Evaluating the statistical adequacy of a proposed or completed study

## Research Planning Protocol
Read the full skill on GitHub

Details

Skill name
neuroimaging-sample-size-calculator
Path
skills/neuroimaging-sample-size-calculator/SKILL.md
License
MIT
Repo updated
13 July 2026

FAQ

What does the Neuroimaging Sample Size Calculator skill do?

Simulation-based sample-size planning for neuroimaging studies using effect-size maps

How do I install the Neuroimaging Sample Size Calculator skill?

Claude Code plugin: /plugin marketplace add NeuroAIHub/awesome_cognitive_and_neuroscience_skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Neuroimaging Sample Size Calculator popular?

It lives in NeuroAIHub/awesome_cognitive_and_neuroscience_skills, which has 43 GitHub stars and 6 forks.

Related skills

Browse the most popular Claude skills, all productivity & notes skills, or write your own with the skills generator.