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 पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
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
- Seed -- call
mcp__plugin_ruflo-core_ruflo__agentdb_hierarchical-recallto 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 exampleentity:router-account. - Expand -- call
mcp__plugin_ruflo-core_ruflo__agentdb_graph-querywith{ nodeId: "entity:NAME", mode: "k-hop", depth: N }(default depth 3, the SQL path applies at most 3 and reportsappliedDepthandtruncated; addrelationto filter by relation type).agentdb_causal-edgeonly records an edge, never use it to read one. - Score and rank -- call
mcp__plugin_ruflo-core_ruflo__agentdb_graph-pathfinderwith{ 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 withmcp__plugin_ruflo-core_ruflo__agentdb_pattern-searchon entity names and relation types (thesemanticRoutercontroller isenabled: falsein current AgentDB builds; see ruvnet/ruflo#2049). - Synthesize -- write the summary yourself from the returned paths. Do not call
agentdb_context-synthesize: it summarizes validated task episodes and answersno-eligible-episodesfor entity records written bykg-extract. - 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
कमेंट
- …
इस 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 आउटपुट के साथ।