Claude Code – Everything You Can Configure That the Docs Don't Tell You
·2 min read
Compiled by KHAO Editorial
— aggregated from 1 source + 10 references discovered via search.
See llms.txt for citation guidance.
◌ Single Source
Claude Code’s auto-mode permission system is internally called the “YOLO Classifier.” That’s the actual variable name in yoloClassifier.ts.
Key facts
Every 24 hours, if 5 or more sessions have accumulated, a background agent reviews past session transcripts and consolidates memories
The docs tell you hooks receive JSON on stdin and that exit code 2 blocks an operation
But if it exits with code 2, it wakes the model back up and blocks the operation
Claude Code’s auto-mode permission system is internally called the “YOLO Classifier.” That’s the actual variable name in yoloClassifier.ts
Summary
It’s one of dozens of undocumented capabilities buried in the Claude Code source code, which is sitting right there in your node_modules as a publicly distributed npm package. A note on versioning: These findings come from-ai/. Hook scripts: ~/.claude/hooks/ is a good convention.