Files
claude-code/skills/sysadmin-health/SKILL.md
OpenCode Test d9be8145f8 Refactor remaining skills with resources pattern and allowed-tools
- k8s-quick-status: Add scripts/quick-status.sh, allowed-tools
- sysadmin-health: Add scripts/health-check.sh, allowed-tools
- usage: Add scripts/usage_report.py, simplify SKILL.md
- programmer-add-project: Add allowed-tools

All skills now:
- Have executable scripts for main operations
- Use allowed-tools to restrict capabilities
- Have improved descriptions with trigger phrases
- Follow the "Skill with Bundled Resources" pattern

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 02:38:58 -08:00

1.5 KiB

name, description, allowed-tools
name description allowed-tools
sysadmin-health Comprehensive health check on Arch Linux workstation. Use when asked about system health, disk space, memory, updates, or services.
Bash
Read

Sysadmin Health Check Skill

Performs a comprehensive health check on the local Arch Linux workstation.

Quick Command

~/.claude/skills/sysadmin-health/scripts/health-check.sh

Or run individual checks:

# Resources
df -h / /home
free -h
uptime

# Packages
checkupdates | wc -l
yay -Qua | wc -l
pacman -Qtdq | wc -l

# Services
systemctl --failed
systemctl --user --failed

# Logs
journalctl -p err --since "24 hours ago" -n 10

Checks Performed

Category Checks
Resources Disk, memory, swap, CPU load
Packages Pacman updates, AUR updates, orphans
Services Failed systemd services (system + user)
Security Recent logins, failed SSH attempts
Logs Recent errors in journal

Output Format

Report as structured summary:

  • Overall health: healthy/warning/critical
  • Resource usage: disk %, memory %
  • Pending updates: count
  • Failed services: list
  • Issues found: with recommendations

Thresholds

Metric Warning Critical
Disk usage >80% >95%
Memory usage >80% >95%
Pending updates >20 >50
Failed services any any critical

Autonomy

Read-only - runs without confirmation.