Custom agents are a powerful primitive that often gets overlooked. To use it, just define a new agent in .claude/agents/, then run:

claude --agent=
  • Agents can have restricted tools, custom descriptions, and specific models
  • They're great for creating read-only agents, specialized review agents, or domain-specific tools

Original source on X