Cluster documents

From dandye/ai-runbooks · View interactive version

Cluster documents is an AI agent skill from the GitHub repository dandye/ai-runbooks. Automated content similarity and grouping analysis. Groups related documents by topic, purpose, or content similarity.

How to use this skill

Skill file

Document Clustering Skill

Analyze a repository of documents to group them based on content similarity, topic, or purpose. This skill helps organize large collections, identify redundancies, and discover relationships.

Inputs

Workflow

Step 1: Text Processing

Ingest documents from PATH.

Step 2: Clustering Analysis

Apply clustering algorithms (e.g., K-Means, DBSCAN) to the document vectors.

Step 3: Cluster Labeling

Analyze the centroid or representative terms of each cluster to assign a meaningful label (Topic).

Step 4: Output Generation

Generate the clustering report.

Required Outputs

A CLUSTERING_REPORT object containing:

Quick Reference

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.