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.

Source facts

Repository
study8677/repobrain
Last source activity
August 26, 2026 at 07:44
Detected SKILL.md language
English
Stars
1,356
Forks
265

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

File Explorer
3 files

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
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.
View on GitHub