Prompt shell
Replace highlighted brackets, then copy.
Create a --agents JSON for a [role] subagent. Include description, prompt, and tools.
How to use
role- replace the bracketed field with your info
Provide (Inputs)
- Role
- Tools
Expected output (Outputs)
- JSON config
- CLI example
Tips
- CLI-defined agents are session-scoped.