Files
claude-code/commands/sysadmin/health.md
OpenCode Test 431e10b449 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>
2025-12-29 13:23:42 -08:00

59 lines
1.3 KiB
Markdown

---
name: health
description: Run system health check
aliases: [syshealth, check]
invokes: skill:sysadmin-health
---
# /health Command
Runs a comprehensive health check on the Arch Linux workstation.
## Usage
```
/health
/health --quick # Skip package checks (faster)
/health --full # Include all checks plus security audit
```
## What It Does
1. Invokes the `sysadmin-health` skill
2. Collects system metrics (disk, memory, CPU, swap)
3. Checks for pending updates and package issues
4. Reviews failed services and recent errors
5. Reports overall system health status
## Example Output
```
System Health Report
═══════════════════════════════════════
Status: ⚠️ WARNING
Disk Usage:
/ : 65% (120G/180G)
/home : 82% (450G/550G) ⚠️
Memory: 8.2G / 32G (25%)
Swap: 0B / 8G
Pending Updates: 12 packages
Failed Services: 1 (bluetooth.service)
Recent Errors: 3 in last 24h
- nvidia-persistenced: initialization error
- cups: connection refused
- bluetooth: adapter not found
Recommended Actions:
1. Clean /home (above 80% threshold)
2. Fix bluetooth.service: systemctl restart bluetooth
3. Run system update: pacman -Syu
```
## Autonomy
This command is read-only and runs without confirmation.