⌨️--forward-subagent-text Flag
Also known as claude --forward-subagent-text, Subagent text in the stream
It adds what subagents write to the output stream.
Think of it like
It is like you hear what each helper says. You do not just hear what the boss tells you.
Example
Why it matters
Definition
Example code
bash
claude -p --output-format stream-json --verbose --forward-subagent-text "Review this repo"Common mistake
Key takeaways
- 1Subagent text. And thinking.
- 2Marked by tool call. To sort them.
- 3Needs stream-json. And -p.