Skip to content
Back to skills

Graph Retrieval

ASecurity

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.

  • 1,363 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 5, 2026
ai-agentsnode

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add study8677/repobrain --skill graph-retrieval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Graph Retrieval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Graph Retrieval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/study8677-graph-retrieval-repobrain/badge)](https://www.skillsdirectory.com/skills/study8677-graph-retrieval-repobrain)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
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.

Files in this skill

  • SKILL.md1018 B
  • __init__.py37 B
  • tools.py9.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.