Comment by asn0
You could use the prompts in the code to create a Claude Code sub-agent[1], which would do the same thing without an API key
You could use the prompts in the code to create a Claude Code sub-agent[1], which would do the same thing without an API key
How would you invoke the subagent? Can a HookResponse cause a subagent to be invoked, to perform analysis on the action taken and then inject that back into the main loop?
Or would the hook invoke another instance of claude code?
I just read through the hook docs and I’m a bit fuzzy on the bidirectionality of it.