clustering

Cluster text items into labeled topics using embedding models and Milvus.

3|2|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/zilliztech/milvus-marketplace --skill clustering
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clustering
Source: https://github.com/zilliztech/milvus-marketplace/tree/main/plugins/data-analytics/skills/clustering
Command: npx skills add https://github.com/zilliztech/milvus-marketplace --skill clustering

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Clustering is essential to automatically group similar items, reveal hidden patterns, and organize data without predefined labels, reducing manual tagging and exploration time.

Core Features & Use Cases

  • Unsupervised organization: Group documents, products, or user data into coherent clusters based on semantic similarity.
  • Topic discovery and naming: Assign human-readable labels to clusters to enable quick understanding of topics.
  • Exploratory data analysis: Compare cluster compositions, identify outliers, and guide downstream workflows like segmentation or recommendation.

Quick Start

Provide a list of items to cluster (texts, product descriptions, or user content), choose an embedding model and a clustering method (KMeans/DBSCAN/HDBSCAN), and optionally set the number of clusters. Example: cluster_documents(items, method='kmeans', n_clusters=3) to generate three topics and inspect their contents.

Frequently Asked Questions about clustering

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically group similar documents or products into clusters?

Clustering groups similar items by embedding them into a vector space and applying unsupervised algorithms like KMeans, DBSCAN, or HDBSCAN. Provide your content, choose an embedding model and clustering method, and the Skill assigns items to cohesive clusters with automatically named topics.

What's required to cluster data with Milvus and vector embeddings?

You need an embedding model to convert items into vectors, a Milvus vector store to index them, and a clustering algorithm. The Skill handles the rest—storing embeddings, computing similarities, and partitioning data into labeled clusters.

Can I discover topics and labels from unstructured text without predefined categories?

Yes. Unsupervised clustering reveals hidden patterns and topics in text, product descriptions, or user data without labeled training data. The Skill automatically assigns human-readable labels to clusters so you understand what each group represents.

How does clustering help with exploratory data analysis and finding outliers?

Clustering organizes data into semantic groups, making it easy to compare compositions, spot outliers, and identify unexpected patterns. This guides downstream tasks like segmentation, recommendation, or deeper investigation of unusual items.

What's the difference between KMeans, DBSCAN, and HDBSCAN for clustering?

KMeans partitions data into a fixed number of clusters; DBSCAN finds density-based groups and flags outliers; HDBSCAN is a hierarchical variant that adapts to varying cluster densities. Choose based on whether you know cluster count and how strict density requirements are.

Do I need to preprocess or normalize data before clustering with vector embeddings?

The embedding model handles most normalization. Provide clean, deduplicated items in supported formats; the Skill converts them to vectors and applies clustering. Minimal preprocessing is needed when using modern embedding models.