Умный роутер инструментов поиска кода
engineering
search-router is a Claude Code skill that routes each code search query to the most token-efficient tool based on query type. It implements a decision tree with four paths: TLDR Search as the default for code exploration — symbols, call graphs, and data flow — with up to 95% token savings; AST-grep for structural patterns such as function definitions, class declarations, and decorators, producing roughly 50 tokens of output; TLDR Semantic for conceptual questions using 5-layer embeddings; and Grep as a last resort for exact text or regex matches. The skill is not user-invocable and is designed to run automatically within Claude Code workflows. It is especially useful for developers navigating large codebases who want to minimize token consumption during code discovery.
- #search-router
- #code-exploration
- #tldr-search
- #ast-grep
- #token-efficiency