← 返回 Skills 市场
ericlooi504

System Doctor

作者 ericlooi504 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
13
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install sys-doctor
功能描述
Comprehensive system diagnostics and health check for Linux servers. Check disk usage, memory, CPU load, network interfaces, running services, and system inf...
使用说明 (SKILL.md)

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

Command Action
--check disk Check only disk usage
--check memory Check only memory/swap
--check cpu Check only CPU load
--check network Check only network interfaces
--check services List running services
--report Generate HTML health report
--json Output as JSON
--output file.html Save 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 \x3C 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
安全使用建议
This looks like a normal local diagnostics skill. Before installing or running it, be aware that its reports can include infrastructure details such as hostnames, IP addresses, mounted disks, logged-in users, and running services, and that its network check may perform a DNS lookup to google.com despite the documentation’s offline wording.
功能分析
Type: OpenClaw Skill Name: sys-doctor Version: 1.0.0 The sys-doctor skill is a standard system diagnostic tool that gathers disk, memory, CPU, network, and service information using common Linux utilities like df, free, ip, and systemctl. The Python script (sys_doctor.py) follows safe practices for subprocess execution and lacks any indicators of data exfiltration, persistence, or malicious intent.
能力评估
Purpose & Capability
The stated purpose is Linux server diagnostics, and the visible code checks disk, memory, CPU, network interfaces, services, uptime, and logged-in users in ways that align with that purpose.
Instruction Scope
The quick-start command runs the diagnostic script directly; the visible commands are bounded diagnostic reads, but the default all-check flow includes local system enumeration and a network DNS-resolution test.
Install Mechanism
There is no install spec or remote installer. The skill includes a Python script, but registry requirements do not declare the system utilities the script uses, such as df, free, ip, systemctl, who, and getent.
Credentials
Collecting hostnames, IP addresses, running services, disk usage, and logged-in user counts is proportionate for diagnostics, but the resulting report may contain sensitive infrastructure details.
Persistence & Privilege
No credentials, background service, privilege escalation, or persistent agent behavior are shown. Report file creation appears user-directed through documented flags.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install sys-doctor
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /sys-doctor 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: system diagnostics, HTML reports, JSON output
元数据
Slug sys-doctor
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

System Doctor 是什么?

Comprehensive system diagnostics and health check for Linux servers. Check disk usage, memory, CPU load, network interfaces, running services, and system inf... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 13 次。

如何安装 System Doctor?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install sys-doctor」即可一键安装,无需额外配置。

System Doctor 是免费的吗?

是的,System Doctor 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

System Doctor 支持哪些平台?

System Doctor 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 System Doctor?

由 ericlooi504(@ericlooi504)开发并维护,当前版本 v1.0.0。

💬 留言讨论