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:
50
workflows/sysadmin/health-check.yaml
Normal file
50
workflows/sysadmin/health-check.yaml
Normal file
@@ -0,0 +1,50 @@
|
||||
name: sysadmin-health-check
|
||||
description: Scheduled health check for Arch Linux workstation
|
||||
version: "1.0.0"
|
||||
|
||||
trigger:
|
||||
schedule:
|
||||
cron: "0 9 * * *" # Daily at 9 AM
|
||||
manual: true
|
||||
|
||||
agent: linux-sysadmin
|
||||
model: haiku # Use haiku for cost efficiency
|
||||
|
||||
steps:
|
||||
- name: collect-metrics
|
||||
description: Gather system metrics
|
||||
commands:
|
||||
- df -h
|
||||
- free -h
|
||||
- uptime
|
||||
- top -bn1 | head -20
|
||||
|
||||
- name: check-packages
|
||||
description: Check package status
|
||||
commands:
|
||||
- checkupdates 2>/dev/null || echo "No updates"
|
||||
- yay -Qua 2>/dev/null || echo "No AUR updates"
|
||||
- pacman -Qtdq 2>/dev/null || echo "No orphans"
|
||||
|
||||
- name: check-services
|
||||
description: Check systemd services
|
||||
commands:
|
||||
- systemctl --failed --no-pager
|
||||
|
||||
- name: check-logs
|
||||
description: Review recent errors
|
||||
commands:
|
||||
- journalctl -p err --since "24 hours ago" -n 10 --no-pager
|
||||
|
||||
- name: generate-report
|
||||
description: Create health summary
|
||||
action: summarize
|
||||
format: markdown
|
||||
|
||||
output:
|
||||
file: ~/.claude/logs/health-reports/$(date +%Y-%m-%d).md
|
||||
notify:
|
||||
on_warning: true
|
||||
on_critical: true
|
||||
|
||||
autonomy: read-only # No confirmation needed for read operations
|
||||
Reference in New Issue
Block a user