Skip to content
Development
Skill

/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.

From plugin
repobrain
1.4k4 skills4 commands1 hook

Claude Code

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

SKILL.md

graph-retrieval.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

{
  "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.
@study8677
Ships withrepobrain

Cross-IDE repository knowledge engine for grounded codebase Q&A. Formerly known as Antigravity Workspace Template — same project, new name.

Stars on GitHub

Momentum

stars in total
1.4k
Star history of study8677/repobrain on GitHub, a chart by star-history.com

Other skills on repobrain.

agent-repo-init

agent-repo-init

One-click initialization of a multi-agent repository from the RepoBrain template. Use this skill when users want to scaffold a…

@study8677@study8677Install Skill
knowledge-layer

knowledge-layer

High-level deployment wrapper over RepoBrain core with graph-first knowledge injection and all-file support. Exposes…

@study8677@study8677Install Skill
research

research

Performs deep research on a topic via `deep_research`. Simulates a multi-step research process and returns a comprehensive…

@study8677@study8677Install Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc13d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2d252k
@facebook@facebookInstall Skill

Questions about graph-retrieval.

Which coding agents can use graph-retrieval?
graph-retrieval installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.