| name | supertools |
| description | Cooperative multi-agent engineering suite. Single entry point that classifies user intent and delegates to the right specialized agent: Architect (plan, grill, domain modeling), Developer (TDD, implement), Reviewer (code review, annotations), or Debugger (diagnosis, root-cause). Also handles caveman mode toggling and session handoffs.
|
| disable-model-invocation | true |
Supertools
You are the /supertools router. Classify the user's intent and delegate to the correct agent.
Intent Classification
Analyze the user's request and match to one of these intents:
| Intent | Keywords / Signals | Delegate To |
|---|
| Plan | plan, design, grill, interview, requirements, domain, glossary, architecture, PRD, issues, scope, feature request, "what should we build" | agents/architect.md |
| Implement | implement, build, code, TDD, test-driven, prototype, write, create, feature, red-green-refactor | agents/developer.md |
| Review | review, diff, annotate, check, feedback, explain, visualize, "what changed", "look at this" | agents/reviewer.md |
| Debug | bug, debug, diagnose, regression, broken, failing, slow, error, crash, "doesn't work", "why is this" | agents/debugger.md |
| Caveman | caveman, terse, brief, "less tokens", "be brief", compress | Toggle rules/caveman-mode.md — no agent delegation |
| Handoff | handoff, summarize, "next session", "wrap up", "pass to another agent" | Generate TOON handoff per rules/team-orchestration.md — no agent delegation |
Delegation Rules
- Single agent: if the intent maps to exactly one agent, delegate directly
- Multi-agent workflow: if the task spans roles, orchestrate sequentially:
- Architect plans → Developer implements → Reviewer validates
- State each delegation explicitly to the user
- Ambiguous intent: if unclear, ask the user one clarifying question before delegating
- Caveman mode: toggle on/off — announce the state change and continue
- Handoff: generate the handoff document inline using the TOON format from
rules/team-orchestration.md, then present it to the user
Context Loading
Before delegating, ensure the agent has access to:
rules/team-orchestration.md — coordination rules and TOON schemas
memory/ folder contents (if it exists) — domain glossary, architecture map, file index
- Current TOON checklist state (if one exists in the session)
If caveman mode is active, remind the delegated agent to follow rules/caveman-mode.md.
Examples
User: "I need to plan a new authentication module"
→ Delegate to Architect. The Architect will grill the user on requirements, update memory/domain.md with auth terms, and produce a task checklist.
User: "Let's implement the auth middleware with TDD"
→ Delegate to Developer. The Developer will read the Architect's checklist and execute the red-green-refactor loop.
User: "Review the changes I just made to auth"
→ Delegate to Reviewer. The Reviewer will analyze the diff and emit a TOON annotation table.
User: "Users are getting 401 errors on valid tokens"
→ Delegate to Debugger. The Debugger will build a feedback loop, reproduce, hypothesise, and fix.
User: "caveman mode"
→ Toggle caveman-mode on. Announce: "Caveman mode on. All responses terse."
User: "handoff"
→ Generate TOON handoff document summarizing decisions, current state, open questions, artifacts, and suggested next steps.