neuropixels-analysis

Analyze Neuropixels recordings with SpikeInterface and Kilosort4.

8|Updated Jan 13, 2026
One-click install
npx skills add https://github.com/hxk622/TokenDance --skill neuropixels-analysis-hxk622
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: neuropixels-analysis
Source: https://github.com/hxk622/TokenDance/tree/main/backend/app/skills/builtin/scientific/clinical/neuropixels-analysis
Command: npx skills add https://github.com/hxk622/TokenDance --skill neuropixels-analysis-hxk622

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires spikeinterface[full], probeinterface, neo, kilosort, spykingcircus, mountainsort5, anthropic, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill streamlines the complex process of analyzing Neuropixels neural recordings, from raw data loading to publication-ready curated units, saving researchers significant time and effort.

Core Features & Use Cases

  • End-to-End Workflow: Supports loading, preprocessing, motion correction, spike sorting, quality metrics, and curation.
  • Advanced Algorithms: Integrates state-of-the-art tools like Kilosort4, SpikeInterface, and AI-assisted curation.
  • Use Case: Analyze a Neuropixels dataset to identify and classify single neurons, assess their quality, and export the results for further research.

Quick Start

Run the full neuropixels analysis pipeline on the provided recording data.

Frequently Asked Questions about neuropixels-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run spike sorting on Neuropixels recordings using Kilosort4?

To run spike sorting on Neuropixels recordings with Kilosort4, you can use this Skill to load raw data, apply preprocessing and motion correction, and execute the sorting algorithm to extract single neuron activity.

What data formats are supported for loading electrophysiology recordings?

Electrophysiology recordings can be loaded from SpikeGLX, OpenEphys, and NWB formats, allowing you to ingest raw neural data directly into the analysis pipeline for subsequent spike sorting.

Can I automate spike sorting curation using AI after processing?

Yes, after spike sorting you can perform automated or AI-assisted curation to classify and assess the quality of single neurons, streamlining the validation of your sorted units.

What is the best way to export curated neural data for downstream analysis?

The best way to export curated neural data is by using the export functions to generate Phy and NWB formats, ensuring your spike sorting results are ready for publication and downstream research.

Does SpikeInterface support motion correction for high-density probe data?

Yes, SpikeInterface supports motion correction for high-density probe data, allowing you to mitigate spatial drift artifacts in Neuropixels recordings before performing spike sorting.

Are there limitations to using automated curation for spike sorting results?

While automated curation significantly speeds up unit validation, it is designed to assist rather than fully replace manual inspection, meaning you should still review quality metrics for critical publication-ready datasets.