sys-doctor

Comprehensive system diagnostics and health check for Linux servers. Check disk usage, memory, CPU load, network interfaces, running services, and system info. Generate HTML health reports or JSON output. Use when the user wants to: (1) Check server health and resource usage, (2) Diagnose performance issues, (3) Generate system health reports for monitoring, (4) Check disk space on all mounted volumes, (5) Inspect memory and swap usage, (6) Troubleshoot network connectivity, (7) Audit running services.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "sys-doctor" with this command: npx skills add ericlooi504/sys-doctor

System Doctor (sys-doctor)

Run comprehensive system diagnostics with a single command.

Quick start

python3 skills/sys-doctor/scripts/sys_doctor.py

Output example:

◆ System Health Report: myserver
2026-05-10 13:30:00
============================================================
========================== DISK ==========================
  🟢 /              60%  (30G/50G, avail: 20G)
  🟡 /var/log       85%  (4.3G/5G, avail: 0.7G)
  🟢 /home          45%  (90G/200G, avail: 110G)
========================== MEMORY ========================
  RAM:    4.2G / 16G  (26%)
  Swap:   0.1G / 2G  (5%)
========================== CPU ============================
  Load:     0.45 / 0.32 / 0.28
  Cores:    4 (8 logical)
========================== NETWORK ========================
  🟢 eth0       UP    192.168.1.100/24
  🟢 docker0    UP    172.17.0.1/16
========================== SERVICES ======================
  • systemd-journald  • cron  • sshd  • docker
  • nginx  • postgresql  • redis-server

Commands

CommandAction
--check diskCheck only disk usage
--check memoryCheck only memory/swap
--check cpuCheck only CPU load
--check networkCheck only network interfaces
--check servicesList running services
--reportGenerate HTML health report
--jsonOutput as JSON
--output file.htmlSave to specific file

HTML Reports

Generate a styled HTML report for sharing or monitoring:

python3 skills/sys-doctor/scripts/sys_doctor.py --report
# Creates: sys-doctor-report-20260510-133000.html

JSON Output

For programmatic consumption (API, monitoring, dashboards):

python3 skills/sys-doctor/scripts/sys_doctor.py --json

Health Status Logic

  • Disk ≥ 90%critical (exit code 2)
  • Disk ≥ 80%warning
  • Disk < 80%ok

The report's color-coded badges reflect overall health status.

Requirements

  • Linux (primary) — uses /proc/, df, free, ip, systemctl
  • macOS — partial support via psutil fallback (install: pip install psutil)
  • No external API calls — fully offline

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Data Classification

用于数据分类、数据分级、数据分类分级任务。用户要求对单一数据字段名、字段列表、数据库表 SQL/DDL 文件进行数据分类、数据分级或数据分类分级时使用;支持普通数据分类分级、GB/T 43697-2024 通用数据分类分级、金融数据分类分级、JR/T 0197-2020 金融数据安全级别,以及“通用数据标签 +...

Registry SourceRecently Updated
General

Flight Disruption Compensation Kit

Guides air passengers through documenting flight disruptions, checking compensation and duty-of-care eligibility under major regulatory frameworks, and prepa...

Registry SourceRecently Updated
General

Job Offer Evaluation Kit

Compare job offers with structured compensation, benefits, risk, career-fit, and life-fit frameworks. Provides comparison tools only; no financial, tax, lega...

Registry SourceRecently Updated
General

Medical Bill Review Kit

Organizes medical bills and EOBs into a reviewable inventory, provides an error-spotting checklist for common billing mistakes, and prepares structured commu...

Registry SourceRecently Updated