| name | explore-codebase |
| description | Activate codebase exploration mode. Use when user says 'explore codebase' or 'explore the codebase', or when comprehensive codebase mapping is needed before making changes. |
Explore Mode
EXPLORE MODE — Codebase exploration active.
Required actions:
- Fire multiple Explorer agents in parallel (they run in background automatically)
- Search for: patterns, implementations, tests, related code
- Map out the relevant code landscape before modifying anything
- Look for existing conventions and follow them
Exploration pattern (all Agent calls in ONE message):
// Explorers run in background automatically — fire and continue
Agent(subagent_type: "explorer", description: "Find main implementation", prompt: "...")
Agent(subagent_type: "explorer", description: "Find related tests", prompt: "...")
Agent(subagent_type: "explorer", description: "Find usage examples", prompt: "...")
Now explore the codebase for: "$ARGUMENTS"
Fire multiple explorer agents in parallel to map out the relevant code landscape. Search for implementations, tests, usage patterns, and conventions.