Claude Code session
Claude Code Memory Setup
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.
Install
pip install claude-conversation-extractorFound in the project README. Check it for setup steps after installing.
git clone https://github.com/lucasrosati/claude-code-memory-setup.gitFrom the README
Claude Code + Obsidian + Graphify: The Definitive Guide to Token Savings & Persistent Memory Persistent memory across sessions with Obsidian Zettelkasten and selective code context with Graphify. Token savings depend on the task; the historical 71.5x/session and 499x/query claims are author-reported and not reproducible from published data. 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 Table of Contents 1. The Problem 2. The Solution (Overview) 3. Part 1 β Obsidian as Persistent Memory 4. Part 2 β Chat Import Pipeline 5. Part 3 β Graphify (Codebase Knowledge Graph) 6. Part 4 β Complete Workflow 7. Part 5 β Auto-Save Hook (Safety Net) 8. Real Results 9. 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. Repeated source exploration can consume context tokens, but how much depends on the task and navigation tools. The historical illustration compares ~20,000 tokens of source context with ~280 tokens of graph query output: approximately 71.4x less retrieval context, not a measured reduction in complete session usage. It assumes the smaller output answers the same question; the original payloads and tokenizer were not published. The Solution (Overview) Two complementary systems, each solving a different problem: Obsidian handles what was decided (declarative memory). Graphify handles how the code is structured (structural map). Together, they canβ¦
Details
- Repository
- lucasrosati/claude-code-memory-setup
- Language
- Python
- License
- MIT
- Last updated
- 21 October 2026
- Topics
- ai-toolsclaude-codecoding-agentdeveloper-productivitygraphifyknowledge-graphobsidiansecond-braintoken-optimizationzettelkasten
FAQ
What is Claude Code Memory Setup?
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. It is a session for Claude Code, from lucasrosati/claude-code-memory-setup on GitHub.
How do I install Claude Code Memory Setup?
Run pip install claude-conversation-extractor, then follow the setup in the README.
Is Claude Code Memory Setup popular?
lucasrosati/claude-code-memory-setup has 1,056 GitHub stars and 94 forks. It was last updated on 21 October 2026.
More sessions & history
Recall
763raiyanyahya/recall
Stop wasting tokens and re-explaining your project every session. Recall gives Claude Code , Opencode durable memory β entirely offline.
Claude Code session tracker
415KyleAMathews/claude-code-ui
Real-time session tracker UI for Claude Code built on Durable Streams.
claude-run
673nilbuild/claude-run
Web UI for browsing Claude Code conversation history.
session-kit
591dob323/session-kit
Lets you close terminals and jump back into any Claude Code or Codex session by number.
ccxray
295lis186/ccxray
Transparent HTTP proxy and dashboard for inspecting Claude Code sessions.
claude-history
532raine/claude-history
Fuzzy-search tool for Claude Code conversation history.
Browse the most popular Claude Code mods, all sessions & history, or the skills and MCP server directories.