Search Router
Routes each search query to the most token-efficient tool: TLDR, AST-grep, semantic search, Grep, or Read.
- CCM score
- 46 of 100
- skills.sh installs
- 488
- GitHub stars
- 4K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers a decision tree that maps code exploration, structural patterns, semantic questions, literal text, and full-context reads to a specific tool
- Makes TLDR search the default for code symbols, call chains, and data flow, with Grep kept as a last resort
- Includes a token-cost table comparing TLDR, TLDR Semantic, AST-grep, Grep, and Read output sizes per query
- Designed for agents that need to find code without loading large, irrelevant file output into context
Install
$ npx -y skills add parcadei/continuous-claude-v3 --skill search-router -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Search Tool Router
Use the most token-efficient search tool for each query type.
When to Use
- Searching for code patterns
- Finding where something is implemented
- Looking for specific identifiers
- Understanding how code works
Decision Tree
Query Type?
├── CODE EXPLORATION (symbols, call chains, data flow)
│ → TLDR Search - 95% token savings
│ DEFAULT FOR ALL CODE SEARCH - use instead of Grep
│ Examples: "spawn_agent", "DataPoller", "redis usage"
│ Command: tldr search "query" .
│
├── STRUCTURAL (AST patterns)
│ → AST-grep (/ast-grep-find) - ~50 tokens output
│ Examples: "def foo", "class Bar", "import X", "@decorator"
│
├── SEMANTIC (conceptual questions)
│ → TLDR Semantic - 5-layer embeddings (P6)
│ Examples: "how does auth work", "find error handling patterns"
│ Command: tldr semantic search "query"
│
├── LITERAL (exact text, regex)
│ → Grep tool - LAST RESORT
│ Only when TLDR/AST-grep don't apply
│ Examples: error messages, config values, non-code text
│
└── FULL CONTEXT (need complete understanding)
→ Read tool - 1500+ tokens
Last resort after finding the right file
Token Efficiency Comparison
Details
- Repository
- github.com/parcadei/continuous-claude-v3
- Categories
- Agent Workflow & Planning, Memory & Context
- First seen
- Jun 3, 2026
Questions
What does the search-router skill do?
search-router helps the agent pick the right search tool for each query type. It points code exploration to TLDR Search, structural AST patterns to AST-grep, conceptual questions to TLDR Semantic, and exact text to Grep as a last resort.
How do I install the search-router skill?
Run npx -y skills add parcadei/continuous-claude-v3 --skill search-router -y in your project. Once installed, search-router lets the agent choose the most token-efficient search tool before it reads whole files.
Where does search-router sit in its category on Claude Marketplaces?
search-router is listed under Agent Workflow & Planning alongside grill-me, grill-with-docs, setup-matt-pocock-skills, grilling and prototype. Unlike those skills, search-router focuses on routing code and text queries to the search tool that uses the fewest tokens.
Who is search-router for?
search-router suits developers who run Claude Code on large codebases and want to save tokens during searches. It is marked non-user-invocable, so the agent applies its decision tree on its own when a search is needed.
More from parcadei/continuous-claude-v3
All 108- Agentica Claude Proxy487
- Qlty Check487
- Wiring487
- No Polling Agents486
- Pint Compute486
- Resume Handoff486
- Mcp Chaining485
- Migrate485
- Observe Before Editing485
- Release485
- Tldr Deep485
- Qlty During Development484
- Reference Sdk484
- Tour484
- No Task Output483
- Agentica Prompts482
- Environment Triage482
- Llm Tuning Patterns482
- Parallel Agent Contracts482
- Explicit Identity481
- Nia Docs480
- Tdd Migrate480
- Tdd Migration Pipeline480
- Tldr Router480
Similar to Search Router
More Agent Workflow & Planningsearch-hierarchySkillparcadei/continuous-claude-v3479 installsDecision tree that routes code searches to AST-grep, LEANN, Grep, or Read by query type.
search-toolsSkillparcadei/continuous-claude-v3492 installsDecision tree routing code searches to the right tool: semantic, structural, text, or literal.
smart-exploreSkillthedotmack/claude-mem8K installsToken-efficient structural code search via tree-sitter, replacing full-file reads for exploration tasks.
file-searchPluginnetresearch/claude-code-marketplace96 starsEfficient code and file search using ripgrep, ast-grep, fd, rga, tokei, and scc. Provides tool selection guidance, targeting strategies, and progressive search
Tree-sitterMCP serverwrale311 starsTree-sitter parse trees, symbols, and queries across many languages for project code analysis.
Explore CodebaseSkilltirth8205/code-review-graph1.2K installsNavigate a codebase's structure, call graph, and execution flows through code-review-graph knowledge graph tools.