Search Tools
Decision tree routing code searches to the right tool: semantic, structural, text, or literal.
- CCM score
- 43 of 100
- skills.sh installs
- 493
- GitHub stars
- 4K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers four search tiers: LEANN for conceptual queries, AST-grep for structural patterns, Morph for fast text search, and built-in Grep for literal matches
- Includes a decision tree and comparison table that map each query type to its best tool and its prerequisite
- Provides query examples for each tier, plus
leann search,leann list, andleann buildcommands for managing LEANN indexes - Designed for agents that need to pick the cheapest search method that answers a code question, with a fallback to Grep when Morph has no API key
Install
$ npx -y skills add parcadei/continuous-claude-v3 --skill search-tools -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Search Tool Hierarchy
When searching code, use this decision tree:
Decision Tree
Need CONCEPTUAL/SEMANTIC search?
(how does X work, find patterns, understand architecture)
→ Use LEANN (/leann-search) - embedding-based semantic search
→ PreToolUse hook auto-redirects semantic Grep queries
Need to understand code STRUCTURE?
(find function calls, class usages, refactor patterns)
→ Use AST-grep (/ast-grep-find)
Need to find TEXT in code?
→ Use Morph (/morph-search) - 20x faster
→ If no Morph API key: fall back to Grep tool
Simple one-off search?
→ Use built-in Grep tool directly
Tool Comparison
| Tool | Best For | Requires |
|---|---|---|
| LEANN | Semantic search: "how does caching work", "error handling patterns", conceptual queries | Index built |
| AST-grep | Structural patterns: "find all calls to foo()", refactoring, find usages by type | MCP server |
| Morph | Fast text search: "find files mentioning error", grep across codebase | API key |
| Grep | Literal patterns, class/function names, regex | Nothing (built-in) |
Examples
Details
- Repository
- github.com/parcadei/continuous-claude-v3
- Categories
- Agent Workflow & Planning, Code Review & Quality
- First seen
- Jun 3, 2026
More from parcadei/continuous-claude-v3
All 108- Slash Commands493
- Skill Developer492
- Skill Development492
- Braintrust Analyze491
- Fix491
- Morph Apply491
- Complete Skill490
- Loogle Search490
- Onboard490
- Research490
- Tldr Overview490
- Search Router489
- Agentica Claude Proxy488
- Qlty Check488
- Wiring488
- No Polling Agents487
- Pint Compute487
- Resume Handoff487
- Mcp Chaining486
- Migrate486
- Observe Before Editing486
- Release486
- Tldr Deep486
- Qlty During Development485
Similar to Search Tools
More Agent Workflow & Planningsearch-hierarchySkillparcadei/continuous-claude-v3480 installsDecision tree that routes code searches to AST-grep, LEANN, Grep, or Read by query type.
search-routerSkillparcadei/continuous-claude-v3489 installsRoutes each search query to the most token-efficient tool: TLDR, AST-grep, semantic search, Grep, or Read.
ASTMCP serverast-grep501 starsStructural code search and rule testing over local codebases using ast-grep patterns and YAML rules.
CocoIndex CodeMCP servercocoindex-io3K starsSemantic code search over a local repository, using AST-based chunks and incremental re-indexing.
file-searchSkillnetresearch/file-search-skill561 installsUnified search toolkit that routes text, structural, filename, document, and code-metric queries to the right CLI tool.
ast-grepSkillast-grep/agent-skill20.6K installsStructural code search rules for ast-grep that match AST patterns instead of plain text.