Agent skill

vector-cluster

Cluster code by graph community detection via npx ruvector@0.2.25 hooks graph-cluster (spectral / Louvain)

rUv72,748★ · +654/wk · 4 repos on radarProfile →
claude-codecodexcan modify filesMIT
Install
npx skills add ruvnet/ruflo --skill vector-cluster --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 2 KB
Bundled scripts: none
Allowed tools: BashReadmcp__plugin_ruflo-core_ruflo__memory_searchmcp__plugin_ruflo-core_ruflo__memory_storemcp__plugin_ruflo-core_ruflo__memory_list
Path: plugins/ruflo-ruvector/skills/vector-cluster/SKILL.md
Open the folder on GitHub →
Where it comes from
Source: ruvnet/ruflo
Stars: 67,015 · +629 this week
Language: TypeScript
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Vector Cluster Cluster vectors in a namespace by semantic similarity using `ruvector`. ## When to use Use this skill when you have a collection of embeddings and want to discover natural groupings. Clustering reveals themes, identifies outliers, and helps organize large vector collections. ## Steps 1. **Ensure ruvector@0.2.25 is available**: ```bash npm ls ruvector 2>/dev/null | grep '0.2.25' || npm install ruvector@0.2.25 ``` 2. **Run clustering** — in ruvector@0.2.25 the only working clustering is via `hooks graph-cluster` (spectral/Louvain over a code graph). The top-level `cluster` command is reserved for distributed cluster ops and is currently "Coming Soon" upstream. ```bash npx -y ruvector@0.2.25 hooks graph-cluster <files...> npx -y ruvector@0.2.25 hooks graph-mincut <files...> ``` 3. **Review output** — JSON with cluster assignments, community labels, and edges. If you see `"graph.nodes is not iterable"`, run `hooks init` first to seed the graph state. 4. **Store results**: `mcp__plugin_ruflo-core_ruflo__memory_store({ key: "clusters-PROJECT-TIMESTAMP", value: "CLUSTER_ASSIGNMENTS", namespace: "vector-clusters" })` ## Interpreting results - **High cohesion** (>0.85): tig

What's inside
Steps it walks through
  1. When to use
  2. Steps
  3. Interpreting results
  4. Caveats
Commands it runs
npm ls ruvector 2>/dev/null | grep '0.2.25' || npm install ruvector@0.2.25
npx -y ruvector@0.2.25 hooks graph-cluster <files...>
npx -y ruvector@0.2.25 hooks graph-mincut <files...>
More from ruflo
All skills →
About this skill
What does the vector-cluster skill do?

Cluster code by graph community detection via npx ruvector@0.2.25 hooks graph-cluster (spectral / Louvain)

How do I install it?

Run `npx skills add ruvnet/ruflo --skill vector-cluster --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From ruvnet/ruflo, a repository with 67,015 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going