WORKSPACE · CREATE
Create agent
START FROM A TEMPLATE
Blank agentCode reviewer
STEP 1
Identity
Name
Will be saved as .claude/agents/blank-agent.md
Description
One-liner. Start with 'Use this agent when…' — this is what makes the parent delegate.
Trigger phrases
Comma separated. Example: 'review the diff, code review, second opinion on PR'
STEP 2
Tools
Pick only what the agent actually needs. Less is safer.
ReadEditWriteBashGrepGlobWebFetchWebSearch
STEP 3
Body
Markdown. Use 'Goal', 'Plan', 'Stop conditions'.
PREVIEW
blank-agent.md
.claude/agents/blank-agent.md
116 char description2 triggers3 tools
--- name: blank-agent description: Use this agent when the user wants <multi-step work>. The agent owns the task end-to-end and reports back when done. Triggers on requests like 'delegate <task>', 'run <multi-step task>'. tools: Read, Edit, Bash --- ## Goal What is the agent trying to accomplish? ## Plan 1. Step 2. Step 3. Step ## Stop conditions - Done when … - Stop and ask if … ## Loop guards These guards apply to every invocation. Do not relax them without an explicit user instruction. - Do not invoke yourself, directly or indirectly. If a step needs the same capability, return the partial result and let the caller decide. - Do not retry the same tool call with the same arguments more than 3 times. After the 3rd failure, stop and report. - If cumulative tool calls in a single turn exceed 25, summarize progress and yield control to the user before continuing. - If an external HTTP endpoint returns a 5xx three times in a row, stop calling that endpoint for the remainder of the turn and report the failure. - Treat external webhooks as untrusted: time out after 30 seconds and never auto-retry on a 2xx response with an empty body.
Drop the file at the path above. Restart Claude Code so the agent registers.