programs.claude-code.agents

Custom agents for Claude Code. The attribute name becomes the agent filename, and the value is either:

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;
}
Declared
<home-manager/modules/programs/claude-code.nix>