pi subagents and workflow skill plus HA
This commit is contained in:
44
pi/.pi/agent/skills/subagent-workflows/SKILL.md
Normal file
44
pi/.pi/agent/skills/subagent-workflows/SKILL.md
Normal file
@@ -0,0 +1,44 @@
|
||||
---
|
||||
name: subagent-workflows
|
||||
description: "Reference for the subagent catalog, workflows, and model assignments. Load when working with /implement, /plan, /review, /implement-critical, or when deciding which agents to use."
|
||||
---
|
||||
|
||||
# Subagent Catalog & Workflows
|
||||
|
||||
## Agent Roster
|
||||
|
||||
| Agent | Model | Role | Cost Profile |
|
||||
|-------|-------|------|-------------|
|
||||
| **router** | Qwen 122B-A10B | Evaluates task complexity, picks workflow | Cheap MoE |
|
||||
| **scout** | Qwen 122B-A10B | Fast codebase recon, structured findings | Cheap MoE |
|
||||
| **deep-scout** | Qwen 27B (dense) | Thorough architectural exploration | Moderate |
|
||||
| **planner** | Qwen Max (frontier) | Detailed implementation plans | Frontier, free via qwen.ai |
|
||||
| **plan-reviewer** | Claude Opus 4.6 | Reviews plans before implementation | $$$ but low volume |
|
||||
| **coder** | Qwen Max | Primary implementation | Frontier, free via qwen.ai |
|
||||
| **coder-parallel** | Qwen 397B-A17B | Parallel implementation tasks | Strong MoE, parallelizable |
|
||||
| **coder-claude** | Claude Sonnet 4.6 | Complex/unfamiliar implementation | $$ elite coder |
|
||||
| **reviewer** | Claude Opus 4.6 | Cross-family code review | $$$ but low volume |
|
||||
| **reviewer-quick** | Claude Haiku 4.5 | Fast cross-family sanity check | $ |
|
||||
| **fixer** | Claude Sonnet 4.6 | Applies review feedback precisely | $$ |
|
||||
|
||||
## Workflows
|
||||
|
||||
### `/implement <task>` — Adaptive (auto-selects pipeline)
|
||||
Router evaluates → SMALL/MEDIUM/LARGE/HUGE → runs appropriate chain.
|
||||
|
||||
### `/plan <task>` — Plan only
|
||||
Scout → Planner (Max) → Plan Reviewer (Opus). No implementation.
|
||||
|
||||
### `/review <files or description>` — Opus review
|
||||
Direct Opus review on changes.
|
||||
|
||||
### `/implement-critical <task>` — Maximum quality
|
||||
Deep Scout → Planner → Opus Plan Review → Sonnet Coder → Opus Review → Fixer.
|
||||
|
||||
## Design Principles
|
||||
|
||||
1. **Qwen-first**: Max for planning and primary coding (free, frontier). MoE models for volume tasks.
|
||||
2. **Cross-family review**: Qwen codes → Claude reviews. Different training = different blind spots caught.
|
||||
3. **Opus for review, not implementation**: Low output tokens, maximum leverage. Finding bugs > writing code.
|
||||
4. **Sonnet 4.6 for precision edits**: Best instruction-following for applying review fixes.
|
||||
5. **Adaptive routing**: Don't run 5-agent pipeline for a one-line fix.
|
||||
Reference in New Issue
Block a user