grepai
Installation
SKILL.md
grepai — semantic code search
grepai searches code by meaning, not text. Unlike grep which matches exact strings, grepai understands intent — searching "validate user credentials" finds login, auth, and signin code even if none contain those exact words.
When to use grepai vs grep
| Use grep | Use grepai |
|---|---|
Know the exact name: ProcessOrder |
Don't know the name: "order processing logic" |
| Finding all usages of a symbol | Finding code that does X conceptually |
| Tracing callers/references | Exploring an unfamiliar area of the codebase |
| Single specific keyword like "Lock" | Broad question like "how are payments handled" |
If your query is a single specific keyword or class name, use grep — grepai adds overhead for simple lookups.
Search command
Always use this exact format: