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

kg-traverse

यह क्या करती है

यह स्किल knowledge graph के लिंक एक शुरुआती आइटम से फ़ॉलो करती है, उसके संबंध और सबसे प्रासंगिक रास्ते दिखाती है। जो डेवलपर impact analysis या निर्भरताओं का पता लगाने का काम कर रहे हैं, उनके लिए यह है।

कब इस्तेमाल करें

  • ✓जब आप जानना चाहें कि कोई खास क्लास या मॉड्यूल किस पर निर्भर है।
  • ✓जब आप एक आइटम से निर्भरता की श्रृंखला देखना चाहें।
  • ✓जब आपको कोड के एक हिस्से में बदलाव के असर का अंदाज़ा चाहिए।

Skill का लिंक

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-knowledge-graph/skills/kg-traverse/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

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

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

AI से क्या माँगें: उदाहरण

“अगर मैं billing मॉड्यूल बदलूँ तो क्या प्रभावित होगा? कोड के नक्शे में उसके लिंक फ़ॉलो कीजिए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

स्किल graph में शुरुआती आइटम ढूँढती है, उसके लिंक एक तय गहराई तक फैलाती है और हर रास्ते को प्रासंगिकता के हिसाब से आँकती है। कमज़ोर रास्ते हटाकर सबसे अच्छे नतीजे लौटाती है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

KG Traverse

Perform pathfinder graph traversal starting from a seed entity. Expands outward through the graph's edges, scores paths by relevance, and prunes low-scoring branches.

When to use

When you need to explore the knowledge graph starting from a specific entity -- finding what depends on it, what it depends on, or discovering indirect relationships. Useful for impact analysis, dependency chains, and understanding code structure.

Steps

  1. Seed -- call mcp__plugin_ruflo-core_ruflo__agentdb_hierarchical-recall to look up the target entity by name (one word is the most reliable query: the recall matches the whole query as a substring). Graph node ids are domain-prefixed, for example entity:router-account.
  2. Expand -- call mcp__plugin_ruflo-core_ruflo__agentdb_graph-query with { nodeId: "entity:NAME", mode: "k-hop", depth: N } (default depth 3, the SQL path applies at most 3 and reports appliedDepth and truncated; add relation to filter by relation type). agentdb_causal-edge only records an edge, never use it to read one.
  3. Score and rank -- call mcp__plugin_ruflo-core_ruflo__agentdb_graph-pathfinder with { seedNodeId: "entity:NAME", query: "<what the user wants to know>", depth: N, threshold: 0.3, topK: 10 }. It expands from the seed, scores each path by cumulative relevance, drops paths under the threshold and returns the top paths. If it returns nothing useful, score the k-hop neighbours yourself with mcp__plugin_ruflo-core_ruflo__agentdb_pattern-search on entity names and relation types (the semanticRouter controller is enabled: false in current AgentDB builds; see ruvnet/ruflo#2049).
  4. Synthesize -- write the summary yourself from the returned paths. Do not call agentdb_context-synthesize: it summarizes validated task episodes and answers no-eligible-episodes for entity records written by kg-extract.
  5. Report -- display the top 10 paths with: path (entity chain), relation types, cumulative score, and your summary.

When the graph cannot be read

With CLAUDE_FLOW_ENCRYPT_AT_REST=1 the graph read tools answer graph_edges DB is encrypted at rest (RFE1) (#2889, #4135): edges recorded by kg-extract are stored but cannot be read back yet. Say so in the report. Your data is intact: do not run memory init. Fall back to the entity records only (agentdb_hierarchical-recall) and tell the user that relations are unavailable. An agentdb_causal-edge result with readable: false already warns about this at write time.

CLI alternative

npx @claude-flow/cli@latest memory search --query "relations for ENTITY_NAME" --namespace knowledge-graph
अक्सर पूछे जाने वाले सवाल

यह कितनी दूर तक लिंक फ़ॉलो करती है?

डिफ़ॉल्ट गहराई तीन चरण है, और अगर आप ज़्यादा माँगें तो भी क्वेरी तीन पर रुकती है।

क्या मैं लिंक के प्रकार से छान सकता हूँ?

हाँ। आप traversal को एक संबंध प्रकार तक सीमित कर सकते हैं।

क्या यह graph बदलती है?

नहीं। स्किल संबंध पढ़ती है और नई edges नहीं जोड़ती।

जानकारी

लेखक का मूल विवरण

Pathfinder traversal of the knowledge graph starting from a seed entity

repo: ruvnet/ruflo

लोकप्रियता

GitHub स्टार
81k
रैंकिंग में स्थान
#1640
लाइसेंस
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