⌨️SubagentStop Hook
Also known as SubagentStop
The event when a helper agent ends. A hook can make it go on.
Think of it like
It is like you check a helper's work. Then they can go home.
Example
Jack's review helper kept ending with no summary. His hook blocks it until a summary is there.
Why it matters
Definition
Example code
json
{
"decision": "block",
"reason": "List the files you changed before you finish."
}Common mistake
Key takeaways
- 1When a helper finishes. Like Stop.
- 2Block with a reason. It goes on.
- 3Internal agents too. Empty name.