Study FAQ
How do I configure a Claude Code subagent with a limited tool set?
Also asked as 2
- How do I keep a Claude Code reviewer subagent focused on reading and reporting?
- How can I give a Claude Code specialist only the tools it needs for a delegated task?
Answer
Use a Claude Code subagent for a bounded task that benefits from separate context, a specific set of tools, or distinct instructions. Define its purpose and explicitly list the tools it needs. For a code reviewer, a local agent file in .claude/agents/ can list Read, Grep, Glob and ask for findings with file references. Omitting tools makes the subagent inherit the available parent tools.
Pass the specific task, relevant files, expected evidence and approval boundaries in the handoff. Choose the subagent's model and permission mode if appropriate, and check how the parent session's permissions affect it. Plugin subagents ignore certain frontmatter settings, including permissionMode, so inspect effective controls for the source from which the agent is loaded. Keep sensitive service permissions outside the agent definition.
Claude Code subagent configuration defines a worker for the development session. When building an Agent SDK application, the application still configures runtime policy, lifecycle and approval handling for its own sessions. Verify the actual permissions and capabilities in the environment where the worker runs.
Claude Code subagent configuration · Claude Agent SDK permission controls
Full explanation
Claude Code Skills, Subagents, and Reusable Extensions
Study guide · CCAR-F
Read the full explanation