Skip to main content
An agent is a Markdown file with YAML frontmatter that defines a Claude Code subagent: a specialist with its own system prompt, its own context window and, optionally, a restricted tool list. Claude delegates to it when a task matches its description, or when you ask for it by name.
Written to .claude/agents/security-auditor.md. It appears in /agents the next time Claude Code starts.

Anatomy

.claude/agents/security-auditor.md

Using it

  • Let Claude choose: describe the task and Claude delegates when the description fits.
  • Ask explicitly: “Use the security-auditor agent to review src/auth”.
  • Edit the file freely after install. It is yours.
Browse all of them at aitmpl.com/agents.