Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
What This Skill Does
System Diagnostics gives AI agents tools to inspect server health, read log files, check service status, and test network connectivity on Linux and macOS. It wraps common diagnostic commands like df, ps, free, and netstat into structured tool calls an agent can invoke directly.
Consolidates the most common incident-response commands into a single agent-accessible interface, removing the need to open a separate terminal session mid-investigation.
When to use it
- Checking disk usage before deploying a large build
- Identifying which process is consuming the most CPU during a slowdown
- Reading the last 100 lines of an nginx error log after a 502 alert
- Confirming a systemd service restarted successfully after a config change
- Running a DNS lookup to verify a new domain resolves correctly
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: My server feels sluggish, what's going on?
- 1Call system_summary to get an overview of CPU, memory, disk, and top processes
- 2Call run_diagnostic with 'ps aux --sort=-%cpu | head -20' to identify the top offenders
- 3Call read_log with '/var/log/syslog' to look for recent errors or warnings
- 4Call check_service for any services showing high resource usage
A summary identifying the resource bottleneck, relevant log entries, and the status of implicated services