Matplotlib
zLanqing/codex-claude-academic-skills
Low-level plotting library for full customization. An agent skill from zLanqing/codex-claude-academic-skills.
Domain-specific visualization best practices for cognitive and neuroscience data, encoding plot type selection, color standards, and publication formatting
$ npx skills add NeuroAIHub/BrainPilot --skill cogsci-visualization -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install NeuroAIHub/BrainPilot cogsci-visualization --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/NeuroAIHub/BrainPilot.git skills-src && mkdir -p .claude/skills && cp -r skills-src/packages/skills/skills/02_Cross-Domain_Foundation/cogsci-visualization .claude/skills/cogsci-visualization && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "cogsci-visualization" agent skill from https://github.com/NeuroAIHub/BrainPilot/tree/main/packages/skills/skills/02_Cross-Domain_Foundation/cogsci-visualization into .claude/skills/cogsci-visualization/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cogsci-visualization", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/NeuroAIHub/BrainPilot/tree/main/packages/skills/skills/02_Cross-Domain_Foundation/cogsci-visualizationType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add NeuroAIHub/BrainPilot --skill cogsci-visualization -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install NeuroAIHub/BrainPilot cogsci-visualization --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/NeuroAIHub/BrainPilot.git skills-src && mkdir -p .agents/skills && cp -r skills-src/packages/skills/skills/02_Cross-Domain_Foundation/cogsci-visualization .agents/skills/cogsci-visualization && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "cogsci-visualization" agent skill from https://github.com/NeuroAIHub/BrainPilot/tree/main/packages/skills/skills/02_Cross-Domain_Foundation/cogsci-visualization into .agents/skills/cogsci-visualization/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cogsci-visualization", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add NeuroAIHub/BrainPilot --skill cogsci-visualization -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install NeuroAIHub/BrainPilot cogsci-visualization --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/NeuroAIHub/BrainPilot.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/packages/skills/skills/02_Cross-Domain_Foundation/cogsci-visualization .cursor/skills/cogsci-visualization && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "cogsci-visualization" agent skill from https://github.com/NeuroAIHub/BrainPilot/tree/main/packages/skills/skills/02_Cross-Domain_Foundation/cogsci-visualization into .cursor/skills/cogsci-visualization/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cogsci-visualization", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/NeuroAIHub/BrainPilot.git --path packages/skills/skills/02_Cross-Domain_Foundation/cogsci-visualization--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add NeuroAIHub/BrainPilot --skill cogsci-visualization -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install NeuroAIHub/BrainPilot cogsci-visualization --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/NeuroAIHub/BrainPilot.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/packages/skills/skills/02_Cross-Domain_Foundation/cogsci-visualization .gemini/skills/cogsci-visualization && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "cogsci-visualization" agent skill from https://github.com/NeuroAIHub/BrainPilot/tree/main/packages/skills/skills/02_Cross-Domain_Foundation/cogsci-visualization into .gemini/skills/cogsci-visualization/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cogsci-visualization", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install NeuroAIHub/BrainPilot cogsci-visualizationInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add NeuroAIHub/BrainPilot --skill cogsci-visualization -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/NeuroAIHub/BrainPilot.git skills-src && mkdir -p .github/skills && cp -r skills-src/packages/skills/skills/02_Cross-Domain_Foundation/cogsci-visualization .github/skills/cogsci-visualization && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "cogsci-visualization" agent skill from https://github.com/NeuroAIHub/BrainPilot/tree/main/packages/skills/skills/02_Cross-Domain_Foundation/cogsci-visualization into .github/skills/cogsci-visualization/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cogsci-visualization", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add NeuroAIHub/BrainPilot --skill cogsci-visualization -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install NeuroAIHub/BrainPilot cogsci-visualization --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/NeuroAIHub/BrainPilot.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/packages/skills/skills/02_Cross-Domain_Foundation/cogsci-visualization .opencode/skills/cogsci-visualization && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "cogsci-visualization" agent skill from https://github.com/NeuroAIHub/BrainPilot/tree/main/packages/skills/skills/02_Cross-Domain_Foundation/cogsci-visualization into .opencode/skills/cogsci-visualization/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cogsci-visualization", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
cogsci-visualizationDomain-specific visualization best practices for cognitive and neuroscience data, encoding plot type selection, color standards, and publication formatting
Cogsci Visualization is an agent skill from NeuroAIHub/BrainPilot. Domain-specific visualization best practices for cognitive and neuroscience data, encoding plot type selection, color standards, and publication formatting
Its SKILL.md is about 4.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/plot-recipes.md`).
It sits in Data & Analytics, covering Data visualization. The repository describes itself as: BrainPilot: Automating Brain Discovery with Agentic Research. The licence is AGPL-3.0.
8 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 93f6855. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
github.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Cogsci Visualization loads about 4.6k tokens when it runs, and up to ~11k if it reads all its reference files. Until then it costs about 44 tokens; SKILL.md has 2,309 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from NeuroAIHub/BrainPilot at commit 93f6855, republished under its AGPL-3.0 licence (© NeuroAIHub). 2,309 words, ~4,610 tokens.
.claude/skills/cogsci-visualization/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.This skill encodes domain-specific visualization knowledge for cognitive science and neuroscience. It covers which plot types to use for different data types, field conventions for brain data visualization, color accessibility standards, and publication formatting requirements. A general-purpose data scientist would produce suboptimal or misleading figures without this knowledge.
Before creating visualizations, you MUST:
For detailed methodology guidance, see the research-literacy skill.
This skill was generated by AI from academic literature. All parameters, thresholds, and citations require independent verification before use in research. If you find errors, please open an issue.
Use raincloud plots, NOT bar charts.
Bar charts with error bars conceal the distribution shape, hide bimodality, and can obscure important effects (Weissgerber et al., 2015). Cognitive science RT data are characteristically right-skewed with potential multimodality.
Recommended: Raincloud plots combine a half-violin (density), individual data points (jitter), and a boxplot summary (Allen et al., 2019).
| Plot Type | When to Use | When to Avoid |
|---|---|---|
| Raincloud plot | RT distributions, any continuous DV | Very large N where individual points overlap completely |
| Violin plot | Distribution shape comparison across conditions | When individual data points matter |
| Strip/jitter plot | Small to moderate N (< 100 per condition) | Very large N (overplotting) |
| Box plot | Quick summary; supplements other plots | As the only visualization (hides distribution shape) |
| Bar chart with error bars | Avoid for continuous data | Almost always; use for counts/proportions only |
| Histogram | Examining RT distribution of a single condition | Comparing across many conditions (hard to overlay) |
sqrt(k / (k-1)) where k = number of conditions)Polarity convention: There is a longstanding debate about whether to plot negative up or negative down.
| Convention | Prevalence | Journals |
|---|---|---|
| Negative up | Traditional in ERP research | Psychophysiology, most dedicated ERP journals |
| Negative down | Increasingly common; standard mathematical convention | Some cognitive neuroscience journals, Clinical Neurophysiology |
Recommendation: Follow the target journal's convention. If in doubt, negative up is the traditional ERP convention (Luck, 2014, Ch. 3). Always label the y-axis clearly with polarity.
| Purpose | Colormap | Source |
|---|---|---|
| Sequential (activation) | hot, inferno, YlOrRd | Crameri et al., 2020 |
| Diverging (activation + deactivation) | RdBu_r, coolwarm, vik | Crameri et al., 2020 |
| Perceptually uniform | viridis, magma, cividis | Crameri et al., 2020 |
| Display | When to Use | Tool |
|---|---|---|
| Orthogonal slices | Showing peak activation in a specific region | nilearn plot_stat_map |
| Glass brain | Whole-brain overview; showing distributed patterns | nilearn plot_glass_brain |
| Surface projection | Publication-quality cortical activation maps | nilearn plot_surf_stat_map, FreeSurfer |
| Montage (multi-slice) | Showing extent of activation across brain | nilearn plot_stat_map with display_mode='z' and cut_coords |
plot_connectome for 3D brain-space visualizationApproximately 8% of males and 0.5% of females have color vision deficiency (Birch, 2012). All figures must be interpretable by colorblind readers.
Recommended palettes:
| Palette | Type | Colors | Source |
|---|---|---|---|
| viridis | Sequential | Yellow-green-blue-purple | Crameri et al., 2020 |
| cividis | Sequential (optimized for CVD) | Yellow-blue | Nuñez et al., 2018 |
| Okabe-Ito | Categorical (8 colors) | #E69F00, #56B4E9, #009E73, #F0E442, #0072B2, #D55E00, #CC79A7, #000000 | Okabe & Ito, 2002 |
| viridis family (magma, inferno, plasma) | Sequential | Various | Crameri et al., 2020 |
| RdBu | Diverging | Red-white-blue | ColorBrewer; Crameri et al., 2020 |
| Parameter | Specification | Source |
|---|---|---|
| Resolution | 300 DPI minimum for print; 600 DPI for line art | APA 7th, 2020, Section 7.22 |
| Font | Sans-serif (Arial, Helvetica) 8-14 pt in the final printed figure | APA 7th, 2020, Section 7.22 |
| Line weight | 0.5-1.5 pt minimum for visibility after reduction | APA 7th, 2020 |
| Figure width | Single column: 3.3 in (84 mm); double column: 6.9 in (175 mm) | Typical journal specifications |
| File format | TIFF or EPS for print; PDF for vector; PNG for screen | Journal-specific |
| Color mode | CMYK for print; RGB for online-only | Journal-specific |
| Background | White (no gray backgrounds, no gridlines unless essential) | APA 7th, 2020 |
Problem: Bar charts conceal distribution shape, bimodality, outliers, and sample size (Weissgerber et al., 2015). Fix: Use raincloud plots, violin plots, or strip plots that show individual data points.
Problem: Two very different distributions can produce identical bar + SE plots (Weissgerber et al., 2015). Fix: Show the data. At minimum, overlay individual data points on any summary plot.
Problem: Perceptually non-uniform; creates false boundaries; misleads interpretation of gradients (Borland & Taylor, 2007). Fix: Use perceptually uniform colormaps (viridis, inferno, magma) or scientifically designed colormaps (Crameri et al., 2020).
Problem: Standard error bars include between-subject variance, which is irrelevant for within-subject comparisons (Loftus & Masson, 1994). Fix: Use within-subject CIs (Morey, 2008; Cousineau, 2005).
Problem: Showing only the single slice with the largest activation cluster misrepresents spatial extent. Fix: Show a montage of slices or a glass brain projection; share full unthresholded maps on NeuroVault.
Problem: Without a labeled color bar showing the statistical range, the reader cannot interpret the image. Fix: Always include a color bar with the statistic type (z, t, F) and the numerical range.
Problem: Mixing negative-up and negative-down within the same paper or comparing across papers without noting the convention. Fix: State the polarity convention; label the y-axis clearly; be consistent throughout.
Problem: Group means alone can mask important individual variability (e.g., bimodal response patterns in clinical populations). Fix: Overlay individual data points (jitter/strip) or show small-multiples of individual subjects.
| Data Type | Recommended Plot | Tool | Recipe Reference |
|---|---|---|---|
| RT distribution | Raincloud plot | ggrain (R) / PtitPrince (Python) | references/plot-recipes.md Recipe 1 |
| ERP waveform | Line plot with CI band | MNE-Python / ggplot2 | Recipe 2 |
| ERP topography | Topographic map | MNE-Python plot_topomap | Recipe 3 |
| fMRI activation | Glass brain or surface | nilearn | Recipe 4 |
| Accuracy by condition | Dot plot with within-subject CI | ggplot2 / matplotlib | Recipe 5 |
| Group comparison | Estimation plot (Gardner-Altman) | DABEST / dabestr | Recipe 6 |
| Time-frequency | TFR heatmap | MNE-Python | Recipe 7 |
| Correlation matrix | Clustered heatmap | seaborn / corrplot | Recipe 8 |
See references/plot-recipes.md for concrete code recipes for each visualization type.
© NeuroAIHub, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file (references) in packages/skills/skills/02_Cross-Domain_Foundation/cogsci-visualization of NeuroAIHub/BrainPilot.
Open the folder on GitHubat commit 93f6855
Cogsci Visualization next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Cogsci Visualization this skillNeuroAIHub/BrainPilot | 1.1k | — | ~4.6k | Automated safety check: Pass | AGPL-3.0 | |
| MatplotlibzLanqing/codex-claude-academic-skills | 4.6k | 18 repos | ~2.9k | Automated safety check: Pass | MIT | |
| Chart Visualizationbytedance/deer-flow | 83k | 2 repos | ~840 | Automated safety check: Pass | MIT | |
| Scientific Visualizationmims-harvard/OptimusKG | 146 | 19 repos | ~6.3k | Automated safety check: Pass | MIT | |
| SeabornzLanqing/codex-claude-academic-skills | 4.6k | 16 repos | ~4.9k | Automated safety check: Pass | BSD-3-Clause | |
| Plot From DataTrae1ounG/paper-plot-skills | 866 | 1 repos | ~583 | Automated safety check: Pass | None |
zLanqing/codex-claude-academic-skills
Low-level plotting library for full customization. An agent skill from zLanqing/codex-claude-academic-skills.
bytedance/deer-flow
Picks a suitable chart type from 26 options for your data, maps the data to that chart's parameters and generates a chart image through a JavaScript script.
mims-harvard/OptimusKG
Create publication figures with matplotlib/seaborn/plotly. An agent skill from mims-harvard/OptimusKG.
zLanqing/codex-claude-academic-skills
Statistical visualization with pandas integration. An agent skill from zLanqing/codex-claude-academic-skills.
Trae1ounG/paper-plot-skills
Generate publication-quality matplotlib figures by selecting a pre-built paper style and substituting user data.
ChenLiu-1996/figures4papers
Covers publication-ready matplotlib figures for academic papers, slides, and reports—bars, trends, scatter, heatmaps, and multi-panel layouts—with this…
NeuroAIHub/BrainPilot
Toolbox for markerless animal pose estimation with DeepLabCut.
NeuroAIHub/BrainPilot
Preprocess task-based or resting-state fMRI data with fMRIPrep — a robust, BIDS-App preprocessing pipeline built on FSL, ANTs, FreeSurfer, AFNI, and Nilearn.
NeuroAIHub/BrainPilot
Domain-validated pipeline guidance for EEG/MEG data analysis using MNE-Python: data loading, preprocessing (filtering, ICA, re-referencing), epoching, ERP/ERF computation, time-frequency…
NeuroAIHub/BrainPilot
Domain-validated guidance for network neuroscience analysis using netneurotools: datasets, brain network metrics, connectivity consensus, modularity, spatial statistics, null models, and cortical…
NeuroAIHub/BrainPilot
Submission-grade Nature/high-impact journal figure workflow for Python or R.
NeuroAIHub/BrainPilot
Domain-validated guidance for cortical surface visualization and brain surface rendering of fMRI data using pycortex: data types (Volume, Vertex, Dataset), 2D cortical flatmaps, 3D WebGL brain…
Categories
Domain-specific visualization best practices for cognitive and neuroscience data, encoding plot type selection, color standards, and publication formatting. Cogsci Visualization is an agent skill from NeuroAIHub/BrainPilot.
Cogsci Visualization fits situations like: tasks that involve Data visualization.
Run `npx skills add NeuroAIHub/BrainPilot --skill cogsci-visualization -a claude-code`. Or copy the skill folder (packages/skills/skills/02_Cross-Domain_Foundation/cogsci-visualization in NeuroAIHub/BrainPilot) into .claude/skills/cogsci-visualization in your project. Claude Code loads it when a task matches its description.
Run `npx skills add NeuroAIHub/BrainPilot --skill cogsci-visualization -a codex`. Or copy the skill folder (packages/skills/skills/02_Cross-Domain_Foundation/cogsci-visualization in NeuroAIHub/BrainPilot) into .agents/skills/cogsci-visualization in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add NeuroAIHub/BrainPilot --skill cogsci-visualization -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cogsci-visualization, .gemini/skills/cogsci-visualization, .github/skills/cogsci-visualization and .opencode/skills/cogsci-visualization in your project.
SKILL.md names no scripts, command-line tools or credentials: Cogsci Visualization is instructions for the agent only.
SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Cogsci Visualization is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 4.6k tokens (SKILL.md is roughly 18k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 6.2k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Cogsci Visualization: Matplotlib (zLanqing/codex-claude-academic-skills, 4.6k stars), Chart Visualization (bytedance/deer-flow, 83k stars), Scientific Visualization (mims-harvard/OptimusKG, 146 stars) and Seaborn (zLanqing/codex-claude-academic-skills, 4.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
NeuroAIHub (a GitHub organization) maintains it in NeuroAIHub/BrainPilot, which has 1,060 GitHub stars. The repository holds 59 skills in this directory. The repository was last updated on October 2, 2026.
Source: NeuroAIHub/BrainPilot on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.