Agent skill

leann-search

Semantic search across codebase using LEANN vector index

parcadei3,879★ · 1 repos on radarProfile →
claude-codecan modify filesMIT
Install
npx skills add parcadei/Continuous-Claude-v3 --skill leann-search --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 2 KB
Bundled scripts: none
Allowed tools: BashRead
Path: .claude/skills/archive/leann-search/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 3,879
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# LEANN Semantic Search Use LEANN for meaning-based code search instead of grep. ## When to Use - **Conceptual queries**: "how does authentication work", "where are errors handled" - **Understanding patterns**: "streaming implementation", "provider architecture" - **Finding related code**: code that's semantically similar but uses different terms ## When NOT to Use - **Exact matches**: Use Grep for `class Foo`, `def bar`, specific identifiers - **Regex patterns**: Use Grep for `error.*handling`, `import.*from` - **File paths**: Use Glob for `*.test.ts`, `src/**/*.py` ## Commands ```bash # 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 ``` ## MCP Tool (in Claude Code) ``` leann_search(index_name="rigg", query="your semantic query", top_k=5) ``` ## Rebuilding the Index When codebase changes significantly: ```bash 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 ``` ## How It Work

What's inside
Steps it walks through
  1. When to Use
  2. When NOT to Use
  3. Commands
  4. MCP Tool (in Claude Code)
  5. Rebuilding the Index
  6. How It Works
  7. Grep vs LEANN Decision
Commands it runs
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
cd /path/to/project
leann build <project-name> --docs src tests scripts \
More from Continuous-Claude-v3
All skills →
About this skill
What does the leann-search skill do?

Semantic search across codebase using LEANN vector index

How do I install it?

Run `npx skills add parcadei/Continuous-Claude-v3 --skill leann-search --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From parcadei/Continuous-Claude-v3, a repository with 3,879 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going