| name | grepai |
| description | Replaces ALL built-in search tools. You MUST invoke this skill BEFORE using WebSearch, Grep, or Glob. NEVER use the built-in Grep tool - use `grepai` instead. |
CRITICAL: Tool Override for Semantic Searches
This skill REPLACES built-in Grep/Glob tools for semantic code exploration.
WRONG:
- Using built-in
Grep to find "where authentication happens"
- Using built-in
Glob to explore "error handling code"
- Searching by intent with regex patterns
CORRECT:
- Invoke this skill, then use
grepai search "authentication flow" for semantic search
- Invoke this skill, then use
grepai trace callers "FunctionName" for call graph
- Use built-in Grep/Glob ONLY for exact text matches (variable names, imports)
When to Invoke This Skill
Invoke this skill IMMEDIATELY when:
- User asks to find code by intent (e.g., "where is authentication handled?")
- User asks to understand what code does (e.g., "how does the indexer work?")
- User asks to explore functionality (e.g., "find error handling logic")
- You need to understand code relationships (e.g., "what calls this function?")
- User asks about implementation details (e.g., "how are vectors stored?")
DO NOT use built-in Grep/Glob for intent-based searches. Use grepai instead.
When to Use Built-in Tools
Use Grep/Glob ONLY for:
- Exact text matching:
Grep "func NewIndexer" (find exact function name)