neurokit2

neurokit2 is a skill for Claude Code, Codex from dralkh/iktinah. It costs 96 tokens per session (2,857 once invoked), scanned A, a copy of neurokit2, MIT.

A Python toolkit for processing physiological signals, body measurements such as heart and brain activity. It supports ECG, EEG, EDA, breathing, pulse, muscle, and eye-movement recordings.

In plain words
What is it for?
Process heart, brain, skin-conductance, respiratory, muscle, and eye-movement signals; calculate heart-rate or complexity measures; and combine multiple signal types.
Why use it?
Raw biosignals are noisy and difficult to compare without consistent cleaning and measurement. The toolkit provides common processing and analysis steps for research, clinical work, and human-computer interaction studies.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Process heart, brain, skin-conductance, respiratory, muscle, and eye-movement signals; calculate heart-rate or complexity measures; and combine multiple signal types.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dralkh/iktinah/neurokit2
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dralkh/iktinah --skill neurokit2
Clone the repo
git clone --depth 1 https://github.com/dralkh/iktinah

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for neurokit2

README.md
[![agentmods](https://agentmods.dev/badge/skills/dralkh/iktinah/neurokit2/github.svg)](https://agentmods.dev/skills/dralkh/iktinah/neurokit2)
Your own site
<a href="https://agentmods.dev/skills/dralkh/iktinah/neurokit2"><img src="https://agentmods.dev/badge/skills/dralkh/iktinah/neurokit2/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for neurokit2

Your own site · 80×15
<a href="https://agentmods.dev/skills/dralkh/iktinah/neurokit2"><img src="https://agentmods.dev/badge/skills/dralkh/iktinah/neurokit2.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,857 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 98% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00096 $0.02857
Opus 5 $0.00048 $0.01429
Sonnet 5 $0.00019 $0.00571
Haiku 4.5 $0.00010 $0.00286

Measured 8d ago against content hash 7ee34a1dcc21, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

neurokit2 scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

98% identical to neurokit2 — 4 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/neurokit2/SKILL.md · 354 lines

How it starts

The opening of the file, as written. The whole thing — 354 lines — stays where its author put it; the contents beside it link to each section on GitHub.

NeuroKit2

Overview

NeuroKit2 is a comprehensive Python toolkit for processing and analyzing physiological signals (biosignals). Use this skill to process cardiovascular, neural, autonomic, respiratory, and muscular signals for psychophysiology research, clinical applications, and human-computer interaction studies.

When to Use This Skill

Apply this skill when working with:

  • Cardiac signals: ECG, PPG, heart rate variability (HRV), pulse analysis
  • Brain signals: EEG frequency bands, microstates, complexity, source localization
  • Autonomic signals: Electrodermal activity (EDA/GSR), skin conductance responses (SCR)
  • Respiratory signals: Breathing rate, respiratory variability (RRV), volume per time
  • Muscular signals: EMG amplitude, muscle activation detection
  • Eye tracking: EOG, blink detection and analysis
  • Multi-modal integration: Processing multiple physiological signals simultaneously
  • Complexity analysis: Entropy measures, fractal dimensions, nonlinear dynamics

Core Capabilities

1. Cardiac Signal Processing (ECG/PPG)

Process electrocardiogram and photoplethysmography signals for cardiovascular analysis. See references/ecg_cardiac.md for detailed workflows.

Primary workflows:

  • ECG processing pipeline: cleaning → R-peak detection → delineation → quality assessment
  • HRV analysis across time, frequency, and nonlinear domains
  • PPG pulse analysis and quality assessment
  • ECG-derived respiration extraction

Key functions:

import neurokit2 as nk

# Complete ECG processing pipeline
signals, info = nk.ecg_process(ecg_signal, sampling_rate=1000)

# Analyze ECG data (event-related or interval-related)
analysis = nk.ecg_analyze(signals, sampling_rate=1000)

# Comprehensive HRV analysis
hrv = nk.hrv(peaks, sampling_rate=1000)  # Time, frequency, nonlinear domains

2. Heart Rate Variability Analysis

Compute comprehensive HRV metrics from cardiac signals. See references/hrv.md for all indices and domain-specific analysis.

Read the full file on GitHub · 354 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 354 lines · 96 tokens per session scan A 7ee34a1dcc21

Subscribe to this mod's changes

neurokit2 is a skill published in the GitHub repository dralkh/iktinah (77 stars, last pushed 2mo ago), licensed MIT. It adds 96 tokens to every session and 2,857 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. It is 98% identical to neurokit2, differing in 4 lines, and is treated as a copy.

Related

Other skills, from other repositories

sci-extract

Read an academic paper end to end and extract professional research insights, figures, metadata, and critique. Use this skill whenever the user shares a scientific paper, review paper, survey paper, systematic review, meta-analysis, scoping review, arXiv link, DOI, PDF, or pasted paper text and asks to read…

ShZhao27208/Aut_Sci_Write · 143 tokens

sci-polish

Two-stage academic paper polishing skill. Stage A reduces AI detection traces (targeting GPTZero, Turnitin, Originality.ai). Stage B performs 8-dimension quality improvement (grammar, tone, coherence, conciseness, terminology, structure, argument clarity, journal compliance). Use whenever the user asks to polish…

ShZhao27208/Aut_Sci_Write · 90 tokens

sci-ppt

Generate professional academic PowerPoint (PPTX) presentations from paper PDFs, structured outlines, or plain text. Use for thesis defense, seminar reports, literature presentations, and graduate school applications. Supports automatic figure extraction, LaTeX formula rendering, and bilingual (Chinese/English) layouts.

ShZhao27208/Aut_Sci_Write · 63 tokens

econ-compass

Your compass for navigating economics literature. Find the most important, must-read papers in any economics field or research area — from broad subfields like labor economics or macroeconomics to narrow topics like 'carbon pricing' or 'digitalization and firm innovation'. This skill curates essential reading lists by…

mimaowang/econ-compass · 195 tokens

kami-deck

A lab-meeting deck on gut-microbiome links to sleep quality — the design, the results, the caveats, and the next experiment. Built as a decision-grade academic research deck for lab group, PI.

linyeping/Metis · 49 tokens

html-ppt-zhangzara-monochrome

A grant proposal on CRISPR base-editing for sickle-cell disease — the hypothesis, the approach, the milestones, and the risk. Built as a decision-grade academic research deck for grant review committee.

linyeping/Metis · 54 tokens