←back to thread

114 points etherio | 2 comments | | HN request time: 0.431s | source
Show context
balleddog ◴[] No.45769780[source]
Is an anthropic api key really necessary? A major roadblock for taking a test drive. Already have a Claud Max subscription but an anthropic api key still need at least 5$/mon extra.
replies(3): >>45770039 #>>45770812 #>>45772329 #
1. asn0 ◴[] No.45770812[source]
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

replies(1): >>45784658 #
2. threecheese ◴[] No.45784658[source]
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.