Claude Code hooks and docs, developers share agent workflows
techJul 2, 202616176
Dare Obasanjo
@carnage4life.bsky.social
I’ve been using hooks in Claude Code to address hallucinations. My approach 1. PreToolUse hook which runs a verifier subagent to fact check all claims and stats before writing to a document. 2. Stop hook which does the above for standalone responses over 100 words. Way better than using CLAUDE.md
775h ago
Please, just stop all using LLMs. It's a technology that is actively harming our planet by using up resources that people need to survive, like our clean drinking water. Please.
verifier subagent as a pretooluse hook is clever, CLAUDE.md never reliably sticks for fact-checking anyway
For coding if you haven't built your own harness with hooks you don't know what you're missing.