Claude Code ships with built-in subagents that it uses automatically when appropriate. Explore is the read-only one: it runs on Haiku, it cannot write or edit files, and Claude delegates to it when it needs to search or understand a codebase without making changes.
Before you start
You need Claude Code running in a project. No setup is needed: built-in subagents are registered by default in interactive sessions. Know the question before you ask it, for example where a feature lives.
Ask a search question and let Claude delegate
Ask Claude where a feature is implemented, or which files handle one job. Claude delegates to Explore, which searches in its own context window and returns file paths. The main conversation keeps its context free for the work that follows.
Check the result names files, not guesses
Read the returned file list and open one file to confirm the feature is there. If the answer is vague, ask a narrower question: Explore is a searcher, and a precise question gets a precise file list.
Worked example: Search for a fictional checkout feature
Maple Shop is a fictional online shop. A developer asks where the checkout discount lives. The table shows the search.
| Step | What happens |
|---|---|
| 1 | Developer asks where the checkout discount is applied |
| 2 | Claude delegates to the Explore subagent |
| 3 | Explore searches the codebase on Haiku |
| 4 | Reply lists the three files that apply discounts |
Expected result (UNTESTED): the reply lists the files that apply the discount, and no file is changed. We checked the Claude Code subagents documentation, which describes the built-in Explore agent and its read-only tools, but we did not run the search on this machine.
Limits
Explore is a searcher, not a fixer: it cannot write, so do not ask it to change code. Its context window is separate, so it does not see the full main conversation. For a search that needs project rules, a custom subagent with the right tools is a better fit.
