开始使用免费开始使用

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/.

本练习是课程的一部分

Claude Code 101

查看课程

练习说明

  • Start Claude Code with claude.
  • Run /agents to see the available built-in subagents, and spot the explore agent near the bottom of the console.
  • Hit Esc to go back, then ask Claude to use the explore subagent to find all data validation logic in the project and return a summary.
  • When done, type /exit to exit Claude Code.

动手互动练习

通过我们的互动练习之一,将理论转化为实践

开始练习