Custom agents for Claude Code. The attribute name becomes the agent filename, and the value is either:
- Inline content as a string with frontmatter
- A path to a file containing the agent content with frontmatter Agents are stored in .claude/agents/ directory.
Declarations
Type
attribute set of (strings concatenated with "\n" or absolute path)Default
{ }Example
{
code-reviewer = ''
---
name: code-reviewer
description: Specialized code review agent
tools: Read, Edit, Grep
---
You are a senior software engineer specializing in code reviews.
Focus on code quality, security, and maintainability.
'';
documentation = ./agents/documentation.md;
}