cluster-analysis
Skill4 starsChanged 15 months agoApache-2.0View on GitHub
Discover natural groupings in data using clustering algorithms with evaluation and visualization. Use when segmenting data or finding patterns.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- hu669293657/skillstheir own version, first seen Sep 22, 2026
- yogsoth-ai/convergencetheir own version, first seen May 19, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- hu669293657/skills★ 2same name
- yogsoth-ai/convergence★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository17 other files it gives its agents.
- data-qualitySkill
- explore-dataSkill
- find-reference-dataSkill
- graph-data-exploreSkill
- anomaly-detectionSkill
- dimensionality-reductionSkill
- forecastSkill
- geospatialSkill
- optimizationSkill
- regressionSkill
- ab-testSkill
- analyze-correlationsSkill
- hypothesis-testSkill
- sampling-estimationSkill
- data-pipelineSkill
- process-controlSkill
- research-pipelineSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 0 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Explore features: Call describe_database with the database name from $ARGUMENTS.
- Very specific: line 16
Extract and review data: Call execute_query to select the numeric feature columns.
- Very specific: line 18
Run K-Means clustering: Call analyze_clusters with the database name, feature columns, and algorithm set to "kmeans".
- Very specific: line 20
Try alternative k values: If the silhouette score is below 0.5, re-run analyze_clusters with k=2, k=4, and k=5.
- Very specific: line 22
Run DBSCAN for comparison: Call analyze_clusters with algorithm set to "dbscan".
- Very specific: line 30
Reduce dimensions for visualization: Call reduce_dimensions with the database name and feature columns, using PCA with 2 components.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Cluster Analysis
Find natural groupings in data using multiple clustering approaches, evaluate quality, and interpret results.
Steps
- Explore features. Call
describe_databasewith the database name from$ARGUMENTS. Identify numeric columns suitable for clustering. Note any categorical columns that could provide context for interpreting clusters later. - Extract and review data. Call
execute_queryto select the numeric feature columns. Check for nulls and extreme outliers in the sample. Note the number of observations and features. - Run K-Means clustering. Call
analyze_clusterswith the database name, feature columns, and algorithm set to "kmeans". Start with k=3 unless domain knowledge suggests otherwise. Review the silhouette score and cluster sizes. - Try alternative k values. If the silhouette score is below 0.5, re-run
analyze_clusterswith k=2, k=4, and k=5. Compare silhouette scores to find the optimal number of clusters. - Run DBSCAN for comparison. Call
analyze_clusterswith algorithm set to "dbscan". This density-based approach does not require specifying k and can find irregularly shaped clusters. Compare the number of clusters found and the noise point percentage. - Evaluate and compare. Assess both approaches:
- Silhouette scores (higher is better, above 0.5 is good)
- Cluster balance (are clusters roughly even or heavily skewed?)
- Number of noise points in DBSCAN
- Which method produces more interpretable groupings
- Reduce dimensions for visualization. Call
reduce_dimensionswith the database name and feature columns, using PCA with 2 components. This provides a 2D representation of the clusters for interpretation. - Interpret clusters. For the best clustering result, describe each cluster by its feature averages. Give each cluster a descriptive label based on its defining characteristics. Note which features most differentiate the clusters.
- Present results. Provide:
- Recommended number of clusters and algorithm
- Cluster profiles with feature summaries
- Silhouette score and quality assessment
- Observations about cluster separation and overlap
- Recommend next steps. Suggest using cluster labels as a feature in
/localdata-mcp:regression, running/localdata-mcp:analyze-correlationswithin each cluster, or applying the clustering to new data for segmentation.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

