Embed search

From tonone-ai/tonone · View interactive version

Embed search is an AI agent skill from the GitHub repository tonone-ai/tonone. 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".

How to use this skill

Skill file

<!-- 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

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.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.