Skip to main content

graph-retrieval

Exposes graph-based retrieval as a tool capability via `query_graph`. Reads normalized graph store files, builds a query-relevant subgraph, and returns LLM-friendly semantic triples with replayable evidence metadata.

معلومات المصدر

المستودع
study8677/repobrain
آخر نشاط في المصدر
٢٦ أغسطس ٢٠٢٦ في ٠٧:٤٤
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
١٬٣٢٧
التفرعات
٢٦٧

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.

مستكشف الملفات
3 ملفات

عرض SKILL.md

SKILL.md
تعليمات المصدر · معاينة للقراءة فقط
name
graph-retrieval
description
Exposes graph-based retrieval as a tool capability via `query_graph`. Reads normalized graph store files, builds a query-relevant subgraph, and returns LLM-friendly semantic triples with replayable evidence metadata.
# Graph Retrieval Skill ## Purpose Expose graph-based retrieval as a tool capability without breaking the existing RepoBrain execution chain. ## Tool - `query_graph(query, max_hops=2, workspace='.')` ## Behavior - Reads normalized graph store files under `.repobrain/graph/`. - Builds a query-relevant subgraph. - Returns LLM-friendly semantic triples plus replayable evidence metadata. ## Output Contract ```json { "summary": "...", "triples": [["subject", "predicate", "object"]], "evidence": [{"retrieval_id": "...", "tool_name": "..."}], "nodes": [...], "edges": [...] } ``` ## Design Notes - Keeps tool-driven and replayable architecture. - Does not bypass pipeline. - Intended for structure/dependency questions and context enrichment.
عرض على GitHub