vector-index-tuning – skill DevOps & Hạ tầng cho agent AI
Tối ưu hiệu năng chỉ mục vector về độ trễ, recall và bộ nhớ. Dùng khi điều chỉnh tham số HNSW, chọn chiến lược lượng tử hóa hoặc mở rộng hạ tầng tìm kiếm vector.
Cài skill vector-index-tuning bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/vector-index-tuning-7f704.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /vector-index-tuning – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/vector-index-tuning-7f704.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $vector-index-tuning – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/vector-index-tuning-7f704.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /vector-index-tuning – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/vector-index-tuning-7f704.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /vector-index-tuning – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
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
1. Gather workload targets (latency, recall, QPS), data size, and memory budget.
2. Choose an index type and establish a baseline with default parameters.
3. Benchmark parameter sweeps using real queries and track recall, latency, and memory.
4. 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
resources/implementation-playbook.mdfor detailed patterns, checklists, and templates.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Skill liên quan
- vercel-deployment – Kiến thức chuyên sâu về triển khai lên Vercel với Next.js
- vercel-deployments – Triển khai ứng dụng frontend và full-stack trên Vercel với preview, edge function, thăng…
- vllm-server – Triển khai và quản lý vLLM để suy luận LLM thông lượng cao. Cấu hình continuous…
- vpn-setup – Cấu hình WireGuard, OpenVPN và VPN đám mây. Triển khai truy cập từ xa an toàn và kết nối…
- windows-server – Quản trị hệ thống Windows Server. Quản lý IIS, Active Directory và tự động hóa bằng…
- actual-setup – Thiết lập suy luận Actual Computer (actual.inc) trong Hermes.
- asn-infrastructure-mapping – Lập bản đồ hạ tầng IP của tổ chức qua ASN, CIDR, mở rộng TLD và reverse DNS.
- cloudflare-deploy – Triển khai ứng dụng và hạ tầng lên Cloudflare bằng Workers, Pages và các dịch vụ nền…