본문으로 건너뛰기
Skillpedia
분석 및 스프레드시트81k · #1685

vector-cluster

하는 일

이 스킬은 그래프 기반 방식으로 항목이 얼마나 밀접하게 관련되어 있는지 보고 묶습니다. 큰 메모나 코드 모음을 정리해서 자연스러운 묶음을 보고 싶은 사람을 위한 스킬입니다.

사용하는 경우

  • ✓큰 메모나 코드 모음에서 주제를 찾고 싶을 때.
  • ✓어떤 묶음에도 맞지 않는 이상치를 찾고 싶을 때.
  • ✓큰 모음을 군집으로 정리하고 싶을 때.

스킬 링크

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-ruvector/skills/vector-cluster/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-ruvector/skills/vector-cluster/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“프로젝트의 모듈들을 서로 얼마나 밀접하게 연결되어 있는지로 묶고, 군집을 보여 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

이 스킬은 고정된 버전의 ruvector 도구를 설치하고, 지정한 파일에 그래프 군집 명령을 실행한 뒤 군집 배정을 검토합니다. 각 군집의 응집도를 평가하고 결과를 저장합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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.3.3 is available:
    npm ls ruvector 2>/dev/null | grep '0.3.3' || npm install ruvector@0.3.3
    
  2. Run clustering — in ruvector@0.3.3 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.
    npx -y ruvector@0.3.3 hooks graph-cluster <files...>
    npx -y ruvector@0.3.3 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): tight, well-defined cluster
  • Medium cohesion (0.6-0.85): related but diverse content
  • Low cohesion (<0.6): loose grouping, try higher resolution
  • Outliers: novel or anomalous files worth investigating

Caveats

  • cluster --namespace ... --k N and cluster --density are not valid in ruvector@0.3.3 — those flags fall through to the distributed-cluster command, which only accepts --status, --join, --leave, --nodes, --leader, --info.
  • For namespaced k-means over arbitrary embeddings, run k-means in your own code against vectors stored in AgentDB.
자주 묻는 질문

응집도는 무엇을 뜻하나요?

군집 안의 항목이 얼마나 단단히 묶여 있는지 나타내는 점수입니다. 원본은 0.85 이상이면 단단하고 0.6 이하이면 느슨하다고 설명합니다.

출력에 오류가 있으면 어떻게 하나요?

원본은 먼저 hooks init 명령을 실행해 그래프 상태를 설정하라고 말합니다.

내가 준 벡터도 군집화할 수 있나요?

이 스킬은 실제로 동작하는 방식이 그래프 군집 명령이라고 말합니다.

상세 정보

작성자의 원본 설명

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

repo: ruvnet/ruflo

인기도

GitHub 스타
81k
순위
#1685
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬