
Vector Index Tuning
If you're running vector search at scale and need to squeeze out better latency or recall without blowing your memory budget, this walks you through the tuning process systematically. It covers HNSW parameter sweeps, quantization trade-offs, and the metrics you should track before changing anything in production. The playbook approach is solid: establish baselines, benchmark on real queries, validate on staging. One thing to note is that it assumes you already have workload data and ground truth, so if you're still in the exploratory phase or don't have production metrics yet, you'll want to get that sorted first before diving into parameter optimization.
- skills.sh installs
- 191
- GitHub stars
- 39.4K
- last updated
- Jun 3, 2026
Install
$ npx -y skills add sickn33/antigravity-awesome-skills --skill vector-index-tuning --agent claude-codeInstalls into .claude/skills of the current project.
Files
Vector Index Tuning
Guide to optimizing vector indexes for production performance.
Use this skill when
- Tuning HNSW parameters
- Implementing quantization
- Optimizing memory usage
- Reducing search latency
- Balancing recall vs speed
- Scaling to billions of vectors
Do not use this skill when
- You only need exact search on small datasets (use a flat index)
- You lack workload metrics or ground truth to validate recall
- You need end-to-end retrieval system design beyond index tuning
Instructions
- Gather workload targets (latency, recall, QPS), data size, and memory budget.
- Choose an index type and establish a baseline with default parameters.
- Benchmark parameter sweeps using real queries and track recall, latency, and memory.
- Validate changes on a staging dataset before rolling out to production.
Refer to resources/implementation-playbook.md for detailed patterns, checklists, and templates.
Safety
- Avoid reindexing in production without a rollback plan.
- Validate changes under realistic load before applying globally.
- Track recall regressions and revert if quality drops.
Resources
Sponsors
Details
- Repository
- github.com/sickn33/antigravity-awesome-skills
- Categories
- AI & Agent Building, Marketing & SEO
- First seen
- Jun 3, 2026
More from sickn33/antigravity-awesome-skills
All 708- Postmortem Writing190
- Saga Orchestration190
- Evaluation189
- Distributed Debugging Debug Trace188
- Mtls Configuration188
- Similarity Search Patterns188
- Defi Protocol Templates187
- Screen Reader Testing187
- Shellcheck Configuration186
- Smtp Penetration Testing186
- Slo Implementation184
- Windows Privilege Escalation184
- Employment Contract Templates183
- Spark Optimization182
- Linux Shell Scripting181
- Nx Workspace Patterns180
- Red Team Tools179
- Senior Frontend178
- Istio Traffic Management177
- React Flow Architect176
- Html Injection Testing174
- Code Simplifier173
- Postgresql Optimization173
- Wireshark Analysis173