Claude Code hooks and docs, developers share agent workflows
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
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.
You could also know what you're writing about and then write it yourself rather than letting a probability based, random number generator spew slop.
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.
Since using Claude code, I've basically become a data hoarder. I've scraped every trans related ad since 2018 on Meta and Google and am awaiting access for broadcast TV data. I've also been able to download thousands of 990s of anti-trans orgs to track revenue and spending, especially grants.
I have a massive spreadsheet that is converted over from an SQL file holding the text of the decisions. I have about 1460 cases over 50 years. This is a conservative number. I need to go back and ensure I'm not missing any.
Awesome. I too have been learning to use Claude. The little bastard straight up invented a reference for me, so do double check them…