--- name: sysadmin-health description: Run comprehensive health check on Arch Linux workstation model: haiku --- # Sysadmin Health Check Skill Performs a comprehensive health check on the local Arch Linux workstation. ## Checks Performed ### System Resources - Disk usage (`df -h`) - Memory usage (`free -h`) - Swap usage - CPU load (`uptime`) - Top processes by resource usage ### Package Status - Pending pacman updates (`checkupdates`) - AUR updates available (`yay -Qua`) - Orphaned packages (`pacman -Qtdq`) - Package cache size (`du -sh /var/cache/pacman/pkg`) ### Service Status - Failed systemd services (`systemctl --failed`) - Key services status (NetworkManager, sshd, etc.) ### User Timers (Claude Automation) - Active user timers (`systemctl --user list-timers`) - Failed user services (`systemctl --user --failed`) - Recent timer runs (`journalctl --user -u k8s-agent-health-check --since "24 hours ago" -n 5`) ### Security - Recent failed login attempts (`journalctl -u sshd --since "24 hours ago" | grep -i failed`) - Last logins (`last -n 5`) ### Logs - Recent errors in journal (`journalctl -p err --since "24 hours ago" -n 20`) ## Output Format Report as structured summary with: - Overall health status (healthy/warning/critical) - Issues found (if any) - Recommended actions ## Autonomy This skill is read-only and can run without confirmation.