Preface¶
After vector retrieval is launched, common issues are not about “whether it can search,” but rather how to choose the index, how to trade off memory and QPS, and how to tune partitions and query parameters. Documentation is scattered across various Milvus version notes, and teams often rely on trial and error based on experience. Below is an introduction to the community Skill “Vector Database Master” (@user_69009747/vector-database-master) on SkillHub. It organizes Milvus index comparisons, hierarchical optimization strategies, and key points for benchmark testing into a guide that Agents can follow, facilitating selection and tuning discussions within IDE conversations.
What is this¶
“Vector Database Master” is an Agent Skill for development programming (dev-programming) scenarios. Version 1.0.0, source is community, published by user_69009747 (the SkillHub page lists the author as “Zhuangzi 18th Generation Technician”). Tag requires_api_key=false, no additional API Key required.
The official introduction positions it as: A guide for vector database selection and performance tuning; covering the breakdown and comparison of various Milvus index types, as well as hierarchical optimization from resource configuration to query parameters. It also mentions the included benchmark.py for automated benchmark testing of insertion/query latency quantiles and recall rates, assisted by a quick reference table for selection.
SkillHub page (as of data capture): Rating 100000, Downloads 1071, Install count 0 (subject to store display).
- Skill Page: https://www.skillhub.cn/skills/user_69009747/vector-database-master
- API Coordinates: https://api.skillhub.cn/user_69009747/vector-database-master
Core Features¶
The following capabilities are all derived from the official introduction and SkillHub display; implementation details not appearing in the materials are not expanded upon.
Milvus Index Type Comparison¶
The Skill emphasizes in-depth explanations of all Milvus index types. The types explicitly listed in the materials include:
- IVF_FLAT
- SQ8
- PQ
- HNSW
- DISKANN
The explanation direction includes quantitative comparisons across dimensions such as recall rate, memory footprint, and QPS, facilitating index trade-offs under similar recall targets rather than guessing based solely on names.
Four-Layer Performance Optimization Pyramid¶
The optimization path described officially is four layers, from bottom to top:
- Resource Configuration
- Partitioning & Sharding
- Index Selection
- Query Parameters
First handle resources and data layout, then determine the index and retrieval parameters, avoiding the bottleneck of only tuning query-side parameters like nprobe while ignoring the impact of sharding or index types.
Benchmarking & Quick Reference¶
The introduction mentions that the Skill includes benchmark.py for automated benchmark testing, with metrics including P50 / P95 / P99 for insertion and query, as well as recall rate. It also provides a “one-page quick reference sheet” summarizing selection points for easy comparison during conversations or reviews.
Installation & Activation¶
The Skill follows the general SKILL.md format. The installation guide provided on the SkillHub page is: Install coordinates @user_69009747/vector-database-master according to SkillHub Installation & Priority Source Configuration.
1. Install SkillHub CLI (if not installed)¶
command -v skillhub && skillhub --version
If not installed, execute a full installation (CLI + default Skill):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
Install CLI only:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
2. Install this Skill to the current Agent’s skills directory¶
When installing, you must use --dir to point to the skills directory recognized by the current Agent; otherwise, it will default to ./skills/, which the Agent may not be able to load.
skillhub install user_69009747/vector-database-master --dir <skills directory>
Common paths (from SkillHub installation docs):
| Agent / Client | skills directory |
|---|---|
| Cursor | ~/.cursor/skills/ |
| Claude Code | ~/.claude/skills/ |
| Codex | ~/.codex/skills/ or .agents/skills/ under the project |
| Gemini CLI | ~/.gemini/skills/ |
Example in Cursor:
skillhub install user_69009747/vector-database-master --dir ~/.cursor/skills/
Installation docs note: When installing to a non-default recognition path, some environments may require restarting the Agent for the Skill to load. Differences between Cursor / Codex CLI / Claude Code are mainly reflected in the skills directory path; the installation command itself is the same: skillhub install … --dir ….
You can also send the prompt from the SkillHub page to an AI to let it complete the installation according to https://skillhub.cn/install/skillhub.md (equivalent to the CLI method above, where the Agent executes the steps in the document).
Typical Usage¶
The materials do not provide a separate command-line parameter table for benchmark.py; typical usage should revolve around “Agent reads SKILL content after installation.”
- Complete the installation and confirm the Skill appears in the corresponding
skillsdirectory (the coordinate name is usuallyvector-database-masteror the package structure shown in the store). - Start a conversation in a client supporting Skills, such as Cursor, and directly describe the problem, for example: data scale, vector dimension, target recall rate, memory and disk constraints, currently used Milvus index type.
- Ask the Agent to output according to this Skill’s guide: index type comparison suggestions, which layer of the four-layer optimization should be prioritized for adjustment currently, and query parameter adjustment directions.
- If quantitative comparison is needed, explicitly request in the conversation to refer to the benchmark.py and quick reference table inside the Skill. Ask the Agent to combine the documentation within the Skill package to explain which metrics (P50–P99, recall rate, etc.) should be tested and the test order; specific script parameters are subject to the instructions inside the installed SKILL package.
Through the steps above, selection discussions will be anchored in the Milvus index and optimization framework organized by the Skill, rather than searching fragmented documents from scratch every time.
Use Cases & Notes¶
Who it is for
- Backend and algorithm engineers using or evaluating Milvus who need to trade off between index types (IVF_FLAT, SQ8, PQ, HNSW, DISKANN, etc.).
- Teams that need to systematically troubleshoot performance along the path “Resources → Sharding → Index → Query Parameters” rather than single-point parameter tuning.
- Developers who want to drive selection and tuning checklists using natural language within the IDE.
Limitations & Notes
- Content is from a community source, version 1.0.0; for production decisions, it is still recommended to cross-validate with official Milvus documentation and your own stress test results.
- The Skill focuses on Milvus and performance topics described in the materials; if using other vector libraries, you need to judge the transferability of the Skill’s suggestions yourself.
- The “Install” count displayed in the store is 0, which may indicate that most users install via CLI or prompts; the statistical caliber differs from “Downloads” and does not affect the local installation method.
- The automatic trigger rules for Cursor Rules and the Skill are not verified in the materials; defer to the client’s loading behavior for
~/.cursor/skills/.
Conclusion¶
“Vector Database Master” consolidates Milvus index comparisons, the four-layer performance optimization pyramid, and benchmark focus points into an Agent Skill, suitable for reducing trial and error based on feel during the selection and tuning phases. For acquisition and installation, see the SkillHub skill page: https://www.skillhub.cn/skills/user_69009747/vector-database-master