sysmedic
sysmedic — System Performance Diagnosis & Optimization
Diagnose and optimize Linux server performance using a Medical Model pipeline. Four phases: Vital Signs (quick dashboard), Examination (deep scan of flagged subsystems), Diagnosis (root cause correlation), and Treatment (safe optimization with backup-first protocol).
Why This Skill Exists
Server performance issues present as symptoms (504 errors, slow pages, high load) but the root cause is often in a different subsystem entirely. A slow website might trace back through: MySQL slow queries → PHP-FPM workers blocked waiting → web server connection queue → user-facing 504 errors. Fixing the web server config alone would miss the real problem. This skill follows the same diagnostic method a doctor uses: check vital signs first, examine only what looks abnormal, diagnose the root cause by correlating evidence across subsystems, then treat with safety-first protocol.
Core Pipeline
Phase 1: VITAL SIGNS → 10-second CTO dashboard, traffic-light per subsystem
Phase 2: EXAMINATION → Deep scan ONLY subsystems flagged yellow/red
Phase 3: DIAGNOSIS → Cross-subsystem root cause correlation
Phase 4: TREATMENT → Backup → Recommend → Manual flags → Auto-fix w/ confirmation