Top AI Repos β open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Up to 71.5x fewer tokens per session on Claude Code with Obsidian + Graphify. Persistent memory, codebase knowledge graphs, and chat import pipeline. π§π· PT-BR included.
| Date | Stars |
|---|---|
| 2026-07-31 | 902 |
| 2026-08-06 | 918 |
Today
+16 stars today
This week
β stars this week
This month
β stars this month
Momentum
49.0
growth rate 0.00%/day
# Claude Code + Obsidian + Graphify: The Definitive Guide to Token Savings & Persistent Memory
> **71.5x fewer tokens per session** with Graphify + **permanent memory across sessions** with Obsidian Zettelkasten.
A complete setup to turn Claude Code into an agent with long-term memory and full codebase awareness β without wasting tokens re-reading files.
π§π· [Leia em PortuguΓͺs](./README.pt-BR.md)
---
## Table of Contents
1. [The Problem](#the-problem)
2. [The Solution (Overview)](#the-solution-overview)
3. [Part 1 β Obsidian as Persistent Memory](#part-1--obsidian-as-persistent-memory)
4. [Part 2 β Chat Import Pipeline](#part-2--chat-import-pipeline)
5. [Part 3 β Graphify (Codebase Knowledge Graph)](#part-3--graphify-codebase-knowledge-graph)
6. [Part 4 β Complete Workflow](#part-4--complete-workflow)
7. [Real Results](#real-results)
8. [Troubleshooting](#troubleshooting)
---
## The Problem
When working with Claude Code, two problems silently eat your tokens:
**Problem 1 β Amnesia between sessions.** Every time you open a new session, you have to re-explain your project: stack, past decisions, current bugs, what's left to do. Claude Code remembers nothing from the previous session.
**Problem 2 β Codebase re-reading.** Claude Code re-reads all your project files every session to understand the structure. A project with ~40 files burns ~20,000 tokens just for Claude to orient itself β before you even ask a question. If you run 10 sessions a day, that's **200,000 wasted tokens**.
---
## The Solution (Overview)
Two complementary systems, each solving a different problem:
| Layer | Tool | Problem Solved | Cost |
|-------|------|---------------|------|
| Project memory | Obsidian Zettelkasten | Amnesia between sessions | Free |
| Code map | Graphify | Codebase re-reading | Free (AST mode) |
| Conversation history | Import pipeline | Lost chat insights | Free |
| Continuity | `/resume` and `/save` commands | Picking up where you left off | Free |
Obsidian handles **what was decided** (declarative memory). Graphify handles **how the code is structured** (structural map). Together, Claude Code starts every session knowing everything β without re-reading anything.
---
## Part 1 β Obsidian as Persistent Memory
### Concept
A single, centralized Obsidian vault acts as Claude Code's "second brain." It stores decisions, context, progress, and knowledge for all your projects. Notes follow the Zettelkasten method: atomic (one idea per note), densely interlinked, with standardized metadata.
Claude Code accesses the vault through `CLAUDE.md` and custom skills.
### Recommended Structure
```
~/vault/ # SINGLE vault for all projects
βββ CLAUDE.md # global instructions for Claude Code
βββ permanent/ # consolidated atomic notes
βββ inbox/ # raw capture (ideas, drafts)
βββ fleeting/ # quick temporary notes
βββ templates/ # note templates
βββ logs/ # global session logs
βββ references/ # reference material
βββ my-project/ # MOCs and notes for project X
β βββ architecture/ # architecture, decisions, conventions
β βββ pipeline/ # data flows, APIs
β βββ data/ # schema, data model
β βββ features/ # planned/implemented features
β βββ logs/ # project session logs
βββ another-project/ # MOCs and notes for project Y
β βββ ...
βββ chats/ # imported Claude chats
β βββ code/ # from Claude Code
β βββ web/ # from Claude Web/App
βββ graphify/ # codebase knowledge graphs
βββ my-project/ # graph notes for project X
βββ another-project/ # Excerpt of 22,243 characters
Read on GitHub6
2
1
Would you bet a product on this? Bounded 0β100 and slow moving.
matched fp:82ab8edcf559b491, topic:knowledge-graph