[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M72CSGD0NCZGA0Q0WPFC63QR":3,"skill-same:01M72CSGD0NCZGA0Q0WPFC63QR":97},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M72CSGD0NCZGA0Q0WPFC63QR","neurokit2",null,"Comprehensive biosignal processing toolkit for analyzing physiological data including ECG, EEG, EDA, RSP, PPG, EMG, and EOG signals. Use this skill when processing cardiovascular signals, brain activity, electrodermal responses, respiratory patterns, muscle activity, or eye movements. Applicable for heart rate variability analysis, event-related potentials, complexity measures, autonomic nervous system assessment, psychophysiology research, and multi-modal physiological signal integration.","Sansar35\u002Fclaude-agent","Sansar35","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F145020281?v=4","01M724CQ2SCC86MGNSD87D0D4K","01M724CQ3965G9WJ3QXE3AJ5YY",1,"MIT","https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fneurokit2\u002FSKILL.md",[],[],"2026-11-10 18:39:20",false,"---\nname: neurokit2\ndescription: Comprehensive biosignal processing toolkit for analyzing physiological data including ECG, EEG, EDA, RSP, PPG, EMG, and EOG signals. Use this skill when processing cardiovascular signals, brain activity, electrodermal responses, respiratory patterns, muscle activity, or eye movements. Applicable for heart rate variability analysis, event-related potentials, complexity measures, autonomic nervous system assessment, psychophysiology research, and multi-modal physiological signal integration.\n---\n\n# NeuroKit2\n\n## Overview\n\nNeuroKit2 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.\n\n## When to Use This Skill\n\nApply this skill when working with:\n- **Cardiac signals**: ECG, PPG, heart rate variability (HRV), pulse analysis\n- **Brain signals**: EEG frequency bands, microstates, complexity, source localization\n- **Autonomic signals**: Electrodermal activity (EDA\u002FGSR), skin conductance responses (SCR)\n- **Respiratory signals**: Breathing rate, respiratory variability (RRV), volume per time\n- **Muscular signals**: EMG amplitude, muscle activation detection\n- **Eye tracking**: EOG, blink detection and analysis\n- **Multi-modal integration**: Processing multiple physiological signals simultaneously\n- **Complexity analysis**: Entropy measures, fractal dimensions, nonlinear dynamics\n\n## Core Capabilities\n\n### 1. Cardiac Signal Processing (ECG\u002FPPG)\n\nProcess electrocardiogram and photoplethysmography signals for cardiovascular analysis. See `references\u002Fecg_cardiac.md` for detailed workflows.\n\n**Primary workflows:**\n- ECG processing pipeline: cleaning → R-peak detection → delineation → quality assessment\n- HRV analysis across time, frequency, and nonlinear domains\n- PPG pulse analysis and quality assessment\n- ECG-derived respiration extraction\n\n**Key functions:**\n```python\nimport neurokit2 as nk\n\n# Complete ECG processing pipeline\nsignals, info = nk.ecg_process(ecg_signal, sampling_rate=1000)\n\n# Analyze ECG data (event-related or interval-related)\nanalysis = nk.ecg_analyze(signals, sampling_rate=1000)\n\n# Comprehensive HRV analysis\nhrv = nk.hrv(peaks, sampling_rate=1000)  # Time, frequency, nonlinear domains\n```\n\n### 2. Heart Rate Variability Analysis\n\nCompute comprehensive HRV metrics from cardiac signals. See `references\u002Fhrv.md` for all indices and domain-specific analysis.\n\n**Supported domains:**\n- **Time domain**: SDNN, RMSSD, pNN50, SDSD, and derived metrics\n- **Frequency domain**: ULF, VLF, LF, HF, VHF power and ratios\n- **Nonlinear domain**: Poincaré plot (SD1\u002FSD2), entropy measures, fractal dimensions\n- **Specialized**: Respiratory sinus arrhythmia (RSA), recurrence quantification analysis (RQA)\n\n**Key functions:**\n```python\n# All HRV indices at once\nhrv_indices = nk.hrv(peaks, sampling_rate=1000)\n\n# Domain-specific analysis\nhrv_time = nk.hrv_time(peaks)\nhrv_freq = nk.hrv_frequency(peaks, sampling_rate=1000)\nhrv_nonlinear = nk.hrv_nonlinear(peaks, sampling_rate=1000)\nhrv_rsa = nk.hrv_rsa(peaks, rsp_signal, sampling_rate=1000)\n```\n\n### 3. Brain Signal Analysis (EEG)\n\nAnalyze electroencephalography signals for frequency power, complexity, and microstate patterns. See `references\u002Feeg.md` for detailed workflows and MNE integration.\n\n**Primary capabilities:**\n- Frequency band power analysis (Delta, Theta, Alpha, Beta, Gamma)\n- Channel quality assessment and re-referencing\n- Source localization (sLORETA, MNE)\n- Microstate segmentation and transition dynamics\n- Global field power and dissimilarity measures\n\n**Key functions:**\n```python\n# Power analysis across frequency bands\npower = nk.eeg_power(eeg_data, sampling_rate=250, channels=['Fz', 'Cz', 'Pz'])\n\n# Microstate analysis\nmicrostates = nk.microstates_segment(eeg_data, n_microstates=4, method='kmod')\nstatic = nk.microstates_static(microstates)\ndynamic = nk.microstates_dynamic(microstates)\n```\n\n### 4. Electrodermal Activity (EDA)\n\nProcess skin conductance signals for autonomic nervous system assessment. See `references\u002Feda.md` for detailed workflows.\n\n**Primary workflows:**\n- Signal decomposition into tonic and phasic components\n- Skin conductance response (SCR) detection and analysis\n- Sympathetic nervous system index calculation\n- Autocorrelation and changepoint detection\n\n**Key functions:**\n```python\n# Complete EDA processing\nsignals, info = nk.eda_process(eda_signal, sampling_rate=100)\n\n# Analyze EDA data\nanalysis = nk.eda_analyze(signals, sampling_rate=100)\n\n# Sympathetic nervous system activity\nsympathetic = nk.eda_sympathetic(signals, sampling_rate=100)\n```\n\n### 5. Respiratory Signal Processing (RSP)\n\nAnalyze breathing patterns and respiratory variability. See `references\u002Frsp.md` for detailed workflows.\n\n**Primary capabilities:**\n- Respiratory rate calculation and variability analysis\n- Breathing amplitude and symmetry assessment\n- Respiratory volume per time (fMRI applications)\n- Respiratory amplitude variability (RAV)\n\n**Key functions:**\n```python\n# Complete RSP processing\nsignals, info = nk.rsp_process(rsp_signal, sampling_rate=100)\n\n# Respiratory rate variability\nrrv = nk.rsp_rrv(signals, sampling_rate=100)\n\n# Respiratory volume per time\nrvt = nk.rsp_rvt(signals, sampling_rate=100)\n```\n\n### 6. Electromyography (EMG)\n\nProcess muscle activity signals for activation detection and amplitude analysis. See `references\u002Femg.md` for workflows.\n\n**Key functions:**\n```python\n# Complete EMG processing\nsignals, info = nk.emg_process(emg_signal, sampling_rate=1000)\n\n# Muscle activation detection\nactivation = nk.emg_activation(signals, sampling_rate=1000, method='threshold')\n```\n\n### 7. Electrooculography (EOG)\n\nAnalyze eye movement and blink patterns. See `references\u002Feog.md` for workflows.\n\n**Key functions:**\n```python\n# Complete EOG processing\nsignals, info = nk.eog_process(eog_signal, sampling_rate=500)\n\n# Extract blink features\nfeatures = nk.eog_features(signals, sampling_rate=500)\n```\n\n### 8. General Signal Processing\n\nApply filtering, decomposition, and transformation operations to any signal. See `references\u002Fsignal_processing.md` for comprehensive utilities.\n\n**Key operations:**\n- Filtering (lowpass, highpass, bandpass, bandstop)\n- Decomposition (EMD, SSA, wavelet)\n- Peak detection and correction\n- Power spectral density estimation\n- Signal interpolation and resampling\n- Autocorrelation and synchrony analysis\n\n**Key functions:**\n```python\n# Filtering\nfiltered = nk.signal_filter(signal, sampling_rate=1000, lowcut=0.5, highcut=40)\n\n# Peak detection\npeaks = nk.signal_findpeaks(signal)\n\n# Power spectral density\npsd = nk.signal_psd(signal, sampling_rate=1000)\n```\n\n### 9. Complexity and Entropy Analysis\n\nCompute nonlinear dynamics, fractal dimensions, and information-theoretic measures. See `references\u002Fcomplexity.md` for all available metrics.\n\n**Available measures:**\n- **Entropy**: Shannon, approximate, sample, permutation, spectral, fuzzy, multiscale\n- **Fractal dimensions**: Katz, Higuchi, Petrosian, Sevcik, correlation dimension\n- **Nonlinear dynamics**: Lyapunov exponents, Lempel-Ziv complexity, recurrence quantification\n- **DFA**: Detrended fluctuation analysis, multifractal DFA\n- **Information theory**: Fisher information, mutual information\n\n**Key functions:**\n```python\n# Multiple complexity metrics at once\ncomplexity_indices = nk.complexity(signal, sampling_rate=1000)\n\n# Specific measures\napen = nk.entropy_approximate(signal)\ndfa = nk.fractal_dfa(signal)\nlyap = nk.complexity_lyapunov(signal, sampling_rate=1000)\n```\n\n### 10. Event-Related Analysis\n\nCreate epochs around stimulus events and analyze physiological responses. See `references\u002Fepochs_events.md` for workflows.\n\n**Primary capabilities:**\n- Epoch creation from event markers\n- Event-related averaging and visualization\n- Baseline correction options\n- Grand average computation with confidence intervals\n\n**Key functions:**\n```python\n# Find events in signal\nevents = nk.events_find(trigger_signal, threshold=0.5)\n\n# Create epochs around events\nepochs = nk.epochs_create(signals, events, sampling_rate=1000,\n                          epochs_start=-0.5, epochs_end=2.0)\n\n# Average across epochs\ngrand_average = nk.epochs_average(epochs)\n```\n\n### 11. Multi-Signal Integration\n\nProcess multiple physiological signals simultaneously with unified output. See `references\u002Fbio_module.md` for integration workflows.\n\n**Key functions:**\n```python\n# Process multiple signals at once\nbio_signals, bio_info = nk.bio_process(\n    ecg=ecg_signal,\n    rsp=rsp_signal,\n    eda=eda_signal,\n    emg=emg_signal,\n    sampling_rate=1000\n)\n\n# Analyze all processed signals\nbio_analysis = nk.bio_analyze(bio_signals, sampling_rate=1000)\n```\n\n## Analysis Modes\n\nNeuroKit2 automatically selects between two analysis modes based on data duration:\n\n**Event-related analysis** (\u003C 10 seconds):\n- Analyzes stimulus-locked responses\n- Epoch-based segmentation\n- Suitable for experimental paradigms with discrete trials\n\n**Interval-related analysis** (≥ 10 seconds):\n- Characterizes physiological patterns over extended periods\n- Resting state or continuous activities\n- Suitable for baseline measurements and long-term monitoring\n\nMost `*_analyze()` functions automatically choose the appropriate mode.\n\n## Installation\n\n```bash\nuv pip install neurokit2\n```\n\nFor development version:\n```bash\nuv pip install https:\u002F\u002Fgithub.com\u002Fneuropsychology\u002FNeuroKit\u002Fzipball\u002Fdev\n```\n\n## Common Workflows\n\n### Quick Start: ECG Analysis\n```python\nimport neurokit2 as nk\n\n# Load example data\necg = nk.ecg_simulate(duration=60, sampling_rate=1000)\n\n# Process ECG\nsignals, info = nk.ecg_process(ecg, sampling_rate=1000)\n\n# Analyze HRV\nhrv = nk.hrv(info['ECG_R_Peaks'], sampling_rate=1000)\n\n# Visualize\nnk.ecg_plot(signals, info)\n```\n\n### Multi-Modal Analysis\n```python\n# Process multiple signals\nbio_signals, bio_info = nk.bio_process(\n    ecg=ecg_signal,\n    rsp=rsp_signal,\n    eda=eda_signal,\n    sampling_rate=1000\n)\n\n# Analyze all signals\nresults = nk.bio_analyze(bio_signals, sampling_rate=1000)\n```\n\n### Event-Related Potential\n```python\n# Find events\nevents = nk.events_find(trigger_channel, threshold=0.5)\n\n# Create epochs\nepochs = nk.epochs_create(processed_signals, events,\n                          sampling_rate=1000,\n                          epochs_start=-0.5, epochs_end=2.0)\n\n# Event-related analysis for each signal type\necg_epochs = nk.ecg_eventrelated(epochs)\neda_epochs = nk.eda_eventrelated(epochs)\n```\n\n## References\n\nThis skill includes comprehensive reference documentation organized by signal type and analysis method:\n\n- **ecg_cardiac.md**: ECG\u002FPPG processing, R-peak detection, delineation, quality assessment\n- **hrv.md**: Heart rate variability indices across all domains\n- **eeg.md**: EEG analysis, frequency bands, microstates, source localization\n- **eda.md**: Electrodermal activity processing and SCR analysis\n- **rsp.md**: Respiratory signal processing and variability\n- **ppg.md**: Photoplethysmography signal analysis\n- **emg.md**: Electromyography processing and activation detection\n- **eog.md**: Electrooculography and blink analysis\n- **signal_processing.md**: General signal utilities and transformations\n- **complexity.md**: Entropy, fractal, and nonlinear measures\n- **epochs_events.md**: Event-related analysis and epoch creation\n- **bio_module.md**: Multi-signal integration workflows\n\nLoad specific reference files as needed using the Read tool to access detailed function documentation and parameters.\n\n## Additional Resources\n\n- Official Documentation: https:\u002F\u002Fneuropsychology.github.io\u002FNeuroKit\u002F\n- GitHub Repository: https:\u002F\u002Fgithub.com\u002Fneuropsychology\u002FNeuroKit\n- Publication: Makowski et al. (2021). NeuroKit2: A Python toolbox for neurophysiological signal processing. Behavior Research Methods. https:\u002F\u002Fdoi.org\u002F10.3758\u002Fs13428-020-01516-y\n","# NeuroKit2\n\n## Overview\n\nNeuroKit2 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.\n\n## When to Use This Skill\n\nApply this skill when working with:\n- **Cardiac signals**: ECG, PPG, heart rate variability (HRV), pulse analysis\n- **Brain signals**: EEG frequency bands, microstates, complexity, source localization\n- **Autonomic signals**: Electrodermal activity (EDA\u002FGSR), skin conductance responses (SCR)\n- **Respiratory signals**: Breathing rate, respiratory variability (RRV), volume per time\n- **Muscular signals**: EMG amplitude, muscle activation detection\n- **Eye tracking**: EOG, blink detection and analysis\n- **Multi-modal integration**: Processing multiple physiological signals simultaneously\n- **Complexity analysis**: Entropy measures, fractal dimensions, nonlinear dynamics\n\n## Core Capabilities\n\n### 1. Cardiac Signal Processing (ECG\u002FPPG)\n\nProcess electrocardiogram and photoplethysmography signals for cardiovascular analysis. See `references\u002Fecg_cardiac.md` for detailed workflows.\n\n**Primary workflows:**\n- ECG processing pipeline: cleaning → R-peak detection → delineation → quality assessment\n- HRV analysis across time, frequency, and nonlinear domains\n- PPG pulse analysis and quality assessment\n- ECG-derived respiration extraction\n\n**Key functions:**\n```python\nimport neurokit2 as nk\n\n# Complete ECG processing pipeline\nsignals, info = nk.ecg_process(ecg_signal, sampling_rate=1000)\n\n# Analyze ECG data (event-related or interval-related)\nanalysis = nk.ecg_analyze(signals, sampling_rate=1000)\n\n# Comprehensive HRV analysis\nhrv = nk.hrv(peaks, sampling_rate=1000)  # Time, frequency, nonlinear domains\n```\n\n### 2. Heart Rate Variability Analysis\n\nCompute comprehensive HRV metrics from cardiac signals. See `references\u002Fhrv.md` for all indices and domain-specific analysis.\n\n**Supported domains:**\n- **Time domain**: SDNN, RMSSD, pNN50, SDSD, and derived metrics\n- **Frequency domain**: ULF, VLF, LF, HF, VHF power and ratios\n- **Nonlinear domain**: Poincaré plot (SD1\u002FSD2), entropy measures, fractal dimensions\n- **Specialized**: Respiratory sinus arrhythmia (RSA), recurrence quantification analysis (RQA)\n\n**Key functions:**\n```python\n# All HRV indices at once\nhrv_indices = nk.hrv(peaks, sampling_rate=1000)\n\n# Domain-specific analysis\nhrv_time = nk.hrv_time(peaks)\nhrv_freq = nk.hrv_frequency(peaks, sampling_rate=1000)\nhrv_nonlinear = nk.hrv_nonlinear(peaks, sampling_rate=1000)\nhrv_rsa = nk.hrv_rsa(peaks, rsp_signal, sampling_rate=1000)\n```\n\n### 3. Brain Signal Analysis (EEG)\n\nAnalyze electroencephalography signals for frequency power, complexity, and microstate patterns. See `references\u002Feeg.md` for detailed workflows and MNE integration.\n\n**Primary capabilities:**\n- Frequency band power analysis (Delta, Theta, Alpha, Beta, Gamma)\n- Channel quality assessment and re-referencing\n- Source localization (sLORETA, MNE)\n- Microstate segmentation and transition dynamics\n- Global field power and dissimilarity measures\n\n**Key functions:**\n```python\n# Power analysis across frequency bands\npower = nk.eeg_power(eeg_data, sampling_rate=250, channels=['Fz', 'Cz', 'Pz'])\n\n# Microstate analysis\nmicrostates = nk.microstates_segment(eeg_data, n_microstates=4, method='kmod')\nstatic = nk.microstates_static(microstates)\ndynamic = nk.microstates_dynamic(microstates)\n```\n\n### 4. Electrodermal Activity (EDA)\n\nProcess skin conductance signals for autonomic nervous system assessment. See `references\u002Feda.md` for detailed workflows.\n\n**Primary workflows:**\n- Signal decomposition into tonic and phasic components\n- Skin conductance response (SCR) detection and analysis\n- Sympathetic nervous system index calculation\n- Autocorrelation and changepoint detection\n\n**Key functions:**\n```python\n# Complete EDA processing\nsignals, info = nk.eda_process(eda_signal, sampling_rate=100)\n\n# Analyze EDA data\nanalysis = nk.eda_analyze(signals, sampling_rate=100)\n\n# Sympathetic nervous system activity\nsympathetic = nk.eda_sympathetic(signals, sampling_rate=100)\n```\n\n### 5. Respiratory Signal Processing (RSP)\n\nAnalyze breathing patterns and respiratory variability. See `references\u002Frsp.md` for detailed workflows.\n\n**Primary capabilities:**\n- Respiratory rate calculation and variability analysis\n- Breathing amplitude and symmetry assessment\n- Respiratory volume per time (fMRI applications)\n- Respiratory amplitude variability (RAV)\n\n**Key functions:**\n```python\n# Complete RSP processing\nsignals, info = nk.rsp_process(rsp_signal, sampling_rate=100)\n\n# Respiratory rate variability\nrrv = nk.rsp_rrv(signals, sampling_rate=100)\n\n# Respiratory volume per time\nrvt = nk.rsp_rvt(signals, sampling_rate=100)\n```\n\n### 6. Electromyography (EMG)\n\nProcess muscle activity signals for activation detection and amplitude analysis. See `references\u002Femg.md` for workflows.\n\n**Key functions:**\n```python\n# Complete EMG processing\nsignals, info = nk.emg_process(emg_signal, sampling_rate=1000)\n\n# Muscle activation detection\nactivation = nk.emg_activation(signals, sampling_rate=1000, method='threshold')\n```\n\n### 7. Electrooculography (EOG)\n\nAnalyze eye movement and blink patterns. See `references\u002Feog.md` for workflows.\n\n**Key functions:**\n```python\n# Complete EOG processing\nsignals, info = nk.eog_process(eog_signal, sampling_rate=500)\n\n# Extract blink features\nfeatures = nk.eog_features(signals, sampling_rate=500)\n```\n\n### 8. General Signal Processing\n\nApply filtering, decomposition, and transformation operations to any signal. See `references\u002Fsignal_processing.md` for comprehensive utilities.\n\n**Key operations:**\n- Filtering (lowpass, highpass, bandpass, bandstop)\n- Decomposition (EMD, SSA, wavelet)\n- Peak detection and correction\n- Power spectral density estimation\n- Signal interpolation and resampling\n- Autocorrelation and synchrony analysis\n\n**Key functions:**\n```python\n# Filtering\nfiltered = nk.signal_filter(signal, sampling_rate=1000, lowcut=0.5, highcut=40)\n\n# Peak detection\npeaks = nk.signal_findpeaks(signal)\n\n# Power spectral density\npsd = nk.signal_psd(signal, sampling_rate=1000)\n```\n\n### 9. Complexity and Entropy Analysis\n\nCompute nonlinear dynamics, fractal dimensions, and information-theoretic measures. See `references\u002Fcomplexity.md` for all available metrics.\n\n**Available measures:**\n- **Entropy**: Shannon, approximate, sample, permutation, spectral, fuzzy, multiscale\n- **Fractal dimensions**: Katz, Higuchi, Petrosian, Sevcik, correlation dimension\n- **Nonlinear dynamics**: Lyapunov exponents, Lempel-Ziv complexity, recurrence quantification\n- **DFA**: Detrended fluctuation analysis, multifractal DFA\n- **Information theory**: Fisher information, mutual information\n\n**Key functions:**\n```python\n# Multiple complexity metrics at once\ncomplexity_indices = nk.complexity(signal, sampling_rate=1000)\n\n# Specific measures\napen = nk.entropy_approximate(signal)\ndfa = nk.fractal_dfa(signal)\nlyap = nk.complexity_lyapunov(signal, sampling_rate=1000)\n```\n\n### 10. Event-Related Analysis\n\nCreate epochs around stimulus events and analyze physiological responses. See `references\u002Fepochs_events.md` for workflows.\n\n**Primary capabilities:**\n- Epoch creation from event markers\n- Event-related averaging and visualization\n- Baseline correction options\n- Grand average computation with confidence intervals\n\n**Key functions:**\n```python\n# Find events in signal\nevents = nk.events_find(trigger_signal, threshold=0.5)\n\n# Create epochs around events\nepochs = nk.epochs_create(signals, events, sampling_rate=1000,\n                          epochs_start=-0.5, epochs_end=2.0)\n\n# Average across epochs\ngrand_average = nk.epochs_average(epochs)\n```\n\n### 11. Multi-Signal Integration\n\nProcess multiple physiological signals simultaneously with unified output. See `references\u002Fbio_module.md` for integration workflows.\n\n**Key functions:**\n```python\n# Process multiple signals at once\nbio_signals, bio_info = nk.bio_process(\n    ecg=ecg_signal,\n    rsp=rsp_signal,\n    eda=eda_signal,\n    emg=emg_signal,\n    sampling_rate=1000\n)\n\n# Analyze all processed signals\nbio_analysis = nk.bio_analyze(bio_signals, sampling_rate=1000)\n```\n\n## Analysis Modes\n\nNeuroKit2 automatically selects between two analysis modes based on data duration:\n\n**Event-related analysis** (\u003C 10 seconds):\n- Analyzes stimulus-locked responses\n- Epoch-based segmentation\n- Suitable for experimental paradigms with discrete trials\n\n**Interval-related analysis** (≥ 10 seconds):\n- Characterizes physiological patterns over extended periods\n- Resting state or continuous activities\n- Suitable for baseline measurements and long-term monitoring\n\nMost `*_analyze()` functions automatically choose the appropriate mode.\n\n## Installation\n\n```bash\nuv pip install neurokit2\n```\n\nFor development version:\n```bash\nuv pip install https:\u002F\u002Fgithub.com\u002Fneuropsychology\u002FNeuroKit\u002Fzipball\u002Fdev\n```\n\n## Common Workflows\n\n### Quick Start: ECG Analysis\n```python\nimport neurokit2 as nk\n\n# Load example data\necg = nk.ecg_simulate(duration=60, sampling_rate=1000)\n\n# Process ECG\nsignals, info = nk.ecg_process(ecg, sampling_rate=1000)\n\n# Analyze HRV\nhrv = nk.hrv(info['ECG_R_Peaks'], sampling_rate=1000)\n\n# Visualize\nnk.ecg_plot(signals, info)\n```\n\n### Multi-Modal Analysis\n```python\n# Process multiple signals\nbio_signals, bio_info = nk.bio_process(\n    ecg=ecg_signal,\n    rsp=rsp_signal,\n    eda=eda_signal,\n    sampling_rate=1000\n)\n\n# Analyze all signals\nresults = nk.bio_analyze(bio_signals, sampling_rate=1000)\n```\n\n### Event-Related Potential\n```python\n# Find events\nevents = nk.events_find(trigger_channel, threshold=0.5)\n\n# Create epochs\nepochs = nk.epochs_create(processed_signals, events,\n                          sampling_rate=1000,\n                          epochs_start=-0.5, epochs_end=2.0)\n\n# Event-related analysis for each signal type\necg_epochs = nk.ecg_eventrelated(epochs)\neda_epochs = nk.eda_eventrelated(epochs)\n```\n\n## References\n\nThis skill includes comprehensive reference documentation organized by signal type and analysis method:\n\n- **ecg_cardiac.md**: ECG\u002FPPG processing, R-peak detection, delineation, quality assessment\n- **hrv.md**: Heart rate variability indices across all domains\n- **eeg.md**: EEG analysis, frequency bands, microstates, source localization\n- **eda.md**: Electrodermal activity processing and SCR analysis\n- **rsp.md**: Respiratory signal processing and variability\n- **ppg.md**: Photoplethysmography signal analysis\n- **emg.md**: Electromyography processing and activation detection\n- **eog.md**: Electrooculography and blink analysis\n- **signal_processing.md**: General signal utilities and transformations\n- **complexity.md**: Entropy, fractal, and nonlinear measures\n- **epochs_events.md**: Event-related analysis and epoch creation\n- **bio_module.md**: Multi-signal integration workflows\n\nLoad specific reference files as needed using the Read tool to access detailed function documentation and parameters.\n\n## Additional Resources\n\n- Official Documentation: https:\u002F\u002Fneuropsychology.github.io\u002FNeuroKit\u002F\n- GitHub Repository: https:\u002F\u002Fgithub.com\u002Fneuropsychology\u002FNeuroKit\n- Publication: Makowski et al. (2021). NeuroKit2: A Python toolbox for neurophysiological signal processing. Behavior Research Methods. https:\u002F\u002Fdoi.org\u002F10.3758\u002Fs13428-020-01516-y\n",{"name":5,"description":7},"main","d046d088ce5a79a083f0abc0fe1b7ded73bc5b1f","claude-config\u002Fskills\u002Fneurokit2","https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent","https:\u002F\u002Fgithub.com\u002FSansar35","2026-05-10 16:04:53",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add Sansar35\u002Fclaude-agent --skill neurokit2",{"tool":35,"command":36},"bunx","bunx skills add Sansar35\u002Fclaude-agent --skill neurokit2",{"tool":38,"command":39},"pnpm","pnpm dlx skills add Sansar35\u002Fclaude-agent --skill neurokit2","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fneurokit2\u002FSKILL.md",true,[43,49,53,57,61,65,69,73,77,81,85,89,93],{"path":44,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":47,"sourceHtmlUrl":48},".skill-source.json","REFERENCE","参考文档",713,"https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fneurokit2\u002F.skill-source.json",{"path":50,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Fbio_module.md",13099,"https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fneurokit2\u002Freferences\u002Fbio_module.md",{"path":54,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fcomplexity.md",17352,"https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fneurokit2\u002Freferences\u002Fcomplexity.md",{"path":58,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Fecg_cardiac.md",10810,"https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fneurokit2\u002Freferences\u002Fecg_cardiac.md",{"path":62,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Feda.md",14733,"https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fneurokit2\u002Freferences\u002Feda.md",{"path":66,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Feeg.md",14306,"https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fneurokit2\u002Freferences\u002Feeg.md",{"path":70,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Femg.md",12390,"https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fneurokit2\u002Freferences\u002Femg.md",{"path":74,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Feog.md",12271,"https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fneurokit2\u002Freferences\u002Feog.md",{"path":78,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":79,"sourceHtmlUrl":80},"references\u002Fepochs_events.md",14793,"https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fneurokit2\u002Freferences\u002Fepochs_events.md",{"path":82,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Fhrv.md",15493,"https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fneurokit2\u002Freferences\u002Fhrv.md",{"path":86,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":87,"sourceHtmlUrl":88},"references\u002Fppg.md",11168,"https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fneurokit2\u002Freferences\u002Fppg.md",{"path":90,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":91,"sourceHtmlUrl":92},"references\u002Frsp.md",13946,"https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fneurokit2\u002Freferences\u002Frsp.md",{"path":94,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":95,"sourceHtmlUrl":96},"references\u002Fsignal_processing.md",16652,"https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fneurokit2\u002Freferences\u002Fsignal_processing.md",[98,105,112,119,126,134],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":18},"01M72DVAN1JYEA302MT0C5MGD6","zustand-store-ts","Create Zustand stores following established patterns with proper TypeScript types and middleware.","https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fzustand-store-ts\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":18},"01M72DV8J5NBRRM4RPDFRV95N7","zod-validation-expert","Expert in Zod — TypeScript-first schema validation. Covers parsing, custom errors, refinements, type inference, and integration with React Hook Form, Next.js, and tRPC.","https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fzod-validation-expert\u002FSKILL.md",[],[],{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":18},"01M72DV5EMHW0BHP9BZ167MDCB","zinc-database","Access ZINC (230M+ purchasable compounds). Search by ZINC ID\u002FSMILES, similarity searches, 3D-ready structures for docking, analog discovery, for virtual screening and drug discovery.","https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fzinc-database\u002FSKILL.md",[],[],{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":18},"01M72DV216QY0E693ZPEVQ0DBS","zarr-python","Chunked N-D arrays for cloud storage. Compressed arrays, parallel I\u002FO, S3\u002FGCS integration, NumPy\u002FDask\u002FXarray compatible, for large-scale scientific computing pipelines.","https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fzarr-python\u002FSKILL.md",[],[],{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":130,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":18},"01M72DTXQREMCRKA8NHCVKHN4W","zapier-workflows","Manage and trigger pre-built Zapier workflows and MCP tool orchestration. Use when user mentions workflows, Zaps, automations, daily digest, research, search, lead tracking, expenses, or asks to \"run\" any process. Also handles Perplexity-based research and Google Sheets data tracking.","https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fzapier-workflows\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fzapier-workflows\u002FSKILL.md",[],[],{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":18},"01M72DTT17TBSJ0Y8J2XZ4C9TZ","zapier-make-patterns","No-code automation democratizes workflow building. Zapier and Make (formerly Integromat) let non-developers automate business processes without writing code. But no-code doesn't mean no-complexity - these platforms have their own patterns, pitfalls, and breaking points.  This skill covers when to use which platform, how to build reliable automations, and when to graduate to code-based solutions. Key insight: Zapier optimizes for simplicity and integrations (7000+ apps), Make optimizes for power","https:\u002F\u002Fgithub.com\u002FSansar35\u002Fclaude-agent\u002Fblob\u002Fmain\u002Fclaude-config\u002Fskills\u002Fzapier-make-patterns\u002FSKILL.md",[],[]]