How to Actually Save Tokens in Claude Code: Graphify and Obsidian
Free tools will not replace Claude Code, but Graphify cuts down on project reading: the agent queries a knowledge graph instead of files. Here is how to set it up, and where it will not save you anything.
Tokens in Claude Code go toward everything: reading files, reasoning, writing code, calling tools. No "free" tool will replace Claude Code itself. But one cost item — searching and reading code — can be cut down quite a bit.
What does Graphify do?
Graphify turns a project — code, documentation, SQL schemas, configs, and PDFs — into a knowledge graph. Instead of searching through files, the agent asks the graph a question. The code is parsed locally with tree-sitter, with no language model involved, and nothing leaves your computer. Every connection is labeled: read straight from the source (EXTRACTED) or inferred (INFERRED).
How do you set up Graphify?
Steps
- 1Install it: uv tool install graphifyy (or pipx install graphifyy).
- 2Register the skill with your assistant: graphify install.
- 3In Claude Code, type /graphify . — this creates a graphify-out folder with graph.html, GRAPH_REPORT.md, and graph.json.
- 4From there, query the graph: graphify query "question", graphify explain "concept", graphify path "A" "B".
So why Obsidian, then?
Obsidian is a knowledge base: notes, documentation, and decisions about the project, with the connections between them visible on a graph. It is memory, for you and for the agent, of what was decided and why. It does not read code, and it does not replace Claude Code.
The graph helps when you are searching for the right spot in the code. If a task already points to a single file, there is almost no gain: the tokens still go toward analyzing and writing the code.
Repository: https://github.com/Graphify-Labs/graphify
Source: github.com
Free course
Stop reading about AI — start building with it
The free Claude Code course: your first site, tool or game — no coding. No upsells, no cross-sells — nothing to buy here.
Start free →▌ Related guides

Author
Evgenii Arsentev
PhD · Founder & CEO, Dad4Kids
Articles · Latest articles