Implement programmer agent system and consolidate agent infrastructure
Programmer Agent System: - Add programmer-orchestrator (Opus) for workflow coordination - Add code-planner (Sonnet) for design and planning - Add code-implementer (Sonnet) for writing code - Add code-reviewer (Sonnet) for quality review - Add /programmer command and project registration skill - Add state files for preferences and project context Agent Infrastructure: - Add master-orchestrator and linux-sysadmin agents - Restructure skills to use SKILL.md subdirectory format - Convert workflows from markdown to YAML format - Add commands for k8s and sysadmin domains - Add shared state files (model-policy, autonomy-levels, system-instructions) - Add PA memory system (decisions, preferences, projects, facts) Cleanup: - Remove deprecated markdown skills and workflows - Remove crontab example (moved to workflows) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
51
skills/sysadmin-health/SKILL.md
Normal file
51
skills/sysadmin-health/SKILL.md
Normal file
@@ -0,0 +1,51 @@
|
||||
---
|
||||
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.
|
||||
Reference in New Issue
Block a user