genpark-personal-agent-skin-conductance-electrodermal-eda-skill

mcp
Security Audit
Warn
Health Warn
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 7 GitHub stars
Code Pass
  • Code scan — Scanned 4 files during light audit, no dangerous patterns found
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

Deterministic personal agent skill for monitoring electrodermal activity (EDA/GSR), decomposing tonic SCL, detecting phasic SCR bursts, and scoring autonomic arousal.

README.md

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"]

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.

Reviews (0)

No results found