--agents
Passes custom subagent specifications dynamically using raw JSON or a JSON file path.
Syntax
--agentsExample
Terminal
claude --agents '{"reviewer":{"description":"Reviews code","prompt":"You are a code reviewer"}}'Progress will not be saved. This browser is blocking storage (often private browsing). You can still learn, but closing the tab loses your progress.
--agentsPasses custom subagent specifications dynamically using raw JSON or a JSON file path.
--agentsclaude --agents '{"reviewer":{"description":"Reviews code","prompt":"You are a code reviewer"}}'