parcadei/leann-search
Semantic search across codebase using LEANN vector index
npx skills add https://github.com/parcadei/Continuous-Claude-v3 --skill leann-search
Use LEANN for meaning-based code search instead of grep.
class Foo, def bar, specific identifierserror.*handling, import.*from*.test.ts, src/**/*.py# Search the current project's index
leann search <index-name> "<query>" --top-k 5
# List available indexes
leann list
# Example
leann search rigg "how do providers handle streaming" --top-k 5
leann_search(index_name="rigg", query="your semantic query", top_k=5)
When codebase changes significantly:
cd /path/to/project
leann build <project-name> --docs src tests scripts \
--file-types '.ts,.py,.md,.json' \
--no-recompute --no-compact \
--embedding-mode sentence-transformers \
--embedding-model all-MiniLM-L6-v2
| Query Type | Tool | Example |
|------------|------|---------|
| Natural language | LEANN | "how does caching work" |
| Class/function name | Grep | "class CacheManager" |
| Pattern matching | Grep | error\|warning |
| Find implementations | LEANN | "rate limiting logic" |
Take parcadei/leann-search from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.