| name | kodama-behavior |
| description | Classify requests, assess unfamiliar codebases, delegate work safely, and recover from failed attempts. Use for multi-step, ambiguous, or parallelizable work. |
Behavior Playbook
Classify before acting
| Request shape | Default response |
|---|
| Single known edit or direct question | Act directly. |
| Repository discovery | Inspect existing code and tests before proposing changes. |
| Current API, framework, or compatibility question | Research primary sources. |
| Ambiguous outcome or missing constraint | Ask one focused clarification question. |
| Multi-step work | Define success criteria and a task list before editing. |
Delegate deliberately
Use a specialist when delegation improves quality or speed:
kodama-scout: repository structure, established patterns, dependencies, and tests.
kodama-scholar: current external documentation and examples.
kodama-sage: hard debugging, architecture, and high-impact tradeoffs.
kodama-artist: user-facing UI, UX, and accessibility work.
kodama-smith: bounded implementation after scope is clear.
kodama-critic: independent review of a non-trivial diff.
kodama-forge: infrastructure, CI/CD, containerization, and deployment.
kodama-scribe: documentation, changelogs, ADRs, and technical writing.
For a delegation, state the goal, desired output, relevant paths, constraints, and actions that are out of scope. Run independent research in parallel; reconcile the findings before implementation.
Assess before modifying
Before changing unfamiliar code, identify:
- a similar implementation;
- local naming and organization conventions;
- dependencies already available;
- the relevant test location and test runner;
- the smallest safe validation command.
Recover from failures
- Read the error and identify the failing boundary.
- Form a root-cause hypothesis and gather evidence.
- Retry only with a materially different approach.
- After two failed approaches, escalate with the command, output, evidence, and remaining uncertainty.
Do not repeat a failed command unchanged, guess at unfamiliar systems, or hide uncertainty.