genpark-personal-agent-ocular-microsaccade-rate-fatigue-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 evaluating ocular fixational microsaccade rate (Hz), main sequence velocity, involuntary ocular drift, and mental vigilance fatigue.

README.md

Ocular Microsaccade Rate & Fixational Fatigue Skill

License: Apache-2.0
Python 3.10+
Zero Dependencies
MCP Protocol Ready
OpenClaw Certified

Zero-dependency sovereign personal agent skill for evaluating ocular fixational microsaccade rate (Hz), main sequence velocity kinetics, involuntary ocular drift, and mental vigilance fatigue.

flowchart TD
    GazeFixation["High-Resolution Visual Fixation Stream"] --> DetectMS["Microsaccade Detection (Amp 0.1-0.8 deg)"]
    DetectMS --> RateCalc["Microsaccade Rate (Hz = Count / Sec)"]
    DetectMS --> MainSeq["Main Sequence Ratio (Q = Vmax / Amp)"]
    GazeFixation --> DriftCalc["Involuntary Inter-Saccadic Slow Drift Velocity"]
    RateCalc & MainSeq & DriftCalc --> VigilanceEngine["Cognitive Alertness & Ocular Fatigue Engine"]
    VigilanceEngine --> Agent["OpenClaw / Hermes Personal Agent Intervention"]

Features

  • Deterministic Math: Pure Python standard library implementation with zero external dependencies.
  • Ocular Kinematics Standards: Implements validated equations for fixational microsaccade frequency, main sequence velocity scaling, and ocular drift velocity.
  • Mental Fatigue & Drowsiness Screening: Sensitive detection of central vigilance drops and microsleep risks during prolonged cognitive effort.
  • Model Context Protocol (MCP): Native JSON-RPC tool integration for LLMs and autonomous agents.

Quickstart

from client import OcularMicrosaccadeRateClient

client = OcularMicrosaccadeRateClient()
result = client.evaluate_microsaccade_dynamics(
    fixation_duration_sec=30.0,
    microsaccade_count=54,
    mean_amplitude_deg=0.35,
    mean_peak_velocity_deg_s=15.2,
    mean_drift_velocity_deg_s=0.32
)
print("Microsaccade Rate:", result["microsaccade_rate_hz"], "Hz")
print("Alertness Score:", result["fixational_alertness_score"])
print("Classification:", result["classification"])

License

Apache-2.0

Reviews (0)

No results found