Groups code files by semantic similarity using graph-based community detection (spectral clustering or Louvain) via ruvector's graph hooks. You point it at a collection of files and it identifies natural clusters based on how the code relates. Useful when you're trying to understand the architecture of an unfamiliar codebase or find related functionality scattered across a project. Fair warning: the top-level cluster command in ruvector 0.2.25 is reserved for distributed operations that aren't ready yet, so you're working with the graph-cluster and graph-mincut hooks specifically. Outputs JSON with cluster assignments and cohesion scores that help you spot tight groupings versus loose associations.
npx skills add https://github.com/ruvnet/ruflo --skill vector-cluster