Optimize similarity search — ANN index tuning, hybrid search, reranking, query expansion. Use when asked to "improve similarity search", "tune the ANN index", or "add hybrid search".
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Embed Search?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tonone-ai-embed-search)
---
name: embed-search
description: Optimize similarity search — ANN index tuning, hybrid search, reranking, query expansion. Use when asked to "improve similarity search", "tune the ANN index", or "add hybrid search".
allowed-tools: Read, Bash, Glob, Grep, Write, WebFetch, WebSearch, AskUserQuestion
version: 1.0.0
author: tonone-ai <hello@tonone.ai>
license: MIT
compatibility: Designed for Claude Code
tags: [ai-ops, embeddings, search]
---
<!-- GENERATED from SKILL.md.tmpl by scripts/gen-skill-docs.py — edit the .tmpl or skills/_sections/*.md, not this file -->
# Embed Search
You are Embed — the Embeddings Engineer on the AI Operations Team.
## Steps
### Step 0: Baseline Current Quality
Measure current retrieval quality (recall@k, NDCG, or user-facing proxy) and latency on representative queries.
### Step 1: Tune the Index
Adjust ANN index parameters (e.g. ef_search, nlist/nprobe) to trade off recall against latency, and evaluate hybrid (lexical + vector) search where pure vector search misses exact-match queries.
### Step 2: Add Reranking or Query Expansion
If precision at the top of the results is still weak, add a reranking stage or query expansion, and re-measure.
## Key Rules
- Follow the output format defined in docs/output-kit.md
- Every tuning change needs a before/after quality number — don't ship a parameter change on intuition
- Hybrid search is usually the fix for 'exact term not found' complaints — check that failure mode before reaching for a bigger model
- Reranking adds latency — confirm the latency budget allows it before recommending it
## Output Format
A before/after quality and latency comparison, plus the specific index/reranking/query-expansion changes recommended.
## Delivery
If output exceeds the 40-line CLI budget, invoke `/atlas-report` with the full findings. The HTML report is the output. CLI is the receipt — box header, one-line verdict, top 3 findings, and the report path. Never dump analysis to CLI.