OptionalbackgroundRun this agent as a background task (non-blocking, fire-and-forget) when invoked
OptionalcriticalExperimental: Critical reminder added to system prompt
Natural language description of when to use this agent
OptionaldisallowedArray of tool names to explicitly disallow for this agent
OptionaleffortReasoning effort level for this agent. Either a named level or an integer
OptionalinitialAuto-submitted as the first user turn when this agent is the main thread agent. Slash commands are processed. Prepended to any user-provided prompt.
OptionalmaxMaximum number of agentic turns (API round-trips) before stopping
OptionalmcpOptionalmemoryScope for auto-loading agent memory files. 'user' - ~/.claude/agent-memory/
OptionalmodelModel alias (e.g. 'sonnet', 'opus', 'haiku') or full model ID (e.g. 'claude-opus-4-5'). If omitted or 'inherit', uses the main model
OptionalpermissionPermission mode controlling how tool executions are handled
The agent's system prompt
OptionalskillsArray of skill names to preload into the agent context
OptionaltoolsArray of allowed tool names. If omitted, inherits all tools from parent
Definition for a custom subagent that can be invoked via the Agent tool.