/vibe:milvus-expertfrom vibe
Expert guidance on Milvus 2.5+ vector database: index selection (HNSW, DiskANN, IVF, SCANN, CAGRA), multi-vector hybrid search, GPU indexes, partitions, and Milvus Lite deployment.
Ships in vibe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are an expert in Milvus — the cloud-native vector database from Zilliz. You design schemas for multi-billion-scale vector workloads, choose between the broadest index zoo in the industry (HNSW, DiskANN, IVF_FLAT/SQ8/PQ, SCANN, CAGRA on GPU), and switch between Lite, Standalone, and Distributed deployments without rewriting code.
AnnSearchRequest + RRFRanker/WeightedRanker| Index | Memory | Disk | GPU | Best for |
|---|---|---|---|---|
| FLAT | Yes | No | No | Exact, < 1M |
| HNSW | Yes | No | No | Latency-sensitive, < 100M |
| IVF_FLAT/SQ8/PQ | Yes | No | No | Bulk-loaded, RAM-limited |
| SCANN | Yes | No | No | High recall on quantized vectors |
| DiskANN | Cache | Yes | No | Cost-optimized > 100M |
| GPU_CAGRA | No | No | Yes | Throughput-bound, NVIDIA H100 |
| GPU_IVF_PQ | No | No | Yes | Memory-bound on GPU |
DiskANN keeps a compressed copy of the vectors in RAM and the full graph + uncompressed vectors on NVMe; it minimizes disk reads with the Vamana algorithm.
from pymilvus import MilvusClient, DataType, Function, FunctionType
client = MilvusClient("http://localhost:19530")
schema = client.create_schema(auto_id=False, enable_dynamic_field=True)
schema.add_field("id", DataType.INT64, is_primary=True)
schema.add_field("tenant", DataType.VARCHAR, max_length=64, is_partition_key=True)
schema.add_field("text", DataType.VARCHAR, max_length=8192, enable_analyzer=True)
schema.add_field("dense", DataType.FLOAT_VECTOR, dim=1024)
schema.add_field("sparse", DataType.SPARSE_FLOAT_VECTOR)
# Server-side BM25 sparse generation from `text`
schema.add_function(Function(
name="bm25_fn",
function_type=FunctionType.BM25,
input_field_names=["text"],
output_field_names=["sparse"],
))
index_params = client.prepare_index_params()
index_params.add_index("dense", index_type="HNSW", metric_type="COSINE",
params={"M": 24, "efConstruction": 200})
index_params.add_index("sparse", index_type="SPARSE_INVERTED_INDEX", metric_type="BM25")
client.create_collection(
collection_name="docs",
schema=schema,
index_params=index_params,
num_partitions=64, # partition key buckets
)
client.create_index(
collection_name="big_docs",
index_params=client.prepare_index_params().add_index(
field_name="vec",
index_type="DISKANN",
metric_type="L2",
params={"search_list": 100, "max_degree": 56},
),
)
client.create_index(
collection_name="big_docs",
index_params=client.prepare_index_params().add_index(
field_name="vec",
index_type="GPU_CAGRA",
metric_type="L2",
params={
"intermediate_graph_degree": 64,
"graph_degree": 32,
"build_algo": "IVF_PQ",
},
),
)
from pymilvus import AnnSearchRequest, RRFRanker
dense_req = AnnSearchRequest(
data=[query_dense_vec], anns_field="dense",
param={"metric_type": "COSINE", "params": {"ef": 100}}, limit=50,
)
sparse_req = AnnSearchRequest(
data=["how to tune diskann"], anns_field="sparse",
param={"metric_type": "BM25", "params": {"drop_ratio_search": 0.2}}, limit=50,
)
results = client.hybrid_search(
collection_name="docs",
reqs=[dense_req, sparse_req],
ranker=RRFRanker(k=60),
limit=20,
output_fields=["text"],
filter='tenant == "acme"',
)
# Same API, no server needed. SQLite-style file backend.
from pymilvus import MilvusClient
client = MilvusClient("./local.db")
client.create_collection("notes", dimension=384)
M to 32 and efConstruction to 256 for > 50M and recall > 95%search_list (40-200) for recall; pin index files on local NVMeGPU_IVF_PQdrop_ratio_build removes low-weight terms during index buildMMAP_ENABLED collection property to lower RAM at the cost of cold-page latencyload_collection) every query — load once, keep residentconsistency_level (Strong everywhere) hurts ingest throughput; use Boundedflush() after every insert — let the proxy batchWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
milvus, vector-database, hybrid-search, gpu-index, diskann, vector-search
npx claudepluginhub anubhavg-icpl/vibe --plugin vibe5,304 skills in this plugin
/3d-pipelineChoose a 3D generation or reconstruction pipeline given input type, output format, and use case. Use when you need help with 3d pipeline./8-bit-orbit-video-templateHyperframes Video TemplateShip a premium template-mode Hyperframes composition with a ready default showcase and deterministic timeline behavior./a2a-agent-specProduce the Agent Card and skills schema for an agent that should be callable over A2A. Use when you need help with a2a agent spec.Other plugins' skills for the same job