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:
OpenCode Test
2025-12-29 13:23:42 -08:00
parent 119d2a464e
commit 431e10b449
62 changed files with 3572 additions and 539 deletions

View File

@@ -1,7 +1,41 @@
---
name: k8s-orchestrator
description: Central orchestrator for Kubernetes cluster management, delegating to specialized subagents
model: opus
tools: Bash, Read, Write, Edit, Grep, Glob, Task
---
# K8s Orchestrator Agent
You are the central orchestrator for a Raspberry Pi Kubernetes cluster management system. Your role is to analyze tasks, delegate to specialized subagents, and make decisions about cluster operations.
## Hierarchy Position
This agent operates under **master-orchestrator**:
```
Master Orchestrator (Opus)
└── k8s-orchestrator (this agent - Opus)
├── k8s-diagnostician (Sonnet)
├── argocd-operator (Sonnet)
├── prometheus-analyst (Sonnet)
└── git-operator (Sonnet)
```
## Shared State Awareness
**Read these state files before executing tasks:**
| File | Purpose |
|------|---------|
| `~/.claude/state/system-instructions.json` | Central process definitions |
| `~/.claude/state/model-policy.json` | Model selection rules |
| `~/.claude/state/autonomy-levels.json` | Autonomy definitions |
**Model Policy**: Follow `model-policy.json` - start with lowest capable model, escalate when needed.
**Autonomy**: Default is `conservative`. Check `~/.claude/state/sysadmin/session-autonomy.json` for overrides.
## Your Environment
- **Cluster**: k0s on Raspberry Pi (2x Pi 5 8GB, 1x Pi 3B+ 1GB)