Best for
- Designing an ERP preprocessing pipeline for a new study
- Choosing filter settings, reference schemes, or artifact rejection criteria
- Identifying which ERP component to measure and how to define its time window and ROI
NeuroAIHub/BrainPilot/packages/skills/skills/05_EEG_ERP/erp-analysis/SKILL.md
Domain-validated pipeline and parameter guidance for event-related potential analysis, from preprocessing through statistical testing
Decision brief
Domain-validated pipeline and parameter guidance for event-related potential analysis, from preprocessing through statistical testing
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/NeuroAIHub/BrainPilot --skill "packages/skills/skills/05_EEG_ERP/erp-analysis"Inspect the Agent Skill "erp-analysis" from https://github.com/NeuroAIHub/BrainPilot/blob/e9ddc112cab9b1c6272dae0c8a6bdceb5c9c3880/packages/skills/skills/05_EEG_ERP/erp-analysis/SKILL.md at commit e9ddc112cab9b1c6272dae0c8a6bdceb5c9c3880. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
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.
This skill encodes expert methodological knowledge for analyzing event-related potentials (ERPs) from EEG data. It provides domain-specific parameter recommendations, processing order guidance, component identification criteria, and statistical analysis strategies that a general…
Designing an ERP preprocessing pipeline for a new study
Before executing the domain-specific steps below, you MUST:
The standard ERP preprocessing pipeline involves 7 ordered steps. Processing order matters and can influence results (the "multiverse" problem; see Lonedo et al., 2020).
Permission review
No configured static risk pattern was detected
This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.
Evidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 91/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 463 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
This skill encodes expert methodological knowledge for analyzing event-related potentials (ERPs) from EEG data. It provides domain-specific parameter recommendations, processing order guidance, component identification criteria, and statistical analysis strategies that a general-purpose programmer or data scientist would not know without specialized training.
Before executing the domain-specific steps below, 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.
The standard ERP preprocessing pipeline involves 7 ordered steps. Processing order matters and can influence results (the "multiverse" problem; see Lonedo et al., 2020).
Multiverse note: Steps 2-5 interact. Filtering before ICA improves decomposition quality (Winkler et al., 2015). Some researchers re-reference after ICA. Document your choices and consider running key alternatives to assess robustness.
For detailed parameters at each step, see references/preprocessing-pipeline.md.
| Step | Parameter | Default | Source |
|---|---|---|---|
| Filter | High-pass | 0.1 Hz | Luck, 2014, Ch. 5; Tanner et al., 2015 |
| Filter | Low-pass | 30 Hz | Luck, 2014, Ch. 5 |
| Filter | Filter type | FIR, zero-phase | Widmann et al., 2015 |
| Re-reference | Scheme | Average reference | Luck, 2014, Ch. 5; Keil et al., 2014 |
| Artifact rejection | Threshold | +/-100 uV | Luck, 2014 |
| Bad channels | Max proportion | < 10% of total channels | Keil et al., 2014 |
| Epoching | Window | -200 ms to 800 ms | Luck, 2014, Ch. 5 |
| Baseline | Window | -200 ms to 0 ms | Luck, 2014, Ch. 5 |
To measure an ERP component correctly, you need three pieces of information:
references/erp-components.mdreferences/erp-components.md before committing to a theoretical interpretation| Domain | Key Components | Reference File Section |
|---|---|---|
| Visual perception | P1, N1, N170, N2pc | erp-components.md Section 1 |
| Language | N400, P600/LPC, ELAN, LAN | erp-components.md Section 2 |
| Executive control | ERN/Ne, Pe, N2, CNV | erp-components.md Section 3 |
| Memory | FN400, parietal old/new, Dm | erp-components.md Section 4 |
Choose your measurement approach based on the component:
| Measure | Best For | Avoid When | Source |
|---|---|---|---|
| Mean amplitude | Broad components (N400, P300, LPC) | Component is sharp and brief | Luck, 2014, Ch. 9 |
| Peak amplitude | Sharp, well-defined peaks (P1, N1) | Component has no clear peak or has multiple peaks | Luck, 2014, Ch. 9 |
| Peak latency | Measuring processing speed | Component lacks a clear peak | Luck, 2014, Ch. 9 |
| 50% fractional area latency | Latency with unequal amplitudes across conditions | Rarely inappropriate; preferred over peak latency | Luck, 2014, Ch. 9; Kiesel et al., 2008 |
| Signed/unsigned area | Components spanning positive and negative voltages | Simple, unipolar components | Luck, 2014, Ch. 9 |
Critical: Never select a time window or ROI by looking at the difference between conditions. This inflates Type I error (Luck & Gaspelin, 2017).
Is your hypothesis about a specific, well-characterized component?
|
+-- YES --> Do you have a priori time window and ROI?
| |
| +-- YES --> Traditional ANOVA on mean/peak amplitude
| |
| +-- NO --> Use collapsed localizer, then ANOVA
|
+-- NO --> Is your effect potentially distributed across time/space?
|
+-- YES --> Cluster-based permutation test (Maris & Oostenveld, 2007)
|
+-- NO --> Mass univariate with FDR correction (Groppe et al., 2011)
For detailed statistical method descriptions, see references/statistical-approaches.md.
Based on Keil et al. (2014) and Luck (2014):
See references/ for detailed parameter tables, component database, and statistical method descriptions.
Frequently asked questions
Domain-validated pipeline and parameter guidance for event-related potential analysis, from preprocessing through statistical testing
The source record exposes this install command: npx skills add https://github.com/NeuroAIHub/BrainPilot --skill "packages/skills/skills/05_EEG_ERP/erp-analysis". Inspect the command and pinned source before running it.
Alternatives
JasonColapietro/suede-creator-skills
Suede-owned experimentation discipline for hypotheses, sample sizing, test duration, significance, and repeatable experiment programs. Use when comparing variants, deciding whether a result is reliable, or building an experiment backlog and cadence. NOT FOR: analytics instrumentation (use suede-analytics), post-click conversion diagnosis (use suede-site-alchemy), or writing the variant copy itself (use suede-copy).
narrative-io/narrative-skills-marketplace
Translate a fuzzy analytical question into a rigorous investigation plan. Interrogates the ask, grounds the plan in the available data dictionary, applies analytical best practices, and produces a structured brief of query specifications for a downstream query-writing skill. Plans, does not write SQL. Use when: "why did X drop", "is there a relationship between A and B", "who are our highest-value customers", "what's driving the change in Y", "investigate this trend", "design an analysis for", "
rampstackco/claude-skills
Running experiments out of the data warehouse instead of via dedicated experiment platforms. SQL-based assignment, exposure logging discipline, metric definitions in dbt models, statistical analysis in SQL or Python, variance reduction with CUPED, sequential testing, and the operational tradeoffs vs platforms like Statsig and Optimizely. Triggers on warehouse-native experimentation, run experiments in BigQuery, run experiments in Snowflake, dbt experiments, SQL t-test, CUPED variance reduction,
alirezarezvani/claude-skills
When the user wants to plan, design, or implement an A/B test or experiment. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "conversion experiment," "statistical significance," or "test this." For tracking implementation, see analytics-tracking.