Skip to main content
skill CX Codex

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.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add parcadei/Continuous-Claude-v3 --skill tldr-router -a claude-code
Open on GitHub

What 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-code

2Manually: put the files in place

~/.claude/skills/tldr-router/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/tldr-router/

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

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set77

reference-sdk Inspects reference SDK implementations through the btca utility to guide feature development, error handling, and multi-provider code patterns. CX Codex +1 480installs tour Gives a friendly overview when someone asks what the agent can do or how to get started. Useful for introducing an agent’s working options in a project. CX Codex +1 480installs resume-handoff Reads a handoff document, checks it against the actual repo state, and suggests a way forward. Useful when a session got cut off and the context needs to come back fast. CX Codex +1 480installs agentica-prompts Provides prompt templates and unambiguous verb conventions for Agentica agents. Keeps multi-agent context clean by exchanging artifacts via the filesystem. CX Codex +1 478installs tdd-migrate Orchestrates TDD migrations through agents that analyse code, write tests, implement changes, and validate results. Use it for similar ports that follow a reference pattern. CX Codex +1 476installs validate-agent A subagent reads your plan, lists every library and architecture decision, and checks each against current practice. Useful before you start building. CX Codex +1 476installs tdd-migration-pipeline Orchestrator-only skill for migrating or rewriting codebases with TDD guarantees while keeping context flat. Useful when porting systems to a new language. CX Codex +1 476installs agentica-infrastructure A reference guide to the Agentica multi-agent infrastructure API: 11 pattern classes, consensus primitives and the tracking database schema. Useful when you need exact constructor signatures. CX Codex +1 475installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor