Skip to content
aj-geddes avatar

Clustering Analysis

Guide to unsupervised clustering with k-means, hierarchical, DBSCAN, and Gaussian mixture models in Python.

CCM score
42 of 100
skills.sh installs
465
GitHub stars
396
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers cluster discovery from unlabeled data, including choosing k with elbow and silhouette analysis
  • Includes validation metrics (silhouette, Davies-Bouldin, Calinski-Harabasz) and silhouette and dendrogram plots
  • Compares four algorithms side by side on the same standardized data, with DBSCAN noise points flagged separately
  • Designed for customer segmentation, market grouping, and other exploratory work built on scikit-learn and SciPy

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill 'Clustering Analysis' -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Clustering Analysis

Overview

Clustering partitions data into groups of similar observations without pre-defined labels, enabling discovery of natural patterns and structures in data.

When to Use

  • Segmenting customers based on purchasing behavior or demographics
  • Discovering natural groupings in data without prior knowledge of categories
  • Identifying market segments for targeted marketing campaigns
  • Organizing large datasets into meaningful categories for further analysis
  • Finding patterns in gene expression data or medical imaging
  • Grouping documents, products, or users by similarity for recommendation systems

Clustering Algorithms

  • K-Means: Partitioning into k clusters
  • Hierarchical: Dendrograms showing nested clusters
  • DBSCAN: Density-based arbitrary-shaped clusters
  • Gaussian Mixture: Probabilistic clustering
  • Agglomerative: Bottom-up hierarchical approach

Key Concepts

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Category
Data Science & Analytics
First seen
Jun 3, 2026

Questions

What does the Clustering Analysis skill do?

Clustering Analysis identifies groups and patterns in data using k-means, hierarchical clustering, and DBSCAN. It is aimed at cluster discovery, customer segmentation and unsupervised learning, and its SKILL.md walks through Python code with silhouette scores and elbow plots.

How do I install the Clustering Analysis skill?

Run npx -y skills add aj-geddes/useful-ai-prompts --skill 'Clustering Analysis' -y in a project. Once installed, Clustering Analysis lets the agent run k-means, DBSCAN and Gaussian Mixture clustering with validation metrics.

Which clustering algorithms does Clustering Analysis cover?

Clustering Analysis covers K-Means, hierarchical and agglomerative clustering, DBSCAN, and Gaussian Mixture models. Its SKILL.md gives Python examples with scikit-learn and scipy for comparing these algorithms side by side on the same data.

Where does Clustering Analysis stand in its category?

Clustering Analysis sits in the Data Science & Analytics category on Claude Marketplaces, next to azure-kusto and analyze-project. Its own focus is unsupervised grouping, covering segmentation and cluster validation.

More from aj-geddes/useful-ai-prompts

All 258

Similar to Clustering Analysis

More Data Science & Analytics