Fmri Glm Analysis Guide

Domain-validated guidance for fMRI General Linear Model specification: HRF modeling, design matrix construction, contrast definition, confound regression, and statistical inference

43 stars 6 forksAI, LLMs & Agents 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 fmri-glm-analysis-guide
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/fmri-glm-analysis-guide ~/.claude/skills/fmri-glm-analysis-guide

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

From the SKILL.md

# fMRI GLM Analysis Guide

## Purpose

The General Linear Model (GLM) is the standard statistical framework for task-based fMRI analysis. It models the observed BOLD time series as a linear combination of expected signal components (task regressors convolved with the hemodynamic response function) plus confound regressors plus noise (Poline & Brett, 2012; Poldrack et al., 2011, Ch. 4).

This skill encodes the domain-specific judgment needed to correctly specify a GLM for fMRI data. A competent programmer without neuroimaging training would get many of these decisions wrong -- choosing the wrong HRF model, setting an inappropriate high-pass filter cutoff, omitting critical confound regressors, or applying invalid statistical thresholds. Each decision described here requires understanding the biophysics of BOLD signal, the noise characteristics of fMRI data, and the statistical assumptions of the model.

## When to Use This Skill

- Specifying a first-level (single-subject) GLM for task fMRI
- Choosing HRF models, confound regressors, and temporal filtering parameters
- Defining contrasts to test experimental hypotheses
- Setting up second-level (group) analyses
- Selecting appropriate multiple comparison correction methods
- Reviewing or troubleshooting an existing fMRI analysis pipeline

## Research Planning Protocol

Before executing the domain-specific steps below, you MUST:

1. **State the research question** — What specific brain-behavior hypothesis is this GLM testing?
Read the full skill on GitHub

Details

Skill name
fmri-glm-analysis-guide
Path
skills/fmri-glm-analysis-guide/SKILL.md
License
MIT
Repo updated
13 July 2026

FAQ

What does the Fmri Glm Analysis Guide skill do?

Domain-validated guidance for fMRI General Linear Model specification: HRF modeling, design matrix construction, contrast definition, confound regression, and statistical inference

How do I install the Fmri Glm Analysis Guide 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 Fmri Glm Analysis Guide 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 ai, llms & agents skills, or write your own with the skills generator.