मुख्य सामग्री पर जाएँ
Skillpedia
एनालिसिस और स्प्रेडशीट81k · #1685

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 पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-ruvector/skills/vector-cluster/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

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

  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.
अक्सर पूछे जाने वाले सवाल

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

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

agent-adaptive-coordinator

81k

आपके एजेंट को काम बदलने पर AI एजेंटों के समूह को बाँटने और फिर से संतुलित करने में मदद करती है, और काम के हिसाब से लेआउट चुनती है।

AI और एजेंटएजेंट

agent-agent

81k

आपके एजेंट को बड़े लक्ष्य को क्रमबद्ध कार्यों की योजना में बदलना सिखाती है, और स्थिति बदलने पर योजना फिर से बनाना भी।

AI और एजेंटएजेंट

agent-agentic-payments

81k

AI खरीदारी के लिए खर्च के आदेश मैनेज करने में मदद करती है, जिसमें खर्च की सीमा, समय अवधि, व्यापारी नियम और signed मंज़ूरियाँ शामिल हैं।

AI और एजेंटएजेंट

agent-analyze-code-quality

81k

आपके एजेंट को कोड की गुणवत्ता जाँचने में मदद करती है, बिना फ़ाइलें बदले code smells, technical debt और refactoring के सुझाव खोजकर।

कोडिंगसामान्य कोडिंग

मिलती-जुलती skills