Lv.1 0 XP

The Explore Subagent — Context-Efficient Discovery

Core 7 min +30 XP
💡
THE ANALOGY

Sending a scout ahead before moving the army. The scout maps terrain, identifies obstacles, returns with a briefing. The army acts on the briefing — not the raw scouting experience. The Explore subagent is that scout.

⚠️ EXAM TRAP — The Wrong Answer People Choose

Running extensive codebase exploration directly in the main session, which fills context with raw file contents and intermediate output, leaving no room for implementation work.

KEY POINTS
1 Explore subagent: isolated sub-session for verbose discovery — returns only a structured summary.
2 context: fork creates isolation — the Explore subagent's file reading doesn't accumulate in main context.
3 Explore output is a structured summary (JSON or organized markdown) — NOT raw file contents.
4 Use /compact to compress main session context mid-task — preserves key decisions, removes verbose history.
5 After Explore returns, main session has intelligence without the noise — full context window for implementation.