Subagents

A step of the Claude Code development environment tree on Gradus, in the Commands & hooks area: Slash commands, hooks, skills, agents.

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.

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.

This is https://gradus.kazet.blog/tree/claude-dev-environment/step/subagents as plain HTML. In a browser the page also lets you mark the step forged and copy a message for your AI assistant.