Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

neurokit2

Skill by K-Dense-AI

Builds and audits reproducible NeuroKit2 research workflows for physiological time-series analysis. Aimed at researchers who need method-aware, auditable biosignal processing, not diagnosis or device validation.

  • Score 94
  • 59k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install neurokit2

Built from the published package, never by AI.

git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/scientific-agent-skills/skills/neurokit2 ~/.claude/skills/neurokit2

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install neurokit2 in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

NeuroKit2 is a skill for building and auditing reproducible research workflows with the NeuroKit2 Python toolbox. It covers physiological time-series preprocessing, event and interval analysis, multimodal alignment, heart rate variability, electrodermal activity, and complexity measures. It pins NeuroKit2 0.2.13 and provides bounded helper scripts that inspect signals, run ECG and EDA pipelines, plan epochs, and validate stream manifests.

The skill requires the data contract to be recorded before processing, including sampling rate, units, timestamps, and exclusions, and it asks that raw data be preserved. Outputs are for research and education only, not diagnosis, alarms, or device validation. It is aimed at researchers and developers who import neurokit2 and need auditable analysis of biosignal data from deidentified local files.

Written from the project's SKILL.md and checked against it.

What it can do

  • Inspect signalsRuns a bounded check of CSV time, gaps, flat runs, and sampling-rate disagreement before filtering.
  • ECG and HRV pipelineRuns pinned ECG processing, peak correction, and time, frequency, and nonlinear HRV with a synthetic option.
  • EDA pipelineApplies explicit EDA cleaning, phasic decomposition, and peak detection with recorded methods.
  • Plan epochsPlans sample-exact event epoch and baseline windows from event sample indices.
  • Validate multimodal manifestChecks observed stream timestamps against a declared regular grid and reference stream.
  • Generate synthetic fixturesCreates deterministic CSV test signals without dependencies.
  • Complexity measuresGuides use of complexity functions that return values with metadata, with sensitivity checks advised.

What you need

  • Python 3.10 or newer
  • uv
  • NeuroKit2 0.2.13
  • NumPy, SciPy, pandas below 3, scikit-learn, matplotlib, PyWavelets, requests, and setuptools
  • Separately locked optional packages for some EEG, cvxEDA, plotting, file-format, and RQA features

Try asking

  • Preprocess this ECG recording and compute time-domain HRV at 250 Hz
  • Check my CSV for gaps, flatlines and sampling-rate issues before filtering
  • Plan sample-exact epoch windows for events at samples 1000, 2500, 4000

Good to know

  • Not for diagnosis, patient monitoring, alarms, or medical device validation.
  • Synthetic checks establish software behavior, not empirical validity.
  • Optional MNE, cvxEDA, EMD, and pyRQA paths are source-reviewed, not runtime-validated.
  • The current wheel requires pandas below 3, so pandas 3 is not used.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/neurokit2/SKILL.md, skills/neurokit2/scripts/_common.py, skills/neurokit2/scripts/ecg_hrv_pipeline.py, skills/neurokit2/scripts/eda_pipeline.py, skills/neurokit2/scripts/generate_synthetic.py, skills/neurokit2/scripts/inspect_signal.py, skills/neurokit2/scripts/plan_epochs.py, skills/neurokit2/scripts/validate_multimodal.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: Read Write Edit Bash Glob

  • SKILL.md15 KB
  • references/bio_module.md8 KB
  • references/complexity.md7 KB
  • references/ecg_cardiac.md7 KB
  • references/eda.md8 KB
Show all 20 files
  • references/eeg.md7 KB
  • references/emg.md7 KB
  • references/eog.md5 KB
  • references/epochs_events.md7 KB
  • references/hrv.md9 KB
  • references/ppg.md7 KB
  • references/rsp.md7 KB
  • references/signal_processing.md7 KB
  • scripts/_common.py19 KB
  • scripts/ecg_hrv_pipeline.py12 KB
  • scripts/eda_pipeline.py10 KB
  • scripts/generate_synthetic.py7 KB
  • scripts/inspect_signal.py13 KB
  • scripts/plan_epochs.py10 KB
  • scripts/validate_multimodal.py14 KB

Alternatives to neurokit2

All alternatives →

Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database

neurokit2: common questions

Is NeuroKit2 skill meant for medical diagnosis?

No. The source says NeuroKit2 is a research and educational toolbox and its output must not be presented as a diagnosis, treatment recommendation, or medical device validation.

Which NeuroKit2 version does this skill use?

The workflows are pinned to NeuroKit2 0.2.13, the stable PyPI release checked on 2026-10-01. The source notes the live documentation can be ahead of that version.

Does it handle multiple signals at once?

The source describes bio_process for synchronized ECG, respiration, and EDA inputs that share one sampling rate. It also says the caller must align the modalities first, since bio_process does not resample or synchronize them.

How do I install neurokit2?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is neurokit2 free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is neurokit2 safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to neurokit2?

Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.

neurokit2 Install

Add to stack

Loading.