Back to skills
SKILL.md
Graph Retrieval
ASecurityExposes 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.
- 1,327 stars
- 0 votes
- 0 copies
- 3 views
- Added September 5, 2026
Security analysis
100/100Pro scans all 3 files and shows the line behind each finding
npx -y skills add study8677/repobrain --skill graph-retrieval --agent claude-codeAre you the author of Graph Retrieval?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/study8677-graph-retrieval-repobrain)---
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.
Files in this skill
- SKILL.md
- __init__.py
- tools.py
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.