tldr-router — Claude Code skill: pick the right tldr command
Tells the agent which tldr command fits the question: file tree, call graph, complexity, data flow.
npx skills add parcadei/Continuous-Claude-v3 --skill tldr-router -a claude-codeWhat tldr-router does
The skill reads a question, matches it against intent keywords, and points to the right tldr layer. Ask what functions exist and you get tldr tree or tldr structure. Ask who calls a function and it routes to tldr context or tldr calls.
Inside there is a question-to-command table and a decision tree. Two hooks, tldr-read-enforcer and tldr-context-inject, detect intent from your messages and inject context into tool calls, so most of the routing happens without you typing anything. Manual override exists for the cases the hooks miss, for example tldr cfg path/to/file.py function_name.
The skill does not ship tldr itself. If the tldr commands are not installed and working in your project, the routing stays a text file. Worth checking before you lean on the hooks.
What it helps with
- choose between tree, structure and search when opening an unfamiliar repo
- trace callers and callees to find entry points
- check function complexity before a refactor
- follow where a variable value comes from
- see what a change to one line would touch
Example prompts for the agent
- what functions live in src/ — show me the structure
- who calls this function and what does it call
- where does this variable get its value
How to install tldr-router
1Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill tldr-router -a claude-code2Manually: put the files in place
~/.claude/skills/tldr-router/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/tldr-router/
1Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill tldr-router -a codex2Manually: put the files in place
.agents/skills/tldr-router/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill tldr-router -a cursor2Manually: put the files in place
.cursor/skills/tldr-router/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install parcadei/Continuous-Claude-v3 tldr-router2Manually: put the files in place
.github/skills/tldr-router/SKILL.md1Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill tldr-router -a gemini-cli2Platform CLI
gemini skills install https://github.com/parcadei/Continuous-Claude-v3 --path .claude/skills/tldr-routerManually: put the files in place
.devin/skills/tldr-router/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill tldr-router -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about tldr-router
How do I install tldr-router in Claude?
Run npx skills add parcadei/Continuous-Claude-v3 --skill tldr-router -a claude-code. The skill lands in ~/.claude/skills/tldr-router/SKILL.md.
What does tldr-router do?
It maps a question to the matching tldr command: tree and structure for navigation, context and calls for architecture, cfg for complexity, dfg for data flow, slice for impact.
Do I still run tldr commands by hand?
Usually not. The tldr-read-enforcer and tldr-context-inject hooks detect intent and inject context on their own. Reach for a manual call when you need a layer the hooks did not supply.
Source text
SKILL.md · MIT
--- name: tldr-router description: Maps questions to the optimal tldr command. Use this to pick the right layer --- # TLDR Smart Router Maps questions to the optimal tldr command. Use this to pick the right layer. ## Question → Command Mapping ### "What files/functions exist?" ```bash tldr tree . --ext .py # File overview tldr structure src/ --lang python # Function/class overview ``` **Use:** Starting exploration, orientation ### "What does X call / who calls X?" ```bash tldr context <function> --project . --depth 2 tldr calls src/ ``` **Use:** Understanding architecture, finding entry points ### "How complex is X?" ```bash tldr cfg <file> <function> ``` **Use:** Identifying refactoring candidates, understanding difficulty ### "Where does variable Y come from?" ```bash tldr dfg <file> <function> ``` **Use:** Debugging, understanding data flow ### "What affects line Z?" ```bash tldr slice <file> <function> <line> ``` **Use:** Impact analysis, safe refactoring ### "Search for pattern P" ```bash tldr search "pattern" src/ ``` **Use:** Finding code, structural search ## Decision Tree ``` START │ ├─► "What exists?" ──► tree / structure │ ├─► "How does X connect?" ──► context / calls │ ├─► "Why is X complex?" ──► cfg │ ├─► "Where does Y flow?" ──► dfg │ ├─► "What depends on Z?" ──► slice │ └─► "Find something" ──► search ``` ## Intent Detection Keywords | Intent | Keywords | Layer | |--------|----------|-------| | Navigation | "what", "where", "find", "exists" | tree, structure, search | | Architecture | "calls", "uses", "connects", "depends" | context, calls | | Complexity | "complex", "refactor", "branches", "paths" | cfg | | Data Flow | "variable", "value", "assigned", "comes from" | dfg | | Impact | "affects", "changes", "slice", "dependencies" | slice/pdg | | Debug | "bug", "error", "investigate", "broken" | cfg + dfg + context | ## Automatic Hook Integration The `tldr-read-enforcer` and `tldr-context-inject` hooks automatically: 1. Detect intent from your messages 2. Route to appropriate layers 3. 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: ```bash # Force specific analysis tldr cfg path/to/file.py function_name tldr dfg path/to/file.py function_name tldr slice path/to/file.py function_name 42 ```
© parcadei · MIT · parcadei/Continuous-Claude-v3