Anthropic's Claude Cookbook dropped a 7-step graph engineering blueprint for turning forgotten files…
Mojunel.eth
Visit on X@mojunel24K followers
17,618 views
Anthropic's Claude Cookbook dropped a 7-step graph engineering blueprint for turning forgotten files into a second brain Claude can query.
research notes. project docs. meeting transcripts. decisions buried in folders you never open.
the information is already there. the useful connections are still scattered across files.
this workflow wires them together:
documents → entities → relationships → graph → retrieval → sourced answer
the 7 moves in this guide:
step 1 → pull the facts
extract people, projects, tools and events from your documents. tag every relationship with source IDs and evidence so you can trace it back.
step 2 → resolve identities
"Sensor-X" and "Sensor X" could be the same thing. merge confirmed matches, flag uncertain ones, keep distinct entities apart.
step 3 → wire the graph
preserve who did what, to whom, and where the proof lives. follow relationships across files instead of stitching it all by hand.
step 4 → assemble entity profiles
pick a project, person or tool. gather its excerpts and surrounding facts into a grounded profile. keep conflicting evidence visible.
step 5 → retrieve linked evidence
trace an affected component to an incident, then to its reviewer. combine supporting facts from separate documents and cite every source.
step 6 → catch the errors
drop the prompt into Claude Code alongside your documents and a goal. start with a single folder, check the extracted facts, then grow.
step 7 → scale: caching, batches, incremental updates
if you are building a retrieval stack or an AI second brain, keep this beside your next build. put the files you already have to work.
8 Comments
Comments from the original post on X (Twitter)

@Damir_Akaza
starting with one folder in step 6 is the right call, otherwise the source ids turn into chaos immediately

@0xShoopy
the source tracking is the part that makes this actually useful, a second brain is only as good as its receipts

@prodsystems_
The best advice is to start with a single folder

@0xmigox
step 2 is where most graphs die

@Yumzlef
Entity resolution in step two is always the hardest part of building these graphs.

@holy_simplicity
finally a use for meeting transcripts nobody ever read twice

@Riotskyyy
that's what i was looking for

@RocketmanSh
does that hold up on real messy project files, or only clean demos?
