From ai-eng-research
Performs relationship-aware retrieval using graph traversal, entity anchors, and hybrid vector+graph search. Use when chunk similarity alone misses entity paths or subsystem context.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ai-eng-research:graph-ragThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use graph-native retrieval when the answer depends on relationships, not just similar text. Graph RAG works well for entity-heavy systems, architecture questions, causal chains, and multi-hop queries that plain vector retrieval often misses.
Use graph-native retrieval when the answer depends on relationships, not just similar text. Graph RAG works well for entity-heavy systems, architecture questions, causal chains, and multi-hop queries that plain vector retrieval often misses.
Resolve the question to known entities first, then retrieve around them.
Expand one or two hops across relevant relations only.
Find the path between two anchors when the question is about connection or causality.
Pull the subsystem or cluster around the anchor when local context matters more than one edge.
Use vector search to find candidate anchors, then use the graph to expand and explain.
Graph RAG is a fit when the question is one of these:
If the question is simple lookup, plain retrieval may be enough.
Identify entities, files, symbols, tables, or services named in the question.
If anchor resolution is fuzzy:
Expand only across relations that matter to the question:
Bound the retrieval:
Assemble context as structured evidence, not a raw graph dump:
## Anchors
- AuthController
- SessionToken
## Relevant Path
AuthController -> AuthService -> TokenStore -> sessions table
## Supporting Evidence
- src/auth/controller.ts:42
- src/auth/service.ts:88
- src/data/token-store.ts:21
- docs/decisions/2026-01-15-auth.md:12
The answer should explain:
| Question Shape | Retrieval Strategy |
|---|---|
| direct lookup | vector or keyword only |
| entity + neighbors | anchor + neighborhood expansion |
| how A connects to B | anchor + path retrieval |
| subsystem overview | anchor + community retrieval |
| fuzzy question with named concepts | hybrid vector + graph |
| Rationalization | Reality |
|---|---|
| "Vector search already found the files" | File relevance is not the same as relationship explanation. |
| "Dump the whole graph into the prompt" | Large raw graphs waste context and hide the important path. |
| "More hops is better" | Unbounded traversal quickly turns into noise. |
| Excuse | Counter |
|---|---|
| "Vector search already found the files" | File relevance is not the same as relationship explanation. |
| "Dump the whole graph into the prompt" | Large raw graphs waste context and hide the important path. |
| "More hops is better" | Unbounded traversal quickly turns into noise. Bound the expansion. |
| "Graph RAG is overkill for this question" | If the question involves connections, graph retrieval is the right tool. |
| "I'll skip anchor resolution and just expand" | Without anchors, expansion is random. Resolve anchors first for targeted retrieval. |
npx claudepluginhub p/v1truv1us-ai-eng-research-plugins-ai-eng-researchCreates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.
2plugins reuse this skill
First indexed Jul 8, 2026