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/.
Cet exercice fait partie du cours
Claude Code 101
Instructions
- Start Claude Code with
claude. - Run
/agentsto see the available built-in subagents, and spot theexploreagent near the bottom of the console. - Hit Esc to go back, then 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.
Exercice interactif pratique
Passez de la théorie à la pratique avec l’un de nos exercices interactifs
Commencer l’exercice