Skip to main content
Glama
electrodermal-activity

electrodermal-activity

Electrodermal Activity (EDA) & Skin Conductance Skill

License: MIT Python 3.10+ Zero Dependencies OpenClaw Ready MCP Protocol

A sovereign personal agent capability for computational psychophysiology, decomposing Electrodermal Activity (EDA/GSR), tracking tonic SCL, and quantifying phasic SCR sudomotor bursts.

Architecture

flowchart TD
    SensorStream["Raw EDA Stream (microsiemens, uS)"] --> BaselineFilter["Moving Baseline Extraction Engine"]
    BaselineFilter --> TonicSCL["Tonic Skin Conductance Level (SCL: 2 - 15 uS)"]
    BaselineFilter --> PhasicDetrend["Phasic Signal Isolation (EDA - Baseline)"]
    PhasicDetrend --> PeakDetector["SCR Peak Detector (Delta >= 0.05 uS, Rise Time 1-3s)"]
    PeakDetector --> FrequencyEngine["Non-Specific SCR Frequency (NSSCRs / min)"]
    TonicSCL & FrequencyEngine --> AAI["Autonomic Arousal Index (AAI: 0 - 100)"]
    AAI --> Coaching["OpenClaw / Hermes Sympathetic Calming Protocols"]

Related MCP server: physiological-tremor

Quickstart

from client import ElectrodermalActivityClient

client = ElectrodermalActivityClient()

# Analyze an EDA stream (10 Hz)
samples = [4.1, 4.15, 4.22, 4.58, 4.82, 4.70, 4.45, 4.25, 4.20]  # Example series
res = client.analyze_eda_stream(samples, sample_rate_hz=10.0)

print("Mean Tonic SCL:", res["mean_tonic_scl_us"], "uS")
print("NSSCR Frequency:", res["nsscr_frequency_per_min"], "bursts/min")
print("Arousal Index:", res["autonomic_arousal_index"], "/ 100")
print("Status:", res["status"])

MCP Server Integration

Add to your claude_desktop_config.json or OpenClaw tool registry:

{
  "mcpServers": {
    "electrodermal-activity": {
      "command": "python",
      "args": ["/path/to/genpark-personal-agent-skin-conductance-electrodermal-eda-skill/mcp_server.py"]
    }
  }
}

License

MIT License.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables deterministic analysis of accelerometer and gyroscope timeseries for 8–12 Hz microtremor spectral bands, postural stability, and central motor fatigue, returning stability scores and fatigue categorization for agent guidance.
    7
    MIT
  • A
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables agents to analyze accelerometer and gyroscope timeseries for microtremor spectral bands, postural stability, and central motor fatigue, returning spectral metrics and ergonomic guidance.
    7
    MIT