Agent skill

Neural Population Analysis Guide

by NeuroAIHub in NeuroAIHub/BrainPilot

Guides dimensionality reduction and latent-variable analysis of neural populations (PCA, GPFA, dPCA)

AGPL-3.0Auto-check passed

Install Neural Population Analysis Guide

skills CLI
$ npx skills add NeuroAIHub/BrainPilot --skill neural-population-analysis-guide -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install NeuroAIHub/BrainPilot neural-population-analysis-guide --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/NeuroAIHub/BrainPilot.git skills-src && mkdir -p .claude/skills && cp -r skills-src/packages/skills/skills/08_Computational_Neuroscience/neural-population-analysis-guide .claude/skills/neural-population-analysis-guide && rm -rf skills-src

Use ~/.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/

Facts

Skill name
neural-population-analysis-guide
GitHub stars
1.1k
Token cost
~4.5k tokens
SKILL.md length
2,060 words
Files
3 (incl. references)
Skills in repo
59
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Guides dimensionality reduction and latent-variable analysis of neural populations (PCA, GPFA, dPCA)

  • Works in 6 steps: Using Standard Z-Scoring Instead of Soft… → Interpreting t-SNE/UMAP Distances as… → Using Percent Variance Explained to… → …
  • SKILL.md covers Purpose, When to Use This Skill, Research Planning Protocol and ⚠️ Verification Notice, plus 7 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Neural Population Analysis Guide is an agent skill from NeuroAIHub/BrainPilot. Guides dimensionality reduction and latent-variable analysis of neural populations (PCA, GPFA, dPCA)

Its SKILL.md is about 4.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/data-requirements.md` and `references/method-comparison.md`).

The repository describes itself as: BrainPilot: Automating Brain Discovery with Agentic Research. The licence is AGPL-3.0.

Example prompts

  • “Use the neural-population-analysis-guide skill to guide dimensionality reduction and latent-variable analysis of neural populations (PCA, GPFA, dPCA)”
  • “/neural-population-analysis-guide”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Using Standard Z-Scoring Instead of Soft Normalization
  2. Interpreting t-SNE/UMAP Distances as Meaningful
  3. Using Percent Variance Explained to Choose Dimensionality
  4. Applying GPFA to Condition-Averaged Data
  5. Ignoring Neuron Count Requirements
  6. Not Cross-Validating dPCA Regularization

What it can do on your machine

Read from SKILL.md and the folder at commit 93f6855. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    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.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Neural Population Analysis Guide loads about 4.5k tokens when it runs, and up to ~7.6k if it reads all its reference files. Until then it costs about 33 tokens; SKILL.md has 2,060 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~33
When it runs · the whole SKILL.md, loaded when a task matches
~4.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~7.6k

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from NeuroAIHub/BrainPilot at commit 93f6855, republished under its AGPL-3.0 licence (© NeuroAIHub). 2,060 words, ~4,492 tokens.

Download SKILL.mdSave it as .claude/skills/neural-population-analysis-guide/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
neural-population-analysis-guide
description
Guides dimensionality reduction and latent-variable analysis of neural populations (PCA, GPFA, dPCA)
domain
computational-neuroscience
version
1.0.0
authors
Claude Code Agent
papers
Cunningham & Yu, 2014, Yu et al., 2009, Kobak et al., 2016, Churchland et al., 2012, King & Dehaene, 2014, Humphries, 2021
dependencies.required
research-literacy
dependencies.recommended
neural-decoding-analysis
review_status
ai-generated

Neural Population Analysis Guide

Purpose

This skill encodes expert methodological knowledge for dimensionality reduction and latent-variable analysis of neural population recordings. A competent programmer without computational neuroscience training will get this wrong because:

  • Not all dimensionality reduction is the same. PCA, Factor Analysis, GPFA, and dPCA answer fundamentally different questions about neural data. PCA finds axes of maximum variance; dPCA demixes variance by task parameter; GPFA extracts smooth single-trial trajectories. Choosing the wrong method answers the wrong question (Cunningham & Yu, 2014).
  • Standard data science preprocessing destroys neural signal. Naive z-scoring or standard scaling of neural firing rates removes important information about rate differences across neurons. Soft normalization is required (Churchland et al., 2012).
  • Visualization methods are not analysis methods. t-SNE and UMAP produce visually compelling low-dimensional embeddings but their distances are not interpretable, axes are not meaningful, and results are sensitive to hyperparameters. They must never be used for quantitative inference (Cunningham & Yu, 2014).
  • Dimensionality is not determined by "percent variance explained." There is no universal threshold (e.g., 90%) for choosing the number of PCs. Parallel analysis or cross-validation is required to determine true dimensionality (Humphries, 2021).

When to Use This Skill

  • Analyzing simultaneously recorded neural populations (multi-electrode arrays, Neuropixels, calcium imaging)
  • Choosing between PCA, Factor Analysis, GPFA, dPCA, jPCA, or nonlinear methods
  • Extracting low-dimensional neural trajectories from spike trains
  • Demixing neural variance by task parameters (stimulus, decision, time)
  • Setting up population decoding analyses with temporal generalization
  • Determining data requirements (neuron counts, trial counts) for population analyses

Do NOT use this skill for:

  • Single-neuron tuning curve analysis (this is a different analytical framework)
  • Spike sorting or preprocessing of raw electrophysiology (upstream of this skill)
  • fMRI multivariate pattern analysis (see neural-decoding-analysis skill instead)

Research Planning Protocol

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

  1. State the research question -- What specific question is this analysis/paradigm addressing?
  2. Justify the method choice -- Why is this approach appropriate? What alternatives were considered?
  3. Declare expected outcomes -- What results would support vs. refute the hypothesis?
  4. Note assumptions and limitations -- What does this method assume? Where could it mislead?
  5. Present the plan to the user and WAIT for confirmation before proceeding.

For detailed methodology guidance, see the research-literacy skill.


⚠️ Verification Notice

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.

When to Use Population Analysis vs. Single-Neuron Analysis

Single-neuron analysis characterizes individual tuning curves and response properties. Population analysis characterizes the collective, low-dimensional structure of neural activity. Use population analysis when (Cunningham & Yu, 2014):

  • Neural responses are distributed across many neurons with no single neuron carrying the full signal
  • You want to characterize the geometry of neural representations (e.g., are stimulus and decision signals orthogonal?)
  • You want to track trajectories of population activity over time during behavior
  • Single-neuron tuning is mixed or complex, making classical tuning curve approaches uninformative
  • You have simultaneous recordings from tens to hundreds of neurons

Domain judgment: Population analysis does NOT require that individual neurons be untuned. Even populations of well-tuned neurons have emergent low-dimensional structure that single-neuron analyses miss. The question is whether the research question is about individual neuron properties or collective population geometry (Cunningham & Yu, 2014).


Method Selection Decision Tree

What is your research question?
|
+-- "What are the dominant patterns of co-variation across the population?"
| --> PCA (linear, static)
| Simplest method; start here
| Output: principal components, variance explained, projections
|
+-- "What are the smooth latent trajectories on single trials?"
| --> GPFA (Yu et al., 2009) or Factor Analysis
| For temporal structure; extracts trial-by-trial dynamics
| Output: latent trajectories per trial, dimensionality estimate
|
+-- "How is variance distributed across task parameters?"
| --> dPCA (Kobak et al., 2016)
| Demixes stimulus, decision, time, and interaction variance
| Output: demixed components, marginalization pie chart
|
+-- "Are there rotational dynamics in the population?"
| --> jPCA (Churchland et al., 2012)
| Finds rotational structure in neural trajectories
| Output: rotational plane projections, R^2 of rotational fit
|
+-- "I want to visualize population structure in 2-3D"
 --> t-SNE or UMAP -- VISUALIZATION ONLY
 NOT for quantitative analysis or distance comparisons
 Output: 2D/3D embedding (qualitative only)

PCA for Neural Data

Preprocessing Before PCA
  1. Trial averaging vs. single-trial: Trial-averaged PCA smooths out single-trial variability and is appropriate when the question is about condition-mean trajectories. Single-trial PCA preserves trial-to-trial variability but requires more data (Cunningham & Yu, 2014).

  2. Soft normalization (CRITICAL): Do NOT use standard z-scoring (subtract mean, divide by SD). This eliminates firing rate differences that carry information. Instead, use soft normalization (Churchland et al., 2012):

normalized_rate = (rate - mean) / (range + constant)

where constant is typically 5 spikes/s (Churchland et al., 2012). This prevents low-firing neurons from dominating due to noise amplification while preserving rate differences.

  1. Square-root transform: An alternative normalization for Poisson-like spike counts: sqrt(mean firing rate + constant) (Churchland et al., 2012). Stabilizes variance across neurons with different firing rates.

  2. Mean subtraction: Subtract the condition-averaged PSTH across all conditions from each condition. This removes the shared temporal modulation and focuses PCA on condition-discriminating variance (Kobak et al., 2016).

Determining Dimensionality
MethodDescriptionWhen to UseSource
Parallel analysisCompare eigenvalues to those from shuffled dataRecommended default; principled thresholdHumphries, 2021
Cross-validated PCAHold out neurons or time bins; test reconstructionAvoids overfitting; gold standardCunningham & Yu, 2014
Scree plot elbowSubjective visual inspectionQuick but unreliable; avoid for publicationExpert consensus
Percent variance thresholde.g., "keep PCs explaining 90%"NOT recommended; arbitrary thresholdHumphries, 2021

Domain judgment: There is no fixed variance-explained threshold for choosing the number of PCs. The "90% rule" from data science is meaningless for neural data because it confounds signal dimensionality with noise. Use parallel analysis (compare eigenvalues to those expected from random data with matched statistics) or cross-validation (Humphries, 2021).

Cross-Validated PCA

To avoid overfitting dimensionality estimates:

  1. Split neurons into two halves (or use leave-one-neuron-out)
  2. Fit PCA on one half
  3. Project the other half onto the PCs
  4. Measure reconstruction error as a function of the number of PCs
  5. Choose dimensionality where held-out reconstruction stops improving

This is especially critical with small neuron counts (<50 neurons) where noise dimensions can mimic signal dimensions (Cunningham & Yu, 2014).


GPFA -- Gaussian Process Factor Analysis

GPFA extracts smooth, low-dimensional latent trajectories from single-trial spike trains by combining factor analysis with Gaussian process temporal smoothing (Yu et al., 2009).

When to Use GPFA
  • You need single-trial latent trajectories (not just condition averages)
  • The research question involves trial-to-trial variability in population dynamics
  • You want an estimate of dimensionality that accounts for temporal smoothness
Key Parameters
ParameterRecommended ValueRationaleSource
Bin size20--50 msSmaller bins preserve temporal resolution but increase noise; 20 ms is standard for motor cortexYu et al., 2009
Latent dimensionsCross-validateFit models with 2--15 dimensions; select by leave-one-neuron-out cross-validation log-likelihoodYu et al., 2009
GP timescale (tau)Learned from dataEach latent dimension has its own timescale; inspect for biologically plausible values (10--500 ms)Yu et al., 2009
Data Requirements
  • Minimum simultaneously recorded neurons: ~50--100 for stable latent trajectories; below 30, estimates become unreliable (Yu et al., 2009; Cunningham & Yu, 2014)
  • Trial count: 50+ trials per condition for reliable single-trial extraction (Yu et al., 2009)
  • Stationarity assumption: GPFA assumes the mapping from latent variables to neurons is fixed across all trials in the dataset. Non-stationarities (e.g., learning, drift) violate this assumption

Domain judgment: GPFA is NOT simply "smoothed PCA." Factor analysis and PCA make different assumptions about noise structure. PCA treats all variance as signal; factor analysis separates shared (signal) variance from private (noise) variance per neuron. GPFA adds temporal smoothness to the shared component. This distinction matters when neurons have heterogeneous noise levels (Yu et al., 2009).


dPCA -- Demixed Principal Component Analysis

dPCA finds linear projections that capture maximum variance attributable to specific task parameters (e.g., stimulus identity, decision, time, and their interactions), rather than maximum total variance like PCA (Kobak et al., 2016).

When to Use dPCA
  • You have a factorial experimental design with multiple task parameters
  • You want to know how much population variance is explained by each parameter
  • You want to visualize how stimulus, decision, and temporal signals are mixed or separated in the population
Show full SKILL.md (846 more words)Show less
Key Procedures
  1. Marginalization: Partition the data tensor by task parameter (e.g., average over all decisions to isolate stimulus variance). dPCA finds components that maximize variance within each marginalization (Kobak et al., 2016).

  2. Regularization: The regularization parameter lambda controls the tradeoff between demixing (fidelity to marginalization) and reconstruction (total variance captured). Select lambda by cross-validation (Kobak et al., 2016):

  • Hold out a subset of trials
  • Fit dPCA on remaining trials for a range of lambda values
  • Choose lambda that minimizes reconstruction error on held-out trials
  1. Significance testing: Use a shuffle test to determine whether each component captures significantly more marginalized variance than expected by chance:
  • Shuffle condition labels for the parameter of interest (1000+ iterations)
  • Recompute dPCA on shuffled data
  • Compare observed marginalized variance to the null distribution (Kobak et al., 2016)
  1. Marginalization pie chart: Report the proportion of total variance explained by each marginalization (stimulus, decision, time, interaction). This provides a concise summary of how the population mixes task variables (Kobak et al., 2016).
Data Requirements
  • Trial counts: 20+ trials per condition minimum; more for stable interaction terms (Kobak et al., 2016)
  • Neuron counts: Works with as few as 20--30 neurons but more reliable with 50+ (Kobak et al., 2016)
  • Factorial design: dPCA requires a balanced factorial design; missing conditions or severely unbalanced cell sizes degrade performance

Population Decoding

Classifier Selection for Neural Populations
ClassifierWhen to UseSource
Linear SVMDefault; robust for high-dimensional population dataCunningham & Yu, 2014
LDAWhen number of neurons << number of trialsCunningham & Yu, 2014
Logistic RegressionWhen probability estimates are neededCunningham & Yu, 2014
Cross-Validation for Neural Data
StrategyWhen to UseSource
Leave-one-trial-outSmall trial counts; maximizes training dataCunningham & Yu, 2014
Stratified k-fold (k=5--10)Sufficient trials; balances bias/varianceCunningham & Yu, 2014
Temporal Generalization Matrix

Train a classifier at time t, test at all times t'. The resulting matrix reveals dynamics of neural coding (King & Dehaene, 2014):

  • Diagonal pattern: Transient coding; neural representation changes over time
  • Block pattern: Stable, sustained representation
  • Off-diagonal: Reactivation of earlier representations

See the neural-decoding-analysis skill for detailed guidance on temporal generalization.


Common Pitfalls

1. Using Standard Z-Scoring Instead of Soft Normalization

Standard z-scoring (subtract mean, divide by SD) amplifies noise from low-firing neurons and eliminates informative rate differences. Always use soft normalization or square-root transform for neural population data (Churchland et al., 2012).

2. Interpreting t-SNE/UMAP Distances as Meaningful

t-SNE and UMAP distort distances, create spurious clusters, and are sensitive to hyperparameters (perplexity, n_neighbors). They are useful for visualization but must NEVER be used for quantitative claims about distance, clustering, or dimensionality (Cunningham & Yu, 2014).

3. Using Percent Variance Explained to Choose Dimensionality

There is no universal threshold. The correct approach is parallel analysis (compare to null eigenvalue distribution) or cross-validated reconstruction (Humphries, 2021).

4. Applying GPFA to Condition-Averaged Data

GPFA is designed for single-trial data. Applying it to trial-averaged PSTHs defeats its purpose (separating shared latent signal from private noise) and provides no advantage over PCA (Yu et al., 2009).

5. Ignoring Neuron Count Requirements

Population analyses have minimum neuron requirements for reliable estimates. Below ~30 simultaneously recorded neurons, dimensionality estimates from PCA are dominated by noise; GPFA latent trajectories become unstable below ~50 neurons (Cunningham & Yu, 2014; Yu et al., 2009).

6. Not Cross-Validating dPCA Regularization

Using default or arbitrary regularization parameters in dPCA can either over-demix (fitting noise) or under-demix (missing true task-related structure). Always cross-validate lambda (Kobak et al., 2016).


Minimum Reporting Checklist

Based on Cunningham & Yu (2014), Kobak et al. (2016), and Yu et al. (2009):

  • Number of simultaneously recorded neurons and recording method
  • Neuron inclusion criteria (e.g., minimum firing rate, signal quality)
  • Normalization method (soft normalization constant, or square-root transform)
  • Method used and justification (PCA, GPFA, dPCA, jPCA)
  • Dimensionality selection method (parallel analysis, cross-validation) and chosen dimensionality
  • For GPFA: bin size, number of latent dimensions, learned GP timescales
  • For dPCA: regularization parameter, cross-validation procedure, shuffle test results
  • Trial counts per condition
  • Variance explained (total and per component/marginalization)
  • Software and version used (e.g., GPFA code from Yu et al., dPCA Python/MATLAB toolbox)

Key References

  • Churchland, M. M., Cunningham, J. P., Kaufman, M. T., Foster, J. D., Nuyujukian, P., Ryu, S. I., & Shenoy, K. V. (2012). Neural population dynamics during reaching. Nature, 487(7405), 51--56.
  • Cunningham, J. P., & Yu, B. M. (2014). Dimensionality reduction for large-scale neural recordings. Nature Neuroscience, 17(11), 1500--1509.
  • Humphries, M. D. (2021). Strong and weak principles of neural dimension reduction. Neuron, 109(8), 1230--1234.
  • King, J.-R., & Dehaene, S. (2014). Characterizing the dynamics of mental representations: The temporal generalization method. Trends in Cognitive Sciences, 18(4), 203--210.
  • Kobak, D., Brendel, W., Constantinidis, C., Feierstein, C. E., Kepecs, A., Mainen, Z. F., Qi, X.-L., Romo, R., Uchida, N., & Machens, C. K. (2016). Demixed principal component analysis of neural population data. eLife, 5, e10989.
  • Yu, B. M., Cunningham, J. P., Santhanam, G., Ryu, S. I., Shenoy, K. V., & Sahani, M. (2009). Gaussian-process factor analysis for low-dimensional single-trial analysis of neural population activity. Journal of Neurophysiology, 102(1), 614--635.

See references/method-comparison.md for detailed parameter tables and software recommendations. See references/data-requirements.md for minimum neuron and trial count guidelines by method.

© 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

Files

SKILL.md and 2 other files (references) in packages/skills/skills/08_Computational_Neuroscience/neural-population-analysis-guide of NeuroAIHub/BrainPilot.

  • SKILL.md
  • references/data-requirements.md
  • references/method-comparison.md

Open the folder on GitHubat commit 93f6855

Compare with similar skills

Neural Population Analysis Guide 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.

Neural Population Analysis Guide compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Neural Population Analysis Guide this skillNeuroAIHub/BrainPilot1.1k—~4.5kAutomated safety check: PassAGPL-3.0
Pca Dimensionality Reductionaipoch/medical-research-skills1.9k—~1.5kAutomated safety check: PassMIT
Neural Trainingruvnet/ruflo74k1 repos~432Automated safety check: PassMIT
Write Guidevercel/next.js143k—~1.6kAutomated safety check: PassMIT
Design Guidepaperclipai/paperclip100k1 repos~3.1kAutomated safety check: PassMIT
Agent Neural Networkruvnet/ruflo74k2 repos~965Automated safety check: PassMIT

Similar skills

  • Pca Dimensionality Reduction

    aipoch/medical-research-skills

    A skill your agent uses when performing PCA principal component dimensionality reduction on tabular numeric data.

    1.9k GitHub stars~1.5k tokensUpdated 24 days ago
    Data & AnalyticsAuto-check passed
  • Neural Training

    ruvnet/ruflo

    Neural pattern training with SONA (Self-Optimizing Neural Architecture), MoE (Mixture of Experts), and EWC++ for knowledge consolidation.

    74k GitHub starsUsed in 1 repo~432 tokens
    Auto-check passed
  • Write Guide

    vercel/next.js

    Official

    Generates technical guides that teach real-world use cases through progressive examples.

    143k GitHub stars~1.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Design Guide

    paperclipai/paperclip

    Paperclip UI design system guide for building consistent, reusable frontend components.

    100k GitHub starsUsed in 1 repo~3.1k tokens
    Frontend & DesignAuto-check passed
  • Agent skill for neural-network - invoke with $agent-neural-network

    74k GitHub starsUsed in 2 repos~965 tokens
    AI & LLM EngineeringAuto-check passed
  • Agent Safla Neural

    ruvnet/ruflo

    Agent skill for safla-neural - invoke with $agent-safla-neural

    74k GitHub starsUsed in 2 repos~721 tokens
    Agent WorkflowsAuto-check passed

More from NeuroAIHub/BrainPilot

All 59 skills in this repo
  • Deeplabcut

    NeuroAIHub/BrainPilot

    Toolbox for markerless animal pose estimation with DeepLabCut.

    1.1k GitHub stars~1.7k tokensUpdated 8 days ago
    Auto-check passed
  • Fmriprep

    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.

    1.1k GitHub stars~4.1k tokensUpdated 8 days ago
    Auto-check passed
  • Mne Python Guide

    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…

    1.1k GitHub stars~2.3k tokensUpdated 8 days ago
    Auto-check passed
  • Netneurotools Guide

    NeuroAIHub/BrainPilot

    Domain-validated guidance for network neuroscience analysis using netneurotools: datasets, brain network metrics, connectivity consensus, modularity, spatial statistics, null models, and cortical…

    1.1k GitHub stars~2.6k tokensUpdated 8 days ago
    Auto-check passed
  • Nature Figure

    NeuroAIHub/BrainPilot

    Submission-grade Nature/high-impact journal figure workflow for Python or R.

    1.1k GitHub starsUsed in 1 repo~1.3k tokens
    Auto-check passed
  • Pycortex Guide

    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…

    1.1k GitHub stars~1.6k tokensUpdated 8 days ago
    Auto-check passed

Questions about Neural Population Analysis Guide

What does Neural Population Analysis Guide do?

Guides dimensionality reduction and latent-variable analysis of neural populations (PCA, GPFA, dPCA). Neural Population Analysis Guide is an agent skill from NeuroAIHub/BrainPilot.

How do I install Neural Population Analysis Guide in Claude Code?

Run `npx skills add NeuroAIHub/BrainPilot --skill neural-population-analysis-guide -a claude-code`. Or copy the skill folder (packages/skills/skills/08_Computational_Neuroscience/neural-population-analysis-guide in NeuroAIHub/BrainPilot) into .claude/skills/neural-population-analysis-guide in your project. Claude Code loads it when a task matches its description.

How do I install Neural Population Analysis Guide in Codex?

Run `npx skills add NeuroAIHub/BrainPilot --skill neural-population-analysis-guide -a codex`. Or copy the skill folder (packages/skills/skills/08_Computational_Neuroscience/neural-population-analysis-guide in NeuroAIHub/BrainPilot) into .agents/skills/neural-population-analysis-guide in your project. Codex loads it when a task matches its description.

Can I use Neural Population Analysis Guide in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add NeuroAIHub/BrainPilot --skill neural-population-analysis-guide -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/neural-population-analysis-guide, .gemini/skills/neural-population-analysis-guide, .github/skills/neural-population-analysis-guide and .opencode/skills/neural-population-analysis-guide in your project.

What does Neural Population Analysis Guide need to run?

SKILL.md names no scripts, command-line tools or credentials: Neural Population Analysis Guide is instructions for the agent only.

Does Neural Population Analysis Guide access the network?

SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.

Is Neural Population Analysis Guide safe to install?

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.

What licence does Neural Population Analysis Guide use?

Neural Population Analysis Guide 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.

How many tokens does Neural Population Analysis Guide use?

About 4.5k 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 3.1k tokens, read only when the agent opens those files.

What are the alternatives to Neural Population Analysis Guide?

Skills that share tags, products or a category with Neural Population Analysis Guide: Pca Dimensionality Reduction (aipoch/medical-research-skills, 1.9k stars), Neural Training (ruvnet/ruflo, 74k stars), Write Guide (vercel/next.js, 143k stars) and Design Guide (paperclipai/paperclip, 100k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Neural Population Analysis Guide?

NeuroAIHub (a GitHub organization) maintains it in NeuroAIHub/BrainPilot, which has 1,062 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.