Bayesian Cognitive Model Builder

Domain-validated guidance for building hierarchical Bayesian cognitive models with Stan/PyMC: prior specification, model structure, MCMC diagnostics, and posterior predictive checks

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 bayesian-cognitive-model-builder
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/bayesian-cognitive-model-builder ~/.claude/skills/bayesian-cognitive-model-builder

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

From the SKILL.md

# Bayesian Cognitive Model Builder

## Purpose

This skill encodes expert knowledge for building hierarchical Bayesian cognitive models using probabilistic programming languages (Stan, PyMC). It addresses the modeling decisions that require domain expertise beyond knowing Stan/PyMC syntax: how to choose priors that respect cognitive constraints, when to use hierarchical structure, how to diagnose MCMC pathologies, and how to evaluate model adequacy through posterior predictive checks.

A competent programmer without cognitive modeling training would get wrong: which prior families are appropriate for cognitive parameters (e.g., RT must be positive, learning rates bounded in [0,1]), when partial pooling outperforms complete pooling or no pooling, how to detect non-identifiability in cognitive models, and what constitutes adequate MCMC convergence for publishable results.

## When to Use This Skill

- Building a generative model of a cognitive process (decision-making, learning, memory, perception) where parameters have psychological interpretations
- Estimating individual differences in cognitive parameters while borrowing strength across participants (hierarchical/multilevel models)
- Working with small samples or sparse data per participant where regularization through priors prevents overfitting
- Parameter uncertainty matters for your scientific conclusions (credible intervals, not just point estimates)
Read the full skill on GitHub

Details

Skill name
bayesian-cognitive-model-builder
Path
skills/bayesian-cognitive-model-builder/SKILL.md
License
MIT
Repo updated
13 July 2026

FAQ

What does the Bayesian Cognitive Model Builder skill do?

Domain-validated guidance for building hierarchical Bayesian cognitive models with Stan/PyMC: prior specification, model structure, MCMC diagnostics, and posterior predictive checks

How do I install the Bayesian Cognitive Model Builder 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 Bayesian Cognitive Model Builder 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.