# Template: Standalone Agent

Use this template for agents that live at the root of the agents/ directory (no category subdirectory).

## Generated agent file format:

```yaml
---
name: {{AGENT_NAME}}
description: {{DESCRIPTION}}
{{#if MODEL}}
model: {{MODEL}}
{{/if}}
{{#if TOOLS}}
tools: "{{TOOLS}}"
{{/if}}
{{#if DISALLOWED_TOOLS}}
disallowedTools: "{{DISALLOWED_TOOLS}}"
{{/if}}
{{#if PERMISSION_MODE}}
permissionMode: {{PERMISSION_MODE}}
{{/if}}
{{#if COLOR}}
color: {{COLOR}}
{{/if}}
---

{{SYSTEM_PROMPT}}

## Workflow

1. **{{STEP_1_NAME}}**: {{STEP_1_DESC}}
2. **{{STEP_2_NAME}}**: {{STEP_2_DESC}}
3. **{{STEP_3_NAME}}**: {{STEP_3_DESC}}

## Execution Rules

- {{RULE_1}}
- {{RULE_2}}
- {{RULE_3}}

## Output Format

{{OUTPUT_FORMAT_DESCRIPTION}}
```

## File Location:
- Project: `.claude/agents/{name}.md`
- Global: `~/.claude/agents/{name}.md`
- Templates: `templates/agents/{name}.md`

## Notes:
- Keep agent files concise (< 200 lines recommended)
- Description must be clear enough for Claude's delegation logic
- System prompt should be actionable (tell the agent what to DO)
- Best for: single-purpose agents that don't belong to a category
