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شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.