dandye/ai-runbooks/cluster-documents
Claude Code and agent skill by dandye/ai-runbooks
- community
Checking that the SKILL.md file is still in the repository.
Automated content similarity and grouping analysis. Groups related documents by topic, purpose, or content similarity.
Install
npx vskill@latest install dandye/ai-runbooks/cluster-documentsSKILL.md
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
PATH- The repository to analyze (e.g., "/repository")SIMILARITY_THRESHOLD- (Optional) Float (0.0-1.0), threshold for grouping (default: 0.8)VISUALIZATION- (Optional) Boolean, whether to generate a visual representation (default: false)
Workflow
Step 1: Text Processing
Ingest documents from PATH.
- Normalize text (remove stop words, stemming/lemmatization).
- Generate embeddings or TF-IDF vectors for each document.
Step 2: Clustering Analysis
Apply clustering algorithms (e.g., K-Means, DBSCAN) to the document vectors.
- Group documents that meet the
SIMILARITY_THRESHOLD. - Identify outliers or unique documents.
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.
- If
VISUALIZATIONis true, create a scatter plot or dendrogram data.
Required Outputs
A CLUSTERING_REPORT object containing:
- Cluster List: ID, Label, and List of Documents in each cluster.
- Redundancy Report: Sets of highly similar documents (potential duplicates).
- Visualization Data: (If requested) Coordinates for plotting.
Quick Reference
- Purpose: Organize unstructured content and find duplicates.
- Techniques: Text Mining, NLP, Vector Space Models.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/cluster-documents/SKILL.md
Popularity
- Repository stars
- 90
- Repository forks
- 24
- 7-day trend score
- 23
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 21 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dandye/ai-runbooks/cluster-documents)