TLDR Smart Router
Maps questions to the optimal tldr command. Use this to pick the right layer.
Question → Command Mapping
"What files/functions exist?"
Use: Starting exploration, orientation
"What does X call / who calls X?"
Use: Understanding architecture, finding entry points
"How complex is X?"
Use: Identifying refactoring candidates, understanding difficulty
"Where does variable Y come from?"
Use: Debugging, understanding data flow
"What affects line Z?"
Use: Impact analysis, safe refactoring
"Search for pattern P"
Use: Finding code, structural search
Decision Tree
Intent Detection Keywords
Automatic Hook Integration
The tldr-read-enforcer and tldr-context-inject hooks automatically:
- Detect intent from your messages
- Route to appropriate layers
- Inject context into tool calls
You don't need to manually run these commands - the hooks do it for you.
Manual Override
If you need a specific layer the hooks didn't provide:


