Agent skill · Documentation

glm

Use this model doc whenever the user wants to run a classical General Linear Model (GLM) for task-evoked fMRI activation analysis. This is a non-deep-learning model route focused on design matrices, first-level/second-level statistics, and statistical maps.

BioTender-maxgithub.com/BioTender-maxGitHub ↗
claude-codeNOASSERTION
Install
npx skills add BioTender-max/awesome-bio-agent-skills --skill glm --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 5 KB
Bundled scripts: none
Requires: - fmri-skill - nilearn-tool - run_models
Path: skills/neuroclaw/glm/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 135
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# GLM Model Doc ## Overview GLM refers to the classical General Linear Model used for task-based fMRI activation analysis. - Model family: non-deep-learning statistical model - Typical objectives: - first-level GLM for subject/session-level task activation analysis - second-level GLM for group-level inference across subjects - Primary input: preprocessed task fMRI, events, TR, optional confounds, optional brain mask - Primary output: first-level contrast maps, second-level z maps, thresholded activation maps, region-level summaries In NeuroClaw, this document is model-level guidance for statistical activation workflows rather than phenotype prediction. Upstream preparation should usually be delegated to: - `fmri-skill` for task-fMRI preprocessing and confounds preparation - `nilearn-tool` for concrete GLM fitting, design matrix construction, and statistical map generation **Research use only.** --- ## Quick Start ### 1) Prepare task-fMRI inputs Expected inputs: - preprocessed task BOLD image - events TSV/CSV with onset, duration, trial type - repetition time (`TR`) - optional confounds TSV - optional mask image These should be prepared before model fitting. If not ready, delegate t

What's inside
Steps it walks through
  1. Overview
  2. Quick Start
  3. 1) Prepare task-fMRI inputs
  4. 2) Typical first-level GLM flow
  5. 3) Second-level GLM (group-level inference)
  6. Input / Output Contract
  7. Required inputs
  8. Optional inputs
  9. Produced outputs
  10. Recommended Delegation
  11. When to Use GLM Instead of Deep Learning
  12. Limitations and Notes
  13. Reference
Commands it runs
delegated through claw-shell after preprocessing is confirmed
python skills/nilearn-tool/scripts/task_glm_reference.py \
delegated through claw-shell after subject-level contrasts are prepared
python skills/nilearn-tool/scripts/second_level_glm_reference.py \
More from awesome-bio-agent-skills
All skills →
About this skill
What does the glm skill do?

Use this model doc whenever the user wants to run a classical General Linear Model (GLM) for task-evoked fMRI activation analysis. This is a non-deep-learning model route focused on design matrices, first-level/second-level statistics, and statistical maps.

How do I install it?

Run `npx skills add BioTender-max/awesome-bio-agent-skills --skill glm --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From BioTender-max/awesome-bio-agent-skills, a repository with 135 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going