Skip to main content

Custom subagents

Custom agents

Custom agents are Markdown files with YAML frontmatter and a system prompt body. Make the body self-contained and lead with the outcome:
  • State the role or goal and observable success criteria.
  • Define constraints, context-dependent tool routes, and the required output shape.
  • Say when the agent should stop.
Reserve absolute wording for true invariants. Request evidence and conclusions rather than private reasoning, and avoid repeated self-check instructions. Common locations are: A small custom read-only inspection agent:
To choose an execution model separately for each task, set model: auto instead of a concrete model. Atomic uses the current available catalog and its shipped evaluation guidance before launching the child. A concrete per-call override bypasses this automatic choice. Optional modelConstraints restricts eligible choices and fallbacks; see Automatic model selection for the settings, supported fields, and failure behavior.