# Subagents

A step of the [Claude Code development environment](https://gradus.kazet.blog/tree/claude-dev-environment) tree on Gradus, in the Commands & hooks area: Slash commands, hooks, skills, agents.

Page: https://gradus.kazet.blog/tree/claude-dev-environment/step/subagents

Define focused subagents (reviewer, test writer, explorer) with narrow tool access for work that should run in parallel or in isolation.

Usually comes after: [Custom skills](https://gradus.kazet.blog/tree/claude-dev-environment/step/custom-skills).

## Prompt for your AI assistant

```
Add a .claude/agents/ directory with two subagent definitions: a read-only code reviewer that checks a diff against CLAUDE.md and a test writer that may edit only test files. Give each a description, the allowed tools and a system prompt.
```

Every step of the tree: https://gradus.kazet.blog/tree/claude-dev-environment/llms.txt
