Analyze Neuropixels extracellular recordings end-to-end with SpikeInterface. Covers loading SpikeGLX/Open Ephys/NWB data, preprocessing, drift/motion correction, Kilosort4 (and CPU) spike sorting, quality metrics, and unit curation (threshold-based, model-based UnitRefine, and AI-assisted visual review).
SkillScore95Maintained
Automatic
◆Research pack
Last verified 9/8/2026
What it changes
Passed 20 of 21 test cases with the skill, and 10 of 21 without it.
Without skill45%
With skill95%
Checks it passed that the model alone missed
The CLI invocation passes --curation allen.
The query tests the column isi_violations_ratio.
The command runs scripts/neuropixels_pipeline.py.
and 16 more in the full report
11 fixed10 passed either way1 still failing0 broke
Pass-rate lift
+50 pp
Tokens
+160%
Agent turns
0%
Response time
-15%
Model gemini-3.6-flashMeasured 9/8/2026v2 · latest is v321 of 22 cases passed with skill · 21 comparable
Tokens, turns and time describe resource use, not a dollar price.
This benchmark measured an earlier version of the skill.
See it in action
One of 10 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 10
Prompt
Which function and sub-module within SpikeInterface should be used to export curated sorting results to NWB format?
What was checked, without and with the skill
Checked
Without skill
With skill
Function export_to_nwb is imported from spikeinterface.exporters.
Missed
Passed
The export function receives the clean sorting analyzer.
Missed
Passed
case-16 · gemini-3.6-flash · 9/8/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md447 lines19 filesincludes scripts
Neuropixels Data Analysis
Overview
Toolkit for analyzing Neuropixels high-density neural recordings using current best
practices from SpikeInterface, the Allen
Institute, and the International Brain Laboratory (IBL). It covers the full workflow from
raw data to reviewed, curated units. Targets SpikeInterface 0.105.0,
ProbeInterface 0.4.0 and Neo 0.14.5 (reviewed 2026-10-01). Synthetic tests cover
recording contracts, preprocessing, analyzers, metrics and exports; real acquisition
files, native sorters, GPU execution and pretrained models remain illustrative.
All examples use the real SpikeInterface API (spikeinterface.full as si) plus the
companion curation module (spikeinterface.curation as sc). The skill ships runnable
scripts in scripts/ and a copy-and-edit template in assets/ that implement this
workflow directly on top of SpikeInterface — there is no separate package to install
beyond the dependencies listed under Installation.
When to Use This Skill
This skill should be used when:
Working with Neuropixels recordings (.ap.bin, .lf.bin, .meta files)
Loading data from SpikeGLX, Open Ephys, or NWB formats
Preprocessing neural recordings (filtering, common reference, bad-channel detection)