mdata
от sscccswa
DevOps & CloudКратко
A comprehensive system diagnostics and troubleshooting toolkit for DevOps engineers and system administrators.
Описание
Что делает этот навык
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.
Когда его использовать
- 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
Пример сценария
User asks: My server feels sluggish, what's going on?
- 1
Call system_summary to get an overview of CPU, memory, disk, and top processes
- 2
Call run_diagnostic with 'ps aux --sort=-%cpu | head -20' to identify the top offenders
- 3
Call read_log with '/var/log/syslog' to look for recent errors or warnings
- 4
Call check_service for any services showing high resource usage
A summary identifying the resource bottleneck, relevant log entries, and the status of implicated services
Установка
clawhub install sscccswa/mdataВыполните команду CLI или вставьте промпт в Claude Code, Cursor, Codex — любой кодинг-агент, которым пользуетесь.