/core:local-setupfrom core
Use when user needs to set up Milvus locally. Triggers on: local setup, install milvus, docker, docker-compose, dev environment, milvus standalone, milvus lite.
Ships in core. 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.
Set up a local Milvus development environment.
| Method | Use Case | Resource Requirements |
|---|---|---|
| Milvus Lite | Quick testing, learning | Minimal |
| Docker Standalone | Development, small scale | Medium |
| Docker Compose | Full features | Higher |
No installation needed, use directly:
from pymilvus import MilvusClient
# In-memory mode
client = MilvusClient()
# Or persist to file
client = MilvusClient("./milvus.db")
# Create collection
client.create_collection(
collection_name="demo",
dimension=768
)
# Insert
client.insert(
collection_name="demo",
data=[{"id": 1, "vector": [0.1]*768, "text": "hello"}]
)
# Search
results = client.search(
collection_name="demo",
data=[[0.1]*768],
limit=3
)
# Download docker-compose
wget https://raw.githubusercontent.com/milvus-io/milvus/master/scripts/standalone_embed.sh
# Start
bash standalone_embed.sh start
# Stop
bash standalone_embed.sh stop
Or manually:
docker run -d --name milvus \
-p 19530:19530 \
-p 9091:9091 \
-v $(pwd)/milvus:/var/lib/milvus \
milvusdb/milvus:latest \
milvus run standalone
Connect:
from pymilvus import MilvusClient
client = MilvusClient(uri="http://localhost:19530")
# docker-compose.yml
version: '3.5'
services:
etcd:
image: quay.io/coreos/etcd:v3.5.5
environment:
- ETCD_AUTO_COMPACTION_MODE=revision
- ETCD_AUTO_COMPACTION_RETENTION=1000
- ETCD_QUOTA_BACKEND_BYTES=4294967296
command: etcd -advertise-client-urls=http://127.0.0.1:2379 -listen-client-urls http://0.0.0.0:2379 --data-dir /etcd
minio:
image: minio/minio:RELEASE.2023-03-20T20-16-18Z
environment:
MINIO_ACCESS_KEY: minioadmin
MINIO_SECRET_KEY: minioadmin
command: minio server /minio_data
milvus:
image: milvusdb/milvus:latest
command: ["milvus", "run", "standalone"]
environment:
ETCD_ENDPOINTS: etcd:2379
MINIO_ADDRESS: minio:9000
ports:
- "19530:19530"
- "9091:9091"
depends_on:
- etcd
- minio
docker-compose up -d
from pymilvus import MilvusClient
client = MilvusClient(uri="http://localhost:19530")
print(f"Milvus version: {client.get_server_version()}")
print("Connected successfully!")
Port in use
# Check
lsof -i :19530
# Change port
docker run -p 29530:19530 ...
Out of memory
# Limit memory
docker run -m 4g ...
Data persistence
# Mount volume
docker run -v /path/to/data:/var/lib/milvus ...
After environment is ready:
core:pilotWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub zilliztech/milvus-marketplace --plugin core7 skills in this plugin
/chunkingUse when user needs to split documents into chunks for RAG or search. Triggers on: chunking, split, chunk size, text splitter, token limit, overlap./embeddingUse when user needs to convert text/images to vectors. Triggers on: embedding, vectorize, encode, text-to-vector, model selection, sentence-transformers, OpenAI embeddings, BGE, CLIP./indexingUse when user needs to create collections, indexes in Milvus. Triggers on: indexing, collection, create index, HNSW, IVF, schema, Milvus collection, vector storage.Other plugins' skills for the same job