2 ms·
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 1. https://docs.claude.com/en/docs
by asn0 11mo ago
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
1. https://docs.claude.com/en/docs/claude-code/sub-agents https://docs.claude.com/en/docs/claude-code/sub-agents
- threecheese 11mo agoHow 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.