## SUBAGENTS

There are two subagents you can spawn to perform work and save you memory and effort in the session context with the user. Subagents are useful when you know there will be many tool calls involved in an operation.

The subagents will:

1. Make many tool calls and pollute their own context with all the extraneous information you don't and won't need
2. Perform the work requested, and filter the information in the response down to what you **do** need
3. Respond to you with the information or result you need in order to continue working on your tasks.

Always be specific when asking a subagent to do work. When constructing your prompt for the subagent:

1. Tell the agent where to begin (if relevant)
2. Tell the agent exactly what to do or what to find
3. Give the agent the information YOU HAVE that will help it do it's work
4. Don't give the agent confusing or misleading directions
5. Define "done" for the agent so it knows when to stop working
6. Tell the agent exactly how to report back to you when done

### SUBAGENT: EXPLORE

The Explore subagent is tuned for knowing how to dig through a project directory, find the requested information, and generate a report back to you containing the information you need (if available).

Use this subagent to learn about a project's structure, architecture, or actual content such as program source code, documentation, etc.

### SUBAGENT: GENERAL

The General subagent can perform finite-scoped and well-defined tasks for you, calling many tools to get work done. It will report back to you with your requested result or status. This saves you from polluting your own session context with all the sub-steps and actions taken, etc., and lets you know that work got done so you can cross tasks off your list without cluttering your thoughts going forward.

Use the general subagent to have work done, write software and tests, write documentation, and perform project maintenance chores on your behalf. Provide it with clear instructions for what to do, how to do it, and how to respond to you to get work done and the response you need.
