This is a complete pipeline for analyzing Neuropixels neural recordings, from loading raw SpikeGLX or Open Ephys data through spike sorting with Kilosort4 and unit curation using Allen Institute or IBL criteria. It wraps SpikeInterface with sensible defaults for preprocessing (highpass filtering, bad channel detection, common average referencing), motion correction, and quality metrics computation. The AI-assisted curation feature is genuinely useful for borderline units where SNR sits in that awkward 3-8 range. Built for both Neuropixels 1.0 and 2.0 probes. If you're doing extracellular electrophysiology and tired of stitching together preprocessing scripts, this gives you a tested workflow that matches what major neuroscience labs actually use. The documentation is thorough about pitfalls like remembering phase shift correction for 1.0 probes.

skills.sh installs
2K
GitHub stars
56.6K
last updated
Aug 21, 2026

Install

$ npx -y skills add k-dense-ai/scientific-agent-skills --skill neuropixels-analysis --agent claude-code

Installs into .claude/skills of the current project.

Files

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

Sponsors

Details

Repository
github.com/k-dense-ai/scientific-agent-skills
Categories
Git & Pull Requests, Code Review & Quality, AI & Agent Building, Design & UI/UX
First seen
Jun 3, 2026

More from k-dense-ai/scientific-agent-skills

All 137
1k-dense-ai avataropentrons-integrationk-dense-ai/scientific-agent-skillsAuthor, review, migrate, simulate, and troubleshoot official Opentrons Python Protocol API v2 protocols for Flex and OT-2 robots. Use for robot-specific liquid 2Kskills.sh installs
2nrwl avatarmonitor-cinrwl/nx-ai-agents-configMonitor Nx Cloud CI pipeline and handle self-healing fixes. USE WHEN user says "monitor ci", "watch ci", "ci monitor", "watch ci for this branch", "track ci", "2Kskills.sh installs
3k-dense-ai avatarpylabrobotk-dense-ai/scientific-agent-skillsDevelop and review PyLabRobot lab-automation resources, liquid-handling plans, offline simulations, and supported-device integrations. Use for PyLabRobot protoc2Kskills.sh installs
4cognitedata avatarcode-qualitycognitedata/builder-skillsMUST be used whenever reviewing a Flows app for code quality, maintainability, or clean code issues — before a PR review, after a feature is complete, or when t2Kskills.sh installs
5replicate avatarbuild-modelsreplicate/skillsPackage and build custom AI models with Cog for deployment on Replicate. Use when creating a cog.yaml or predict.py, defining model inputs and outputs, loading 2Kskills.sh installs
6bytedance avatarcode-documentationbytedance/deer-flowUse this skill when the user requests to generate, create, or improve documentation for code, APIs, libraries, repositories, or software projects. Supports READ1.9Kskills.sh installs