Agent skill

Cluster Documents

by dandye in dandye/ai-runbooks

Automated content similarity and grouping analysis. An agent skill from dandye/ai-runbooks.

Apache-2.0Auto-check passedSecurity

Install Cluster Documents

skills CLI
$ npx skills add dandye/ai-runbooks --skill cluster-documents -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install dandye/ai-runbooks cluster-documents --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/dandye/ai-runbooks.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/cluster-documents .claude/skills/cluster-documents && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cluster-documents
GitHub stars
127
Token cost
~484 tokens
SKILL.md length
192 words
Files
1
Skills in repo
27
Repo updated
First seen
Licence
Apache-2.0

At a glance

Automated content similarity and grouping analysis. An agent skill from dandye/ai-runbooks.

  • Works in 4 steps: Text Processing → Clustering Analysis → Cluster Labeling → …
  • Security work in your project
  • SKILL.md covers Inputs, Workflow, Required Outputs and Quick Reference
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

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

Its SKILL.md is about 480 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Security. The licence is Apache-2.0.

When your agent uses it

  • Security work in your project

Example prompts

  • “/cluster-documents”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Text Processing
  2. Clustering Analysis
  3. Cluster Labeling
  4. Output Generation

What it can do on your machine

Read from SKILL.md and the folder at commit 72a6863. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cluster Documents loads about 484 tokens when it runs. Until then it costs about 34 tokens; SKILL.md has 192 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~34
When it runs · the whole SKILL.md, loaded when a task matches
~484

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from dandye/ai-runbooks at commit 72a6863, republished under its Apache-2.0 licence (© dandye). 192 words, ~484 tokens.

Download SKILL.mdSave it as .claude/skills/cluster-documents/SKILL.md (or your agent's skills folder).
name
cluster-documents
description
Automated content similarity and grouping analysis. Groups related documents by topic, purpose, or content similarity.
type
Skill
required_roles.scribe
roles/scribe.viewer
personas
information-architect, data-analyst, researcher
generated.by
process:google-labs-jules
generated.at
2026-01-29T21:19:07Z

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 VISUALIZATION is 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.

© dandye, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/cluster-documents of dandye/ai-runbooks.

Open the folder on GitHubat commit 72a6863

Compare with similar skills

Cluster Documents next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cluster Documents compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cluster Documents this skilldandye/ai-runbooks127—~484Automated safety check: PassApache-2.0
Kubernetes Network Security Auditkubeshark/kubeshark12k—~7.3kAutomated safety check: NotesApache-2.0
Google Cloud PAM Helpergoogle/skills21k—~3.2kAutomated safety check: PassApache-2.0
Cyberowlaikarimhabush/cyberowl263—~2.5kAutomated safety check: PassMIT
DefectDojo Vulnerability ManagementAgentSecOps/SecOpsAgentKit220—~2.3kAutomated safety check: PassCustom licence
Runtime Provisionernealbridges/VulnHunter666—~1.1kAutomated safety check: PassApache-2.0

Similar skills

  • Hunts for compromised workloads and malicious traffic in a Kubernetes cluster by sweeping network data through Kubeshark MCP, mapped to MITRE ATT&CK.

    12k GitHub stars~7.3k tokensUpdated 2 days ago
    SecurityAuto-check: notes
  • Official

    Manages Google Cloud Privileged Access Manager entitlements and grants: create and edit entitlements, request temporary access, and approve or deny pending grants.

    21k GitHub stars~3.2k tokensUpdated today
    SecurityAuto-check passed
  • Cyberowlai

    karimhabush/cyberowl

    Check if recent cybersecurity alerts from 10 international CERTs affect your current project.

    263 GitHub stars~2.5k tokensUpdated yesterday
    SecurityAuto-check passed
  • DefectDojo Vulnerability Management

    AgentSecOps/SecOpsAgentKit

    Aggregates scanner results into DefectDojo, deduplicates findings, tracks remediation SLAs and prepares compliance reports across products and pipelines.

    220 GitHub stars~2.3k tokensUpdated 5 mo ago
    SecurityAuto-check passed
  • Runtime Provisioner

    nealbridges/VulnHunter

    VulnHunter sandbox-depth decision procedure. An agent skill from nealbridges/VulnHunter.

    666 GitHub stars~1.1k tokensUpdated 2 days ago
    SecurityAuto-check passed
  • Vpn Security Check

    Sergei-thinker/vpn-setup

    Infrastructure security audit for VPN server. An agent skill from Sergei-thinker/vpn-setup.

    189 GitHub stars~1.5k tokensUpdated 5 mo ago
    SecurityAuto-check: notes

More from dandye/ai-runbooks

All 27 skills in this repo
  • Close Case Artifact

    dandye/ai-runbooks

    Close a case or alert with proper reason and documentation. An agent skill from dandye/ai-runbooks.

    127 GitHub stars~615 tokensUpdated 1 mo ago
    Auto-check passed
  • Correlate Ioc

    dandye/ai-runbooks

    Check for existing SIEM alerts and case management entries related to IOCs.

    127 GitHub stars~624 tokensUpdated 1 mo ago
    Auto-check passed
  • Deep Dive Ioc

    dandye/ai-runbooks

    Perform exhaustive analysis of a critical IOC. An agent skill from dandye/ai-runbooks.

    127 GitHub stars~1.1k tokensUpdated 1 mo ago
    Auto-check passed
  • Enrich Ioc

    dandye/ai-runbooks

    Enrich an IOC (IP, domain, hash, URL) with threat intelligence.

    127 GitHub stars~702 tokensUpdated 1 mo ago
    Auto-check passed
  • Find Relevant Case

    dandye/ai-runbooks

    Search for existing cases related to specific indicators or entities.

    127 GitHub stars~562 tokensUpdated 1 mo ago
    Auto-check passed
  • Full Alert Triage

    dandye/ai-runbooks

    Complete Tier 1 triage workflow. An agent skill from dandye/ai-runbooks.

    127 GitHub stars~1.8k tokensUpdated 1 mo ago
    Auto-check passed

Questions about Cluster Documents

What does Cluster Documents do?

Automated content similarity and grouping analysis. An agent skill from dandye/ai-runbooks. Cluster Documents is an agent skill from dandye/ai-runbooks. Automated content similarity and grouping analysis.

When should I use Cluster Documents?

Cluster Documents fits situations like: security work in your project.

How do I install Cluster Documents in Claude Code?

Run `npx skills add dandye/ai-runbooks --skill cluster-documents -a claude-code`. Or copy the skill folder (skills/cluster-documents in dandye/ai-runbooks) into .claude/skills/cluster-documents in your project. Claude Code loads it when a task matches its description.

How do I install Cluster Documents in Codex?

Run `npx skills add dandye/ai-runbooks --skill cluster-documents -a codex`. Or copy the skill folder (skills/cluster-documents in dandye/ai-runbooks) into .agents/skills/cluster-documents in your project. Codex loads it when a task matches its description.

Can I use Cluster Documents in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dandye/ai-runbooks --skill cluster-documents -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cluster-documents, .gemini/skills/cluster-documents, .github/skills/cluster-documents and .opencode/skills/cluster-documents in your project.

What does Cluster Documents need to run?

SKILL.md names no scripts, command-line tools or credentials: Cluster Documents is instructions for the agent only.

Does Cluster Documents access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Cluster Documents safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Cluster Documents use?

Cluster Documents is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cluster Documents use?

About 484 tokens (SKILL.md is roughly 1.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Cluster Documents?

Skills that share tags, products or a category with Cluster Documents: Kubernetes Network Security Audit (kubeshark/kubeshark, 12k stars), Google Cloud PAM Helper (google/skills, 21k stars), Cyberowlai (karimhabush/cyberowl, 263 stars) and DefectDojo Vulnerability Management (AgentSecOps/SecOpsAgentKit, 220 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cluster Documents?

dandye (a GitHub user) maintains it in dandye/ai-runbooks, which has 127 GitHub stars. The repository holds 27 skills in this directory. The repository was last updated on August 14, 2026.

Source: dandye/ai-runbooks on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.