One-click install
npx skills add https://github.com/scooter-lacroix/Maestro --skill search-tools-scooter-lacroix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: search-tools
Source: https://github.com/scooter-lacroix/Maestro/tree/main/maestro/skills/search-tools
Command: npx skills add https://github.com/scooter-lacroix/Maestro --skill search-tools-scooter-lacroix

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers efficiently find information within a codebase by guiding them to the most appropriate search tool based on their specific needs, whether it's semantic understanding, structural analysis, or simple text matching.

Core Features & Use Cases

  • Intelligent Tool Selection: Recommends LEANN for semantic search, AST-grep for structural queries, Morph for fast text search, or Grep for literal pattern matching.
  • Decision Tree Guidance: Provides a clear decision tree to help users choose the right tool.
  • Tool Comparison: Offers a table comparing the strengths and use cases of each search tool.
  • Example Queries: Includes practical examples for each tool to illustrate their application.
  • Command Examples: Shows how to use LEANN for searching, listing indexes, and rebuilding them.

Quick Start

Use the search-tools skill to find how authentication is implemented in the codebase.

Frequently Asked Questions about search-tools

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I choose the right code search tool for semantic, structural, or text matching?

Code search tool selection depends on your query type: use LEANN for semantic search, AST-grep for structural analysis, Morph for fast text search, or Grep for literal pattern matching. A decision tree helps guide the optimal choice.

What is the difference between semantic search and structural analysis when navigating a codebase?

Semantic search uses LEANN to find code based on meaning, while structural analysis uses AST-grep to query code structure and patterns. Both facilitate efficient code navigation but target different aspects of code retrieval.

How do I use LEANN to search for how authentication is implemented in my codebase?

LEANN performs semantic search to find authentication implementations by meaning rather than exact text. Command examples show how to search, list indexes, and rebuild them to retrieve relevant code sections efficiently.

When should I use AST-grep instead of Grep for code pattern matching?

Use AST-grep for structural analysis when you need to match code syntax and structure, and use Grep for literal pattern matching when searching for exact text strings. The decision tree helps determine the right tool.

Can I use Morph for fast text search across large codebases?

Morph is recommended for fast text search within a codebase. It is one of four tools compared—alongside LEANN, AST-grep, and Grep—to help developers select the optimal method for efficient code navigation and information retrieval.

What are the limitations of using Grep for code navigation compared to semantic search?

Grep handles literal pattern matching but lacks semantic understanding and structural analysis capabilities. For meaning-based retrieval, LEANN is preferred, while AST-grep suits structural queries, making Grep limited to simple text matches.