[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MAJY1PAXZ531Z3RB705HCH":3,"skill-same:01M6MAJY1PAXZ531Z3RB705HCH":161},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":50,"linkOnly":51,"markdownContent":52,"markdownBody":53,"frontMatter":54,"refName":65,"commitSha":66,"skillDirectory":67,"forksCount":68,"repositoryHtmlUrl":69,"repositoryHomepageUrl":70,"ownerHtmlUrl":71,"ownerBlogUrl":72,"ownerDescription":73,"updatedAt":74,"install":75,"resources":88},"01M6MAJY1PAXZ531Z3RB705HCH","neuropixels-analysis",null,"Analyze Neuropixels extracellular recordings end-to-end with SpikeInterface. Covers loading SpikeGLX\u002FOpen Ephys\u002FNWB data, preprocessing, drift\u002Fmotion correction, Kilosort4 (and CPU) spike sorting, quality metrics, and unit curation (threshold-based, model-based UnitRefine, and AI-assisted visual review). Use when working with Neuropixels 1.0\u002F2.0 recordings, spike sorting, or extracellular electrophysiology analysis.","hashgraph-online\u002Fawesome-codex-plugins","hashgraph-online","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160371962?v=4","01M6CNB6NRJVNNGN14TR01Q6D3","HOL (Hashgraph Online)","01M6JT1HSKKG9V68KQAQGBA7XP",1575,"MIT","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fneuropixels-analysis\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49],"analysis","neuropixels analysis","visual","when","for","loading","CPU","sorting","unit","visual review","false","end","preprocessing","neuroscience","life","claude api","drift","motion","use","quality","model","analyze","open","api","data","review","2026-11-10 10:12:30",false,"---\nname: neuropixels-analysis\ndescription: Analyze Neuropixels extracellular recordings end-to-end with SpikeInterface. Covers loading SpikeGLX\u002FOpen Ephys\u002FNWB data, preprocessing, drift\u002Fmotion correction, Kilosort4 (and CPU) spike sorting, quality metrics, and unit curation (threshold-based, model-based UnitRefine, and AI-assisted visual review). Use when working with Neuropixels 1.0\u002F2.0 recordings, spike sorting, or extracellular electrophysiology analysis.\nlicense: MIT\nmetadata:\n  version: '2.4'\n  category: life-sciences\n  maintainer: Kalaris Labs\n  openclaw:\n    primaryEnv: ANTHROPIC_API_KEY\n    envVars:\n    - name: ANTHROPIC_API_KEY\n      required: false\n      description: For optional Claude API calls.\n  tags: Neuropixels, spike sorting, electrophysiology, SpikeInterface, neuroscience\n---\n\n# Neuropixels Data Analysis\n\n## Overview\n\nToolkit for analyzing Neuropixels high-density neural recordings using current best\npractices from [SpikeInterface](https:\u002F\u002Fspikeinterface.readthedocs.io\u002F), the Allen\nInstitute, and the International Brain Laboratory (IBL). It covers the full workflow from\nraw data to publication-ready curated units.\n\nAll examples use the real SpikeInterface API (`spikeinterface.full as si`) plus the\ncompanion curation module (`spikeinterface.curation as sc`). The skill ships runnable\nscripts in `scripts\u002F` and a copy-and-edit template in `assets\u002F` that implement this\nworkflow directly on top of SpikeInterface — there is no separate package to install\nbeyond the dependencies listed under [Installation](#installation).\n\n## When to Use This Skill\n\nThis skill should be used when:\n- Working with Neuropixels recordings (`.ap.bin`, `.lf.bin`, `.meta` files)\n- Loading data from SpikeGLX, Open Ephys, or NWB formats\n- Preprocessing neural recordings (filtering, common reference, bad-channel detection)\n- Detecting and correcting motion\u002Fdrift\n- Running spike sorting (Kilosort4, SpykingCircus2, Mountainsort5, Tridesclous2)\n- Computing quality metrics (SNR, ISI violations, presence ratio, amplitude cutoff)\n- Curating units (threshold-based, model-based, or AI-assisted)\n- Creating visualizations and exporting to Phy or NWB\n\n## Supported Hardware & Formats\n\n| Probe | Electrodes | Channels | Notes |\n|-------|-----------|----------|-------|\n| Neuropixels 1.0 | 960 | 384 | Use `phase_shift` for ADC correction |\n| Neuropixels 2.0 (single) | 1280 | 384 | Denser geometry |\n| Neuropixels 2.0 (4-shank) | 5120 | 384 | Multi-region recording |\n\n| Format | Extension | Reader |\n|--------|-----------|--------|\n| SpikeGLX | `.ap.bin`, `.lf.bin`, `.meta` | `si.read_spikeglx()` |\n| Open Ephys | `.continuous`, `.oebin` | `si.read_openephys()` |\n| NWB | `.nwb` | `si.read_nwb()` |\n\n## Quick Start\n\n### Import and configure parallel processing\n\n```python\nimport spikeinterface.full as si\n\n# Global job kwargs are reused by all parallelizable steps\nsi.set_global_job_kwargs(n_jobs=-1, chunk_duration=\"1s\", progress_bar=True)\n```\n\n### Loading data\n\n```python\n# Inspect available streams first\nstream_names, stream_ids = si.get_neo_streams(\"spikeglx\", \"\u002Fpath\u002Fto\u002Frun_g0\u002F\")\nprint(stream_names)  # e.g. ['imec0.ap', 'imec0.lf', 'nidq']\n\n# SpikeGLX (most common) — select the AP stream by name\nrecording = si.read_spikeglx(\"\u002Fpath\u002Fto\u002Frun_g0\u002F\", stream_name=\"imec0.ap\", load_sync_channel=False)\n\n# Open Ephys\nrecording = si.read_openephys(\"\u002Fpath\u002Fto\u002FRecord_Node_101\u002F\")\n\n# For quick iteration, slice the first 60 s\nfs = recording.get_sampling_frequency()\nrecording_sub = recording.frame_slice(0, int(60 * fs))\n```\n\n### Full pipeline (bundled script)\n\nThe repository ships an end-to-end pipeline built on SpikeInterface:\n\n```bash\npython scripts\u002Fneuropixels_pipeline.py \u002Fpath\u002Fto\u002Fspikeglx\u002Fdata output\u002F --sorter kilosort4 --curation allen\n```\n\nIt performs load → preprocess → drift check → optional motion correction → sorting →\npostprocessing → quality metrics → curation → export. Read the steps below to run them\ninteractively or customize the pipeline.\n\n## Standard Analysis Workflow\n\n### 1. Preprocessing\n\nRecommended chain, following the SpikeInterface Neuropixels how-to (IBL-style destriping\nwith channel removal + common reference):\n\n```python\nrec = si.highpass_filter(recording, freq_min=400.0)\nbad_channel_ids, channel_labels = si.detect_bad_channels(rec)\nrec = rec.remove_channels(bad_channel_ids)\nrec = si.phase_shift(rec)  # ADC phase correction (Neuropixels 1.0)\nrec = si.common_reference(rec, operator=\"median\", reference=\"global\")\n```\n\nSave the preprocessed recording (Kilosort needs a binary file, and it speeds up reuse):\n\n```python\nrec = rec.save(folder=\"preprocessed\u002F\", format=\"binary\")\n```\n\n### 2. Check and correct drift\n\nAlways inspect drift before sorting:\n\n```python\nfrom spikeinterface.sortingcomponents.peak_detection import detect_peaks\nfrom spikeinterface.sortingcomponents.peak_localization import localize_peaks\n\nnoise_levels = si.get_noise_levels(rec, return_in_uV=False)\npeaks = detect_peaks(rec, method=\"locally_exclusive\", noise_levels=noise_levels,\n                     detect_threshold=5, radius_um=50.0)\npeak_locations = localize_peaks(rec, peaks, method=\"center_of_mass\")\n\n# Visualize the drift raster\nsi.plot_drift_raster_map(peaks=peaks, peak_locations=peak_locations,\n                         recording=rec, clim=(-50, 50))\n```\n\nApply correction if needed (presets: `rigid_fast`, `kilosort_like`,\n`nonrigid_accurate`, `nonrigid_fast_and_accurate`, `dredge`, `dredge_fast`):\n\n```python\nrec_corrected = si.correct_motion(rec, preset=\"nonrigid_fast_and_accurate\", folder=\"motion\u002F\")\n```\n\n### 3. Spike sorting\n\n```python\n# Kilosort4 (recommended, requires a CUDA GPU)\nsorting = si.run_sorter(\"kilosort4\", rec_corrected, folder=\"ks4_output\")\n\n# CPU alternatives (internally developed, no external install)\nsorting = si.run_sorter(\"spykingcircus2\", rec_corrected, folder=\"sc2_output\")\nsorting = si.run_sorter(\"tridesclous2\", rec_corrected, folder=\"tdc2_output\")\nsorting = si.run_sorter(\"mountainsort5\", rec_corrected, folder=\"ms5_output\")\n\n# External sorters can run in containers without local install\nsorting = si.run_sorter(\"kilosort2_5\", rec_corrected, folder=\"ks25_output\", docker_image=True)\n\nprint(si.installed_sorters())\n```\n\n> Note: `run_sorter` uses the `folder=` argument. The older `output_folder=` is deprecated.\n\n### 4. Postprocessing\n\n```python\nanalyzer = si.create_sorting_analyzer(sorting, rec_corrected, sparse=True,\n                                      format=\"binary_folder\", folder=\"analyzer\u002F\")\n\nanalyzer.compute(\"random_spikes\", method=\"uniform\", max_spikes_per_unit=500)\nanalyzer.compute(\"waveforms\", ms_before=1.0, ms_after=2.0)\nanalyzer.compute(\"templates\", operators=[\"average\", \"std\"])\nanalyzer.compute(\"noise_levels\")\nanalyzer.compute(\"spike_amplitudes\")\nanalyzer.compute(\"correlograms\", window_ms=50.0, bin_ms=1.0)\nanalyzer.compute(\"unit_locations\", method=\"monopolar_triangulation\")\nanalyzer.compute(\"template_similarity\")\n\nmetric_names = [\"firing_rate\", \"presence_ratio\", \"snr\", \"isi_violation\", \"amplitude_cutoff\"]\nanalyzer.compute(\"quality_metrics\", metric_names=metric_names)\nmetrics = analyzer.get_extension(\"quality_metrics\").get_data()\n```\n\n### 5. Curation by metric thresholds\n\n```python\n# Allen-style query (note: column is isi_violations_ratio)\nquery = \"(amplitude_cutoff \u003C 0.1) & (isi_violations_ratio \u003C 0.5) & (presence_ratio > 0.9)\"\ngood_unit_ids = metrics.query(query).index.values\n```\n\nFor reusable, multi-threshold logic with `allen` \u002F `ibl` \u002F `strict` presets, use the\nbundled `scripts\u002Fcompute_metrics.py`. See\n[references\u002FAUTOMATED_CURATION.md](references\u002FAUTOMATED_CURATION.md) for details and the\nBombcell \u002F UnitMatch tools.\n\n### 6. Model-based curation (UnitRefine)\n\nSpikeInterface can apply pretrained machine-learning classifiers from Hugging Face via the\n`spikeinterface.curation` module. The UnitRefine models were trained on real Neuropixels\ndata (V1, SC, ALM):\n\n```python\nimport spikeinterface.curation as sc\n\n# 1) noise vs neural\nnoise_labels = sc.model_based_label_units(\n    sorting_analyzer=analyzer,\n    repo_id=\"SpikeInterface\u002FUnitRefine_noise_neural_classifier\",\n    trust_model=True,\n)\nneural = analyzer.remove_units(noise_labels[noise_labels[\"prediction\"] == \"noise\"].index)\n\n# 2) single-unit (sua) vs multi-unit (mua) on the surviving units\nsua_mua_labels = sc.model_based_label_units(\n    sorting_analyzer=neural,\n    repo_id=\"SpikeInterface\u002FUnitRefine_sua_mua_classifier\",\n    trust_model=True,\n)\n```\n\nEach call returns a DataFrame with `prediction` and `probability` (confidence) per unit.\n`trust_model=True` (or an explicit `trusted=[...]` list) is required to load the `.skops`\nmodel — only load models from sources you trust. Models trained on other brain\nareas\u002Fdatasets may not transfer; validate against a manually labelled subset.\n\n### 7. AI-assisted curation (for uncertain units)\n\nWhen running inside an agent such as Cursor or Claude Code, the agent can directly inspect\nwaveform\u002Fcorrelogram plots and give an expert read — no API setup required. Generate plots\nand ask the agent to assess isolation quality.\n\nFor programmatic vision-model access, **read API keys from the environment — never hardcode\ncredentials in analysis scripts** (they leak into version control and logs):\n\n```python\nimport os\nfrom anthropic import Anthropic\n\nclient = Anthropic(api_key=os.environ[\"ANTHROPIC_API_KEY\"])  # set this in your shell, not in code\n```\n\nSee [references\u002FAI_CURATION.md](references\u002FAI_CURATION.md) for the full pattern (rendering a\nunit summary image, building the prompt, and parsing the response).\n\n### 8. Export results\n\n```python\n# Keep only good units, then export\nanalyzer_clean = analyzer.select_units(good_unit_ids, folder=\"analyzer_clean\u002F\", format=\"binary_folder\")\n\n# Phy for manual review\nsi.export_to_phy(analyzer_clean, output_folder=\"phy_export\u002F\",\n                 compute_pc_features=True, compute_amplitudes=True)\n\n# Figures report\nsi.export_report(analyzer_clean, \"report\u002F\", format=\"png\")\n\n# NWB\nfrom spikeinterface.exporters import export_to_nwb\nexport_to_nwb(analyzer_clean, \"output.nwb\")\n\n# Metrics table\nmetrics.to_csv(\"quality_metrics.csv\")\n```\n\n## Common Pitfalls and Best Practices\n\n1. **Always check drift** before spike sorting — drift > ~10 μm meaningfully degrades quality.\n2. **Use `phase_shift`** for Neuropixels 1.0 to correct ADC sampling offsets.\n3. **Save the preprocessed recording** with `rec.save(folder=...)` to avoid recomputation (Kilosort also needs a binary file).\n4. **Use a GPU** for Kilosort4 — it is far faster than CPU sorters.\n5. **Review uncertain units** — automated\u002Fmodel-based curation is a starting point, not a verdict.\n6. **Combine approaches** — thresholds for clear cases, model\u002FAI for borderline units.\n7. **Document thresholds and model repo IDs** for reproducibility.\n8. **Export to Phy** for critical experiments — human oversight is valuable.\n\n## Key Parameters to Adjust\n\n### Preprocessing\n- `freq_min`: highpass cutoff (300–400 Hz typical)\n- `detect_bad_channels`: returns `(bad_channel_ids, channel_labels)`\n\n### Motion Correction\n- `preset`: `nonrigid_fast_and_accurate` (balanced), `nonrigid_accurate` (severe drift), `dredge` (state of the art)\n\n### Spike Sorting (Kilosort4)\n- `batch_size`: samples per batch (60000 default)\n- `nblocks`: drift blocks (increase for long, drifty recordings)\n- `Th_universal` \u002F `Th_learned`: detection thresholds (lower = more spikes)\n\n### Quality Metrics\n- `snr`: signal-to-noise cutoff (3–5 typical)\n- `isi_violations_ratio`: refractory violations (0.01–0.5)\n- `presence_ratio`: recording coverage (0.5–0.95)\n\n## Bundled Resources\n\n### scripts\u002Fexplore_recording.py\nQuick inspection of a recording (streams, channels, duration, bad channels):\n```bash\npython scripts\u002Fexplore_recording.py \u002Fpath\u002Fto\u002Fdata\n```\n\n### scripts\u002Fpreprocess_recording.py\nAutomated preprocessing:\n```bash\npython scripts\u002Fpreprocess_recording.py \u002Fpath\u002Fto\u002Fdata --output preprocessed\u002F\n```\n\n### scripts\u002Frun_sorting.py\nRun spike sorting:\n```bash\npython scripts\u002Frun_sorting.py preprocessed\u002F --sorter kilosort4 --output sorting\u002F\n```\n\n### scripts\u002Fcompute_metrics.py\nCompute quality metrics and apply curation:\n```bash\npython scripts\u002Fcompute_metrics.py sorting\u002F preprocessed\u002F --output metrics\u002F --curation allen\n```\n\n### scripts\u002Fexport_to_phy.py\nExport to Phy for manual curation:\n```bash\npython scripts\u002Fexport_to_phy.py metrics\u002Fanalyzer --output phy_export\u002F\n```\n\n### scripts\u002Fneuropixels_pipeline.py\nComplete end-to-end pipeline (see [Quick Start](#full-pipeline-bundled-script)).\n\n### assets\u002Fanalysis_template.py\nComplete, editable analysis template. Copy and customize:\n```bash\ncp assets\u002Fanalysis_template.py my_analysis.py\n# Edit the PARAMETERS section, then run\npython my_analysis.py\n```\n\n## Detailed Reference Guides\n\n| Topic | Reference |\n|-------|-----------|\n| Full workflow | [references\u002Fstandard_workflow.md](references\u002Fstandard_workflow.md) |\n| API reference (SpikeInterface) | [references\u002Fapi_reference.md](references\u002Fapi_reference.md) |\n| Plotting guide | [references\u002Fplotting_guide.md](references\u002Fplotting_guide.md) |\n| Preprocessing | [references\u002FPREPROCESSING.md](references\u002FPREPROCESSING.md) |\n| Spike sorting | [references\u002FSPIKE_SORTING.md](references\u002FSPIKE_SORTING.md) |\n| Motion correction | [references\u002FMOTION_CORRECTION.md](references\u002FMOTION_CORRECTION.md) |\n| Quality metrics | [references\u002FQUALITY_METRICS.md](references\u002FQUALITY_METRICS.md) |\n| Automated & model-based curation | [references\u002FAUTOMATED_CURATION.md](references\u002FAUTOMATED_CURATION.md) |\n| AI-assisted curation | [references\u002FAI_CURATION.md](references\u002FAI_CURATION.md) |\n| Waveform analysis | [references\u002FANALYSIS.md](references\u002FANALYSIS.md) |\n\n## Installation\n\nRequires Python ≥ 3.10. Using [uv](https:\u002F\u002Fdocs.astral.sh\u002Fuv\u002F) is recommended.\n\n```bash\n# Core packages (SpikeInterface bundles the curation\u002Fmodel tooling)\nuv pip install \"spikeinterface[full]\" probeinterface neo\n\n# Spike sorters\nuv pip install kilosort          # Kilosort4 (CUDA GPU required)\nuv pip install spykingcircus     # SpykingCircus (legacy; SpykingCircus2 ships with SpikeInterface)\nuv pip install mountainsort5     # Mountainsort5 (CPU)\n\n# Model-based curation (UnitRefine) downloads from Hugging Face\nuv pip install \"huggingface_hub\" skops\n\n# Optional: AI-assisted visual curation\nuv pip install anthropic\n\n# Optional: IBL tools and Bombcell\nuv pip install ibl-neuropixel ibllib bombcell\n```\n\nFor reproducible environments, pin versions (current as of 2026-06: `spikeinterface==0.104.3`,\n`kilosort==4.1.7`, `probeinterface==0.3.2`, `neo==0.14.4`). Unpinned installs are fine for\nquick experimentation but should be pinned in production pipelines.\n\n## Project Structure\n\n```\nproject\u002F\n├── raw_data\u002F\n│   └── recording_g0\u002F\n│       └── recording_g0_imec0\u002F\n│           ├── recording_g0_t0.imec0.ap.bin\n│           └── recording_g0_t0.imec0.ap.meta\n├── preprocessed\u002F           # Saved preprocessed recording\n├── motion\u002F                 # Motion estimation results\n├── sorting_output\u002F         # Spike sorter output\n├── analyzer\u002F               # SortingAnalyzer (waveforms, metrics)\n├── phy_export\u002F             # For manual curation\n├── ai_curation\u002F            # AI analysis reports\n└── results\u002F\n    ├── quality_metrics.csv\n    ├── curation_labels.json\n    └── output.nwb\n```\n\n## Additional Resources\n\n- **SpikeInterface Docs**: https:\u002F\u002Fspikeinterface.readthedocs.io\u002F\n- **Neuropixels Tutorial**: https:\u002F\u002Fspikeinterface.readthedocs.io\u002Fen\u002Fstable\u002Fhow_to\u002Fanalyze_neuropixels.html\n- **Model-based Curation Tutorial**: https:\u002F\u002Fspikeinterface.readthedocs.io\u002Fen\u002Fstable\u002Ftutorials\u002Fcuration\u002Fplot_1_automated_curation.html\n- **UnitRefine Models (Hugging Face)**: https:\u002F\u002Fhuggingface.co\u002FSpikeInterface\n- **Kilosort4 GitHub**: https:\u002F\u002Fgithub.com\u002FMouseLand\u002FKilosort\n- **IBL Neuropixel Tools**: https:\u002F\u002Fgithub.com\u002Fint-brain-lab\u002Fibl-neuropixel\n- **Allen Institute ecephys**: https:\u002F\u002Fgithub.com\u002FAllenInstitute\u002Fecephys_spike_sorting\n- **Bombcell (Automated QC)**: https:\u002F\u002Fgithub.com\u002FJulie-Fabre\u002Fbombcell\n- **Awesome Neuropixels**: https:\u002F\u002Fgithub.com\u002FJulie-Fabre\u002Fawesome_neuropixels\n\n## Agent operating procedure\n\n1. **Check the environment.** Confirm tool versions, the reference genome\u002Fannotation build and the input formats (FASTQ, BAM, VCF, h5ad).\n2. **Pin down the inputs.** Confirm formats, identifiers and parameters from the data or the user. Ask rather than guess any value that changes the result.\n3. **Run a small version first.** Run the pipeline on a small subset (one sample, one chromosome, a few thousand cells) first.\n4. **Execute the full task** using the instructions and references above.\n5. **Validate the result.** Check QC metrics, sample identities, genome build consistency and batch effects before interpreting results.\n6. **Report.** State what was run (versions, commands, parameters), what was checked, and what is still uncertain.\n\n| If this happens | Do this |\n|---|---|\n| Genome builds or identifiers do not match between inputs | Stop and harmonize (liftover, ID mapping) before continuing. |\n| A function, flag or endpoint in these instructions is missing in the installed version | Check the installed version's own documentation (`help()`, `--help`, official docs), adapt, and tell the user. Never invent an API. |\n| A required input, identifier or parameter is ambiguous | Ask the user, or state the assumption explicitly before running. |\n\n**Integrity rules**\n\n- Never fabricate results, parameters, identifiers, citations or statistics. If something cannot be run or verified, say so plainly.\n- Do not interpret biological significance beyond what the statistics support; report multiple-testing correction.\n- Treat version-specific details here as possibly outdated: confirm them against the official documentation for the installed version.\n- Ask before actions that cost money, consume shared GPUs or cloud quota, touch personal or patient data, or cannot be undone.\n\n## Related skills\n\n- `bids`: Organizes, queries, validates, and converts neuroscience and biomedical datasets using the Brain Imaging Data Structure (BIDS) standard, co…\n","# Neuropixels Data Analysis\n\n## Overview\n\nToolkit for analyzing Neuropixels high-density neural recordings using current best\npractices from [SpikeInterface](https:\u002F\u002Fspikeinterface.readthedocs.io\u002F), the Allen\nInstitute, and the International Brain Laboratory (IBL). It covers the full workflow from\nraw data to publication-ready curated units.\n\nAll examples use the real SpikeInterface API (`spikeinterface.full as si`) plus the\ncompanion curation module (`spikeinterface.curation as sc`). The skill ships runnable\nscripts in `scripts\u002F` and a copy-and-edit template in `assets\u002F` that implement this\nworkflow directly on top of SpikeInterface — there is no separate package to install\nbeyond the dependencies listed under [Installation](#installation).\n\n## When to Use This Skill\n\nThis skill should be used when:\n- Working with Neuropixels recordings (`.ap.bin`, `.lf.bin`, `.meta` files)\n- Loading data from SpikeGLX, Open Ephys, or NWB formats\n- Preprocessing neural recordings (filtering, common reference, bad-channel detection)\n- Detecting and correcting motion\u002Fdrift\n- Running spike sorting (Kilosort4, SpykingCircus2, Mountainsort5, Tridesclous2)\n- Computing quality metrics (SNR, ISI violations, presence ratio, amplitude cutoff)\n- Curating units (threshold-based, model-based, or AI-assisted)\n- Creating visualizations and exporting to Phy or NWB\n\n## Supported Hardware & Formats\n\n| Probe | Electrodes | Channels | Notes |\n|-------|-----------|----------|-------|\n| Neuropixels 1.0 | 960 | 384 | Use `phase_shift` for ADC correction |\n| Neuropixels 2.0 (single) | 1280 | 384 | Denser geometry |\n| Neuropixels 2.0 (4-shank) | 5120 | 384 | Multi-region recording |\n\n| Format | Extension | Reader |\n|--------|-----------|--------|\n| SpikeGLX | `.ap.bin`, `.lf.bin`, `.meta` | `si.read_spikeglx()` |\n| Open Ephys | `.continuous`, `.oebin` | `si.read_openephys()` |\n| NWB | `.nwb` | `si.read_nwb()` |\n\n## Quick Start\n\n### Import and configure parallel processing\n\n```python\nimport spikeinterface.full as si\n\n# Global job kwargs are reused by all parallelizable steps\nsi.set_global_job_kwargs(n_jobs=-1, chunk_duration=\"1s\", progress_bar=True)\n```\n\n### Loading data\n\n```python\n# Inspect available streams first\nstream_names, stream_ids = si.get_neo_streams(\"spikeglx\", \"\u002Fpath\u002Fto\u002Frun_g0\u002F\")\nprint(stream_names)  # e.g. ['imec0.ap', 'imec0.lf', 'nidq']\n\n# SpikeGLX (most common) — select the AP stream by name\nrecording = si.read_spikeglx(\"\u002Fpath\u002Fto\u002Frun_g0\u002F\", stream_name=\"imec0.ap\", load_sync_channel=False)\n\n# Open Ephys\nrecording = si.read_openephys(\"\u002Fpath\u002Fto\u002FRecord_Node_101\u002F\")\n\n# For quick iteration, slice the first 60 s\nfs = recording.get_sampling_frequency()\nrecording_sub = recording.frame_slice(0, int(60 * fs))\n```\n\n### Full pipeline (bundled script)\n\nThe repository ships an end-to-end pipeline built on SpikeInterface:\n\n```bash\npython scripts\u002Fneuropixels_pipeline.py \u002Fpath\u002Fto\u002Fspikeglx\u002Fdata output\u002F --sorter kilosort4 --curation allen\n```\n\nIt performs load → preprocess → drift check → optional motion correction → sorting →\npostprocessing → quality metrics → curation → export. Read the steps below to run them\ninteractively or customize the pipeline.\n\n## Standard Analysis Workflow\n\n### 1. Preprocessing\n\nRecommended chain, following the SpikeInterface Neuropixels how-to (IBL-style destriping\nwith channel removal + common reference):\n\n```python\nrec = si.highpass_filter(recording, freq_min=400.0)\nbad_channel_ids, channel_labels = si.detect_bad_channels(rec)\nrec = rec.remove_channels(bad_channel_ids)\nrec = si.phase_shift(rec)  # ADC phase correction (Neuropixels 1.0)\nrec = si.common_reference(rec, operator=\"median\", reference=\"global\")\n```\n\nSave the preprocessed recording (Kilosort needs a binary file, and it speeds up reuse):\n\n```python\nrec = rec.save(folder=\"preprocessed\u002F\", format=\"binary\")\n```\n\n### 2. Check and correct drift\n\nAlways inspect drift before sorting:\n\n```python\nfrom spikeinterface.sortingcomponents.peak_detection import detect_peaks\nfrom spikeinterface.sortingcomponents.peak_localization import localize_peaks\n\nnoise_levels = si.get_noise_levels(rec, return_in_uV=False)\npeaks = detect_peaks(rec, method=\"locally_exclusive\", noise_levels=noise_levels,\n                     detect_threshold=5, radius_um=50.0)\npeak_locations = localize_peaks(rec, peaks, method=\"center_of_mass\")\n\n# Visualize the drift raster\nsi.plot_drift_raster_map(peaks=peaks, peak_locations=peak_locations,\n                         recording=rec, clim=(-50, 50))\n```\n\nApply correction if needed (presets: `rigid_fast`, `kilosort_like`,\n`nonrigid_accurate`, `nonrigid_fast_and_accurate`, `dredge`, `dredge_fast`):\n\n```python\nrec_corrected = si.correct_motion(rec, preset=\"nonrigid_fast_and_accurate\", folder=\"motion\u002F\")\n```\n\n### 3. Spike sorting\n\n```python\n# Kilosort4 (recommended, requires a CUDA GPU)\nsorting = si.run_sorter(\"kilosort4\", rec_corrected, folder=\"ks4_output\")\n\n# CPU alternatives (internally developed, no external install)\nsorting = si.run_sorter(\"spykingcircus2\", rec_corrected, folder=\"sc2_output\")\nsorting = si.run_sorter(\"tridesclous2\", rec_corrected, folder=\"tdc2_output\")\nsorting = si.run_sorter(\"mountainsort5\", rec_corrected, folder=\"ms5_output\")\n\n# External sorters can run in containers without local install\nsorting = si.run_sorter(\"kilosort2_5\", rec_corrected, folder=\"ks25_output\", docker_image=True)\n\nprint(si.installed_sorters())\n```\n\n> Note: `run_sorter` uses the `folder=` argument. The older `output_folder=` is deprecated.\n\n### 4. Postprocessing\n\n```python\nanalyzer = si.create_sorting_analyzer(sorting, rec_corrected, sparse=True,\n                                      format=\"binary_folder\", folder=\"analyzer\u002F\")\n\nanalyzer.compute(\"random_spikes\", method=\"uniform\", max_spikes_per_unit=500)\nanalyzer.compute(\"waveforms\", ms_before=1.0, ms_after=2.0)\nanalyzer.compute(\"templates\", operators=[\"average\", \"std\"])\nanalyzer.compute(\"noise_levels\")\nanalyzer.compute(\"spike_amplitudes\")\nanalyzer.compute(\"correlograms\", window_ms=50.0, bin_ms=1.0)\nanalyzer.compute(\"unit_locations\", method=\"monopolar_triangulation\")\nanalyzer.compute(\"template_similarity\")\n\nmetric_names = [\"firing_rate\", \"presence_ratio\", \"snr\", \"isi_violation\", \"amplitude_cutoff\"]\nanalyzer.compute(\"quality_metrics\", metric_names=metric_names)\nmetrics = analyzer.get_extension(\"quality_metrics\").get_data()\n```\n\n### 5. Curation by metric thresholds\n\n```python\n# Allen-style query (note: column is isi_violations_ratio)\nquery = \"(amplitude_cutoff \u003C 0.1) & (isi_violations_ratio \u003C 0.5) & (presence_ratio > 0.9)\"\ngood_unit_ids = metrics.query(query).index.values\n```\n\nFor reusable, multi-threshold logic with `allen` \u002F `ibl` \u002F `strict` presets, use the\nbundled `scripts\u002Fcompute_metrics.py`. See\n[references\u002FAUTOMATED_CURATION.md](references\u002FAUTOMATED_CURATION.md) for details and the\nBombcell \u002F UnitMatch tools.\n\n### 6. Model-based curation (UnitRefine)\n\nSpikeInterface can apply pretrained machine-learning classifiers from Hugging Face via the\n`spikeinterface.curation` module. The UnitRefine models were trained on real Neuropixels\ndata (V1, SC, ALM):\n\n```python\nimport spikeinterface.curation as sc\n\n# 1) noise vs neural\nnoise_labels = sc.model_based_label_units(\n    sorting_analyzer=analyzer,\n    repo_id=\"SpikeInterface\u002FUnitRefine_noise_neural_classifier\",\n    trust_model=True,\n)\nneural = analyzer.remove_units(noise_labels[noise_labels[\"prediction\"] == \"noise\"].index)\n\n# 2) single-unit (sua) vs multi-unit (mua) on the surviving units\nsua_mua_labels = sc.model_based_label_units(\n    sorting_analyzer=neural,\n    repo_id=\"SpikeInterface\u002FUnitRefine_sua_mua_classifier\",\n    trust_model=True,\n)\n```\n\nEach call returns a DataFrame with `prediction` and `probability` (confidence) per unit.\n`trust_model=True` (or an explicit `trusted=[...]` list) is required to load the `.skops`\nmodel — only load models from sources you trust. Models trained on other brain\nareas\u002Fdatasets may not transfer; validate against a manually labelled subset.\n\n### 7. AI-assisted curation (for uncertain units)\n\nWhen running inside an agent such as Cursor or Claude Code, the agent can directly inspect\nwaveform\u002Fcorrelogram plots and give an expert read — no API setup required. Generate plots\nand ask the agent to assess isolation quality.\n\nFor programmatic vision-model access, **read API keys from the environment — never hardcode\ncredentials in analysis scripts** (they leak into version control and logs):\n\n```python\nimport os\nfrom anthropic import Anthropic\n\nclient = Anthropic(api_key=os.environ[\"ANTHROPIC_API_KEY\"])  # set this in your shell, not in code\n```\n\nSee [references\u002FAI_CURATION.md](references\u002FAI_CURATION.md) for the full pattern (rendering a\nunit summary image, building the prompt, and parsing the response).\n\n### 8. Export results\n\n```python\n# Keep only good units, then export\nanalyzer_clean = analyzer.select_units(good_unit_ids, folder=\"analyzer_clean\u002F\", format=\"binary_folder\")\n\n# Phy for manual review\nsi.export_to_phy(analyzer_clean, output_folder=\"phy_export\u002F\",\n                 compute_pc_features=True, compute_amplitudes=True)\n\n# Figures report\nsi.export_report(analyzer_clean, \"report\u002F\", format=\"png\")\n\n# NWB\nfrom spikeinterface.exporters import export_to_nwb\nexport_to_nwb(analyzer_clean, \"output.nwb\")\n\n# Metrics table\nmetrics.to_csv(\"quality_metrics.csv\")\n```\n\n## Common Pitfalls and Best Practices\n\n1. **Always check drift** before spike sorting — drift > ~10 μm meaningfully degrades quality.\n2. **Use `phase_shift`** for Neuropixels 1.0 to correct ADC sampling offsets.\n3. **Save the preprocessed recording** with `rec.save(folder=...)` to avoid recomputation (Kilosort also needs a binary file).\n4. **Use a GPU** for Kilosort4 — it is far faster than CPU sorters.\n5. **Review uncertain units** — automated\u002Fmodel-based curation is a starting point, not a verdict.\n6. **Combine approaches** — thresholds for clear cases, model\u002FAI for borderline units.\n7. **Document thresholds and model repo IDs** for reproducibility.\n8. **Export to Phy** for critical experiments — human oversight is valuable.\n\n## Key Parameters to Adjust\n\n### Preprocessing\n- `freq_min`: highpass cutoff (300–400 Hz typical)\n- `detect_bad_channels`: returns `(bad_channel_ids, channel_labels)`\n\n### Motion Correction\n- `preset`: `nonrigid_fast_and_accurate` (balanced), `nonrigid_accurate` (severe drift), `dredge` (state of the art)\n\n### Spike Sorting (Kilosort4)\n- `batch_size`: samples per batch (60000 default)\n- `nblocks`: drift blocks (increase for long, drifty recordings)\n- `Th_universal` \u002F `Th_learned`: detection thresholds (lower = more spikes)\n\n### Quality Metrics\n- `snr`: signal-to-noise cutoff (3–5 typical)\n- `isi_violations_ratio`: refractory violations (0.01–0.5)\n- `presence_ratio`: recording coverage (0.5–0.95)\n\n## Bundled Resources\n\n### scripts\u002Fexplore_recording.py\nQuick inspection of a recording (streams, channels, duration, bad channels):\n```bash\npython scripts\u002Fexplore_recording.py \u002Fpath\u002Fto\u002Fdata\n```\n\n### scripts\u002Fpreprocess_recording.py\nAutomated preprocessing:\n```bash\npython scripts\u002Fpreprocess_recording.py \u002Fpath\u002Fto\u002Fdata --output preprocessed\u002F\n```\n\n### scripts\u002Frun_sorting.py\nRun spike sorting:\n```bash\npython scripts\u002Frun_sorting.py preprocessed\u002F --sorter kilosort4 --output sorting\u002F\n```\n\n### scripts\u002Fcompute_metrics.py\nCompute quality metrics and apply curation:\n```bash\npython scripts\u002Fcompute_metrics.py sorting\u002F preprocessed\u002F --output metrics\u002F --curation allen\n```\n\n### scripts\u002Fexport_to_phy.py\nExport to Phy for manual curation:\n```bash\npython scripts\u002Fexport_to_phy.py metrics\u002Fanalyzer --output phy_export\u002F\n```\n\n### scripts\u002Fneuropixels_pipeline.py\nComplete end-to-end pipeline (see [Quick Start](#full-pipeline-bundled-script)).\n\n### assets\u002Fanalysis_template.py\nComplete, editable analysis template. Copy and customize:\n```bash\ncp assets\u002Fanalysis_template.py my_analysis.py\n# Edit the PARAMETERS section, then run\npython my_analysis.py\n```\n\n## Detailed Reference Guides\n\n| Topic | Reference |\n|-------|-----------|\n| Full workflow | [references\u002Fstandard_workflow.md](references\u002Fstandard_workflow.md) |\n| API reference (SpikeInterface) | [references\u002Fapi_reference.md](references\u002Fapi_reference.md) |\n| Plotting guide | [references\u002Fplotting_guide.md](references\u002Fplotting_guide.md) |\n| Preprocessing | [references\u002FPREPROCESSING.md](references\u002FPREPROCESSING.md) |\n| Spike sorting | [references\u002FSPIKE_SORTING.md](references\u002FSPIKE_SORTING.md) |\n| Motion correction | [references\u002FMOTION_CORRECTION.md](references\u002FMOTION_CORRECTION.md) |\n| Quality metrics | [references\u002FQUALITY_METRICS.md](references\u002FQUALITY_METRICS.md) |\n| Automated & model-based curation | [references\u002FAUTOMATED_CURATION.md](references\u002FAUTOMATED_CURATION.md) |\n| AI-assisted curation | [references\u002FAI_CURATION.md](references\u002FAI_CURATION.md) |\n| Waveform analysis | [references\u002FANALYSIS.md](references\u002FANALYSIS.md) |\n\n## Installation\n\nRequires Python ≥ 3.10. Using [uv](https:\u002F\u002Fdocs.astral.sh\u002Fuv\u002F) is recommended.\n\n```bash\n# Core packages (SpikeInterface bundles the curation\u002Fmodel tooling)\nuv pip install \"spikeinterface[full]\" probeinterface neo\n\n# Spike sorters\nuv pip install kilosort          # Kilosort4 (CUDA GPU required)\nuv pip install spykingcircus     # SpykingCircus (legacy; SpykingCircus2 ships with SpikeInterface)\nuv pip install mountainsort5     # Mountainsort5 (CPU)\n\n# Model-based curation (UnitRefine) downloads from Hugging Face\nuv pip install \"huggingface_hub\" skops\n\n# Optional: AI-assisted visual curation\nuv pip install anthropic\n\n# Optional: IBL tools and Bombcell\nuv pip install ibl-neuropixel ibllib bombcell\n```\n\nFor reproducible environments, pin versions (current as of 2026-06: `spikeinterface==0.104.3`,\n`kilosort==4.1.7`, `probeinterface==0.3.2`, `neo==0.14.4`). Unpinned installs are fine for\nquick experimentation but should be pinned in production pipelines.\n\n## Project Structure\n\n```\nproject\u002F\n├── raw_data\u002F\n│   └── recording_g0\u002F\n│       └── recording_g0_imec0\u002F\n│           ├── recording_g0_t0.imec0.ap.bin\n│           └── recording_g0_t0.imec0.ap.meta\n├── preprocessed\u002F           # Saved preprocessed recording\n├── motion\u002F                 # Motion estimation results\n├── sorting_output\u002F         # Spike sorter output\n├── analyzer\u002F               # SortingAnalyzer (waveforms, metrics)\n├── phy_export\u002F             # For manual curation\n├── ai_curation\u002F            # AI analysis reports\n└── results\u002F\n    ├── quality_metrics.csv\n    ├── curation_labels.json\n    └── output.nwb\n```\n\n## Additional Resources\n\n- **SpikeInterface Docs**: https:\u002F\u002Fspikeinterface.readthedocs.io\u002F\n- **Neuropixels Tutorial**: https:\u002F\u002Fspikeinterface.readthedocs.io\u002Fen\u002Fstable\u002Fhow_to\u002Fanalyze_neuropixels.html\n- **Model-based Curation Tutorial**: https:\u002F\u002Fspikeinterface.readthedocs.io\u002Fen\u002Fstable\u002Ftutorials\u002Fcuration\u002Fplot_1_automated_curation.html\n- **UnitRefine Models (Hugging Face)**: https:\u002F\u002Fhuggingface.co\u002FSpikeInterface\n- **Kilosort4 GitHub**: https:\u002F\u002Fgithub.com\u002FMouseLand\u002FKilosort\n- **IBL Neuropixel Tools**: https:\u002F\u002Fgithub.com\u002Fint-brain-lab\u002Fibl-neuropixel\n- **Allen Institute ecephys**: https:\u002F\u002Fgithub.com\u002FAllenInstitute\u002Fecephys_spike_sorting\n- **Bombcell (Automated QC)**: https:\u002F\u002Fgithub.com\u002FJulie-Fabre\u002Fbombcell\n- **Awesome Neuropixels**: https:\u002F\u002Fgithub.com\u002FJulie-Fabre\u002Fawesome_neuropixels\n\n## Agent operating procedure\n\n1. **Check the environment.** Confirm tool versions, the reference genome\u002Fannotation build and the input formats (FASTQ, BAM, VCF, h5ad).\n2. **Pin down the inputs.** Confirm formats, identifiers and parameters from the data or the user. Ask rather than guess any value that changes the result.\n3. **Run a small version first.** Run the pipeline on a small subset (one sample, one chromosome, a few thousand cells) first.\n4. **Execute the full task** using the instructions and references above.\n5. **Validate the result.** Check QC metrics, sample identities, genome build consistency and batch effects before interpreting results.\n6. **Report.** State what was run (versions, commands, parameters), what was checked, and what is still uncertain.\n\n| If this happens | Do this |\n|---|---|\n| Genome builds or identifiers do not match between inputs | Stop and harmonize (liftover, ID mapping) before continuing. |\n| A function, flag or endpoint in these instructions is missing in the installed version | Check the installed version's own documentation (`help()`, `--help`, official docs), adapt, and tell the user. Never invent an API. |\n| A required input, identifier or parameter is ambiguous | Ask the user, or state the assumption explicitly before running. |\n\n**Integrity rules**\n\n- Never fabricate results, parameters, identifiers, citations or statistics. If something cannot be run or verified, say so plainly.\n- Do not interpret biological significance beyond what the statistics support; report multiple-testing correction.\n- Treat version-specific details here as possibly outdated: confirm them against the official documentation for the installed version.\n- Ask before actions that cost money, consume shared GPUs or cloud quota, touch personal or patient data, or cannot be undone.\n\n## Related skills\n\n- `bids`: Organizes, queries, validates, and converts neuroscience and biomedical datasets using the Brain Imaging Data Structure (BIDS) standard, co…\n",{"name":5,"license":15,"metadata":55,"description":7},{"tags":56,"version":57,"category":58,"openclaw":59,"maintainer":64},"Neuropixels, spike sorting, electrophysiology, SpikeInterface, neuroscience","2.4","life-sciences",{"envVars":60,"primaryEnv":62},[61],{"name":62,"required":51,"description":63},"ANTHROPIC_API_KEY","For optional Claude API calls.","Kalaris Labs","main","2b63f856ce19c2a797929cacabd9e0fc936812fa","plugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fneuropixels-analysis",491,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins","https:\u002F\u002Fhol.org\u002Fplugins\u002Fbest-codex-plugins","https:\u002F\u002Fgithub.com\u002Fhashgraph-online","https:\u002F\u002Fhol.org","Open-source standards and developer tools for interoperable AI agents: discovery, identity, communication, payments, privacy and security.","2026-11-14 14:06:13",{"source":8,"skillName":5,"commands":76,"prompt":86,"zipAvailable":87},[77,80,83],{"tool":78,"command":79},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill neuropixels-analysis",{"tool":81,"command":82},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill neuropixels-analysis",{"tool":84,"command":85},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill neuropixels-analysis","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fneuropixels-analysis\u002FSKILL.md",true,[89,95,101,105,109,113,117,121,125,129,133,137,141,145,149,153,157],{"path":90,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":93,"sourceHtmlUrl":94},"assets\u002Fanalysis_template.py","SCRIPT","脚本",9009,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fneuropixels-analysis\u002Fassets\u002Fanalysis_template.py",{"path":96,"resourceType":97,"resourceTypeDesc":98,"sizeBytes":99,"sourceHtmlUrl":100},"references\u002FAI_CURATION.md","REFERENCE","参考文档",5849,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fneuropixels-analysis\u002Freferences\u002FAI_CURATION.md",{"path":102,"resourceType":97,"resourceTypeDesc":98,"sizeBytes":103,"sourceHtmlUrl":104},"references\u002FANALYSIS.md",9871,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fneuropixels-analysis\u002Freferences\u002FANALYSIS.md",{"path":106,"resourceType":97,"resourceTypeDesc":98,"sizeBytes":107,"sourceHtmlUrl":108},"references\u002Fapi_reference.md",7402,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fneuropixels-analysis\u002Freferences\u002Fapi_reference.md",{"path":110,"resourceType":97,"resourceTypeDesc":98,"sizeBytes":111,"sourceHtmlUrl":112},"references\u002FAUTOMATED_CURATION.md",13086,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fneuropixels-analysis\u002Freferences\u002FAUTOMATED_CURATION.md",{"path":114,"resourceType":97,"resourceTypeDesc":98,"sizeBytes":115,"sourceHtmlUrl":116},"references\u002FMOTION_CORRECTION.md",8649,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fneuropixels-analysis\u002Freferences\u002FMOTION_CORRECTION.md",{"path":118,"resourceType":97,"resourceTypeDesc":98,"sizeBytes":119,"sourceHtmlUrl":120},"references\u002Fplotting_guide.md",11465,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fneuropixels-analysis\u002Freferences\u002Fplotting_guide.md",{"path":122,"resourceType":97,"resourceTypeDesc":98,"sizeBytes":123,"sourceHtmlUrl":124},"references\u002FPREPROCESSING.md",6700,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fneuropixels-analysis\u002Freferences\u002FPREPROCESSING.md",{"path":126,"resourceType":97,"resourceTypeDesc":98,"sizeBytes":127,"sourceHtmlUrl":128},"references\u002FQUALITY_METRICS.md",9454,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fneuropixels-analysis\u002Freferences\u002FQUALITY_METRICS.md",{"path":130,"resourceType":97,"resourceTypeDesc":98,"sizeBytes":131,"sourceHtmlUrl":132},"references\u002FSPIKE_SORTING.md",7824,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fneuropixels-analysis\u002Freferences\u002FSPIKE_SORTING.md",{"path":134,"resourceType":97,"resourceTypeDesc":98,"sizeBytes":135,"sourceHtmlUrl":136},"references\u002Fstandard_workflow.md",9461,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fneuropixels-analysis\u002Freferences\u002Fstandard_workflow.md",{"path":138,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":139,"sourceHtmlUrl":140},"scripts\u002Fcompute_metrics.py",5588,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fneuropixels-analysis\u002Fscripts\u002Fcompute_metrics.py",{"path":142,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":143,"sourceHtmlUrl":144},"scripts\u002Fexplore_recording.py",5553,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fneuropixels-analysis\u002Fscripts\u002Fexplore_recording.py",{"path":146,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":147,"sourceHtmlUrl":148},"scripts\u002Fexport_to_phy.py",2477,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fneuropixels-analysis\u002Fscripts\u002Fexport_to_phy.py",{"path":150,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":151,"sourceHtmlUrl":152},"scripts\u002Fneuropixels_pipeline.py",14044,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fneuropixels-analysis\u002Fscripts\u002Fneuropixels_pipeline.py",{"path":154,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":155,"sourceHtmlUrl":156},"scripts\u002Fpreprocess_recording.py",4279,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fneuropixels-analysis\u002Fscripts\u002Fpreprocess_recording.py",{"path":158,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":159,"sourceHtmlUrl":160},"scripts\u002Frun_sorting.py",2573,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fskills\u002Fneuropixels-analysis\u002Fscripts\u002Frun_sorting.py",[162,171,179,187,195,203],{"skillNo":163,"name":164,"nameZh":6,"description":165,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":166,"sourceHtmlUrl":167,"categories":168,"keywords":169,"publishedAt":170},"01M7DV332YQMGD8WTRJ9DZQXTB","worktable-review-with-annotations","Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":172,"name":173,"nameZh":6,"description":174,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":175,"sourceHtmlUrl":176,"categories":177,"keywords":178,"publishedAt":170},"01M7DV2YGHCZVBEB1AHYB6CGHE","worktable-find-and-synthesize-context","Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FSKILL.md",[],[],{"skillNo":180,"name":181,"nameZh":6,"description":182,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":183,"sourceHtmlUrl":184,"categories":185,"keywords":186,"publishedAt":170},"01M7DV2TQN1H11ME2SAF9MXN7V","worktable-create-or-update-docs","Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FSKILL.md",[],[],{"skillNo":188,"name":189,"nameZh":6,"description":190,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":191,"sourceHtmlUrl":192,"categories":193,"keywords":194,"publishedAt":170},"01M7DV2NE452NEA8TXATKSNAJH","worktable-create-or-manage-records","Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FSKILL.md",[],[],{"skillNo":196,"name":197,"nameZh":6,"description":198,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":199,"sourceHtmlUrl":200,"categories":201,"keywords":202,"publishedAt":170},"01M7DV2HENRBR2KSCVM064WH0Y","worktable-create-or-manage-interactive-html","Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FSKILL.md",[],[],{"skillNo":204,"name":205,"nameZh":6,"description":206,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":207,"sourceHtmlUrl":208,"categories":209,"keywords":210,"publishedAt":170},"01M7DV2CADR5R7RQFFYPNAGR9Y","worktable-collaborate-threads","Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FSKILL.md",[],[]]