What problem does it solve? Researchers analyzing task-based fMRI need a rigorous statistical route to detect brain activation, but building design matrices, fitting first-level and second-level GLMs, and generating contrast maps requires coordinating multiple neuroimaging tools. This Skill provides model-level guidance for running classical GLM workflows on preprocessed task fMRI data. ## Core Features & Use Cases - First-Level GLM: Builds design matrices from events and confounds, fits subject/session-level models, and computes named contrasts such as task > baseline. - Second-Level GLM: Performs group-level inference across subjects using one-sample, two-sample, or covariate-adjusted design matrices, producing group z maps and statistical summaries. - Use Case: A neuroimaging researcher with preprocessed BOLD data and event timing files for 30 subjects uses this Skill to compute per-subject contrast maps, then runs a second-level analysis to identify group-level activation differences between conditions. ## Quick Start Ask the assistant to run a first-level GLM on your preprocessed task fMRI data with your events file and TR, producing contrast and z maps in the output directory.