Delegate Exploration to a Subagent
You need to find every place in the climate analysis project where input data gets validated — for example, checks that temperatures are within plausible ranges or that dates are formatted correctly. Tracing all of this manually means reading every file and filling your main context window with intermediate details you'll discard anyway.
Claude Code has a built-in explore subagent designed exactly for this: fast, read-only codebase searching. It runs in its own isolated context window, does all the digging, and returns only a focused summary to your main session — the intermediate file reads never touch your context at all.
The team's project is already in your working directory at /home/repl/climate-analysis/.
This exercise is part of the course
Claude Code 101
Exercise instructions
- Start Claude Code with
claude. - Run
/agentsto see the available built-in subagents and spot theexploreagent. - Ask Claude to use the
exploresubagent to find all data validation logic in the project and return a summary. - When done, type
/exitto exit Claude Code.
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
Start Exercise