vector-cluster
यह क्या करती है
यह स्किल किसी संग्रह के आइटम्स को graph-आधारित तरीके से इस आधार पर समूहित करती है कि वे कितने करीब से जुड़े हैं। यह बड़े कोड या नोट्स के संग्रह व्यवस्थित करने वालों के लिए है जो स्वाभाविक समूह देखना चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप बड़े नोट्स या कोड के संग्रह में विषय खोजना चाहते हैं।
- ✓जब आप ऐसे आइटम खोजना चाहते हैं जो किसी समूह में फ़िट नहीं होते।
- ✓जब आप बड़े संग्रह को clusters में बाँटना चाहते हैं।
Skill का लिंक
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-ruvector/skills/vector-cluster/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे प्रोजेक्ट के modules को उनके जुड़ाव के आधार पर समूहित कीजिए और clusters दिखाइए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल pinned ruvector टूल इंस्टॉल करती है, आपके बताए फ़ाइलों पर graph clustering कमांड चलाती है, और cluster असाइनमेंट की समीक्षा करती है। वह हर cluster की cohesion आँकती है और परिणाम सहेजती है।
तकनीकी सामग्री (मूल 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
- Ensure ruvector@0.3.3 is available:
npm ls ruvector 2>/dev/null | grep '0.3.3' || npm install ruvector@0.3.3 - Run clustering — in ruvector@0.3.3 the only working clustering is via
hooks graph-cluster(spectral/Louvain over a code graph). The top-levelclustercommand 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...> - Review output — JSON with cluster assignments, community labels, and edges. If you see
"graph.nodes is not iterable", runhooks initfirst to seed the graph state. - 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 Nandcluster --densityare 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.
अक्सर पूछे जाने वाले सवाल
cohesion का क्या अर्थ है?
यह एक स्कोर है जो बताता है कि किसी cluster के आइटम कितने कसकर एक साथ हैं। स्रोत सीमाएँ देता है: 0.85 से ऊपर कसा हुआ, और 0.6 से नीचे ढीला।
अगर आउटपुट में कोई गलती हो तो?
स्रोत कहता है कि graph state सेट करने के लिए पहले hooks init कमांड चलाएँ।
क्या यह मेरे दिए किसी भी vector को cluster करती है?
स्किल कहती है कि काम करने वाला clustering रास्ता graph clustering कमांड है।
जानकारी
लेखक का मूल विवरण
Cluster code by graph community detection via npx ruvector@0.3.3 hooks graph-cluster (spectral / Louvain)
repo: ruvnet/ruflo
लोकप्रियता
- GitHub स्टार
- 81k
- रैंकिंग में स्थान
- #1685
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
agent-adaptive-coordinator
81kआपके एजेंट को काम बदलने पर AI एजेंटों के समूह को बाँटने और फिर से संतुलित करने में मदद करती है, और काम के हिसाब से लेआउट चुनती है।
agent-agent
81kआपके एजेंट को बड़े लक्ष्य को क्रमबद्ध कार्यों की योजना में बदलना सिखाती है, और स्थिति बदलने पर योजना फिर से बनाना भी।
agent-agentic-payments
81kAI खरीदारी के लिए खर्च के आदेश मैनेज करने में मदद करती है, जिसमें खर्च की सीमा, समय अवधि, व्यापारी नियम और signed मंज़ूरियाँ शामिल हैं।
agent-analyze-code-quality
81kआपके एजेंट को कोड की गुणवत्ता जाँचने में मदद करती है, बिना फ़ाइलें बदले code smells, technical debt और refactoring के सुझाव खोजकर।
मिलती-जुलती skills
gitcrawl
394kयह आपके एजेंट को GitHub issues और pull requests के सेव आर्काइव में खोजने, मिलते-जुलते मामलों को समूह में रखने और लाइव स्थिति जांचने देती है।
slacrawl
394kयह आपके एजेंट को स्थानीय Slack आर्काइव में संदेश खोजने और गिनने, उसकी ताज़गी जांचने और ज़रूरत पड़ने पर उसे ताज़ा करने देती है।
goplaces
394kयह आपके एजेंट को Google Places से जगहें खोजने, उनका विवरण और समीक्षाएं पाने, और जगह के नाम हल करने में मदद करती है, स्क्रिप्ट के लिए JSON आउटपुट के साथ।