Claude Code – Everything You Can Configure That the Docs Don't Tell You
The article explores undocumented features of the Claude Code source code, revealing capabilities not mentioned in official documentation. It highlights the auto-mode permission system, known as the 'YOLO Classifier,' which can be configured using plain English. Additionally, it discusses various hooks that allow for real-time modifications of commands and context during execution.
- ▪Claude Code's auto-mode permission system is called the 'YOLO Classifier' and can be configured with plain English descriptions.
- ▪The source code contains numerous undocumented features that significantly enhance functionality beyond what is covered in official documentation.
- ▪Hooks can modify commands mid-execution and return JSON to influence Claude Code's behavior in real time.
Opening excerpt (first ~120 words) tap to expand
I Read the Claude Code Source Code. Here's Everything You Can Configure That the Docs Don't Tell You.Hook fields that rewrite commands mid-flight, persistent agent memory, auto-mode rules in plain English, self-improving dream loops, and every example is copy-paste ready.André FigueiraApr 01, 202621ShareClaude Code’s auto-mode permission system is internally called the “YOLO Classifier.” That’s the actual variable name in yoloClassifier.ts. And you can configure it with plain English descriptions of your environment, things like “this is a staging server, destructive operations are acceptable,” that the classifier reads to decide what’s safe to auto-approve.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at Hacker News (Newest).