Giverny

Citation Graph Ingest

Build a TYPED citation/reference graph over an ingested corpus — not just embeddings. Flat similarity retrieval cannot tell you that document A *overrules* B, *distinguishes* C…

by Garry Tan★ 33,756Research & science

What Citation Graph Ingest does

Build a TYPED citation/reference graph over an ingested corpus — not just embeddings. Flat similarity retrieval cannot tell you that document A *overrules* B, *distinguishes* C, or *relies_on* D. This skill extracts every inter-document reference, classifies the edge TYPE with LLM judgment, and writes first-class typed edges via `gbrain link`, so `gbrain graph-query --type` can walk the argument ("everything this brief relies on, minus anything overruled since"). Every cite-heavy corpus is the same shape: law, academic papers, patents, regulatory filings, a book's bibliography.

How to install Citation Graph Ingest in Claude Code

Giverny gives you a ready prompt with the exact install command from garrytan/gbrain. Sign in with GitHub, copy the prompt and paste it into Claude Code; Claude installs the skill and confirms it loaded. To install by hand, clone garrytan/gbrain and copy the skills/citation-graph-ingest folder into ~/.claude/skills/.

How to use it

Once installed, Claude loads Citation Graph Ingest on its own whenever your request matches what the skill does. You can also ask for it by name, for example: “Use the citation-graph-ingest skill on my current project.”

More Claude skills for research & science