@yanhua1010: https://x.com/yanhua1010/status/2068903967132991771
Summary
The author shares how to use the open-source framework EverOS to store Claude Code's conversation memories as local Markdown files and manage them in Obsidian, achieving cross-session memory persistence.
View Cached Full Text
Cached at: 06/22/26, 05:49 PM
Bringing Claude Code’s Memory into My Obsidian
I’ve been managing my knowledge base with Obsidian for three years. My entire second brain is just a bunch of .md files plus a git repo — searchable, editable, and I can always see when each entry was written.
This week I finally did something I’ve been wanting to do: make Claude Code’s memory into .md files I can open directly in Obsidian.
Every New Window, It’s a Stranger
After half a year of coding with AI, the most frustrating thing isn’t that it’s not smart enough — it’s that it doesn’t remember.
Every new session, I have to start from scratch: which project is this, what’s the tech stack, what did we decide last time, which path did I already tell you not to take. It’s capable every time, but each time it treats me like someone it’s never met.
My notes remember me. My agent doesn’t.
EverOS Stores Agent Memory as Local .md Files
Recently I came across EverOS 1.0.0 — an open-source agent memory framework from the @evermind team. What struck me most: memory doesn’t go into some black-box vector database. It lands as local Markdown files on your machine.
One command to install:
pip install everos
Fill in two keys (one for the LLM that extracts memory, one for the embedding that handles retrieval), then start:
everos server start
The service runs on 127.0.0.1, and data lives in ~/.everos on your machine.
The Official Integration Goes to the Cloud — So I Wired It Locally Myself
Here’s the catch: EverOS’s existing Claude Code integration goes through the cloud, sending conversations to their servers.
That’s not what I wanted. I wanted local, on-disk .md files.
So I used Claude Code’s hook system to wire it to my local service. The logic is lightweight:
When I submit a prompt, a hook fetches relevant memories from the local server and injects them into the context. After it responds, another hook writes that round back to the local store. About a hundred lines of code, all pointing at 127.0.0.1:8000, with not a single byte stored outside my machine.
After hooking it up, the terminal flashes “Round written to local memory” after every turn.
Opening ~/.everos — Memory Becomes a Readable .md Tree
The first thing that got me excited: I opened ~/.everos directly in Obsidian.
It extracts my conversation with Claude Code into a structured .md file: a YAML frontmatter at the top with owner_id set to me, followed by Subject, Summary, and Content — that’s the memory body.
I can grep it, git diff it, browse it just like my own notes.
What Really Got Me: It Remembered Across Windows
Looking pretty is just the first step. I wanted to know if it actually remembered across sessions.
I opened a brand-new window in an empty directory unrelated to any project, and simply asked, “What language did I ask you to reply in last time?”
Without scanning any file, it replied “Chinese,” and added, “Last time (June 20th) you explicitly told me to reply in Chinese, and I’ve been using Chinese ever since.” This information can’t be found in any code — it could only come from memory.
The next window hit harder.
I only said, “Help me think about what feature to add next to reddtrends,” with zero context. It replied in Chinese, and proactively added, “Don’t touch the already deprecated trends-pipeline.”
That pipeline was something I discussed with it in the previous session. I didn’t mention it at all this time.
At this point, it wasn’t just “remembering a fact” — the memory was guiding what to do next.
It even remembered the details I dug up last time…
I pushed further: “Last time you analyzed reddtrends, what did you find wrong with the test scripts in package.json?”
It didn’t read the code. It directly listed all 5 test scripts as dead references, named each one, pointed out they referenced a scripts/ directory that no longer exists in HEAD, and even remembered which commit deleted them.
Some credit goes to me — and some blame. Initially, my retrieval hook was too shallow, only injecting short summaries of each memory. The recall was sparse — it knew we’d discussed test scripts, but couldn’t recall the conclusion.
After I changed the hook to inject the full body of the memories, these details surfaced. You still have to build and tune it yourself; this kind of thing doesn’t run smoothly without a few iterations.
A Discovery That Made Me Trust It More
Not every query was this smooth. I once asked it a hard fact checkable in code: whether reddtrends’ scheduled tasks used Vercel Cron or GitHub Actions. It retrieved clues from memory, but still went back and re-read the code before answering.
At first I thought the memory wasn’t working. But after thinking about it, I realized this was exactly right: a strong enough agent should verify hard facts that can be checked in source code. Memory is just a fast prior, not the final truth it commits to.
That aligns with EverOS’s own design: Markdown is the source of truth; indexes and memories are derived from it.
So the really interesting thing about this setup isn’t that it helps the agent remember facts findable in code — it’s that it remembers things the code can’t tell it: my preferences, our decisions, the constraints I set.
What I Verified, and What I Didn’t
Let me be clear about the boundaries.
What I personally verified: memory is stored as locally readable .md files. I opened and read them in Obsidian. It remembers my preferences and decisions across sessions and projects. These are solid.
What I didn’t dig deep into: the official claims that deleting the index can be rebuilt from the .md tree, that you can manually edit .md files to update memory, and that the agent side can self-evolve skills from repetitive tasks. I trust the design, but I didn’t stress-test each claim this round, so I won’t vouch for them.
Also, don’t be fooled by the word “local”: data and indexes are indeed on your machine, but extracting memory requires calling an LLM, and retrieval requires computing embeddings — both involve network calls. “Local” means your memory assets are in your hands, not that everything runs completely offline.
TL;DR
Before, every new window was a first meeting. Now it picks up where we left off.
For someone who has put their entire second brain into Markdown, this means more than just convenience. It means my agent’s memory is a bunch of .md files on my hard drive that I can open — not a black box that evaporates when I delete my account.
If you’re building agents or LLM applications that need long-term memory, this repo is worth a Star, just to save it for later.
EverOS: https://github.com/EverMind-AI/EverOS
I’m Yanhua, continuously analyzing AI agent-related practical content. Follow me at → @yanhua1010
Similar Articles
@AYi_AInotes: https://x.com/AYi_AInotes/status/2069399806502453264
A beginner-friendly tutorial on how to set up persistent memory for an AI Agent in 30 minutes, using the open-source EverOS tool to store memory as editable Markdown files, without requiring Docker or vector database clusters.
@yunxi0623: https://x.com/yunxi0623/status/2068171252595147166
Introduces how to use Obsidian and Claude Code to build a local AI knowledge base, by creating folder structures, writing CLAUDE.md rule files, and step-by-step importing and organizing materials, to achieve long-term portable personal knowledge management.
@GitHub_Daily: I increasingly feel that the biggest issue with Claude Code or Codex is no longer its inability to write code. Rather, it can't remember the solutions we discussed in conversations, the pitfalls we encountered, or the project development progress. I stumbled upon an open-source Claude Code plugin from EverOS that gives AI…
This article introduces the open-source EverOS project, which provides long-term memory capabilities for AI coding assistants like Claude Code. It automatically saves conversation history and retrieves memories in new conversations. Additionally, it includes multiple application examples.
@LufzzLiz: https://x.com/LufzzLiz/status/2069769416930414980
Introducing an open-source one-click backup tool for backing up local memories from Codex and Claude Code. It reclaims memory assets from closed-source tools, storing them locally to create readable, searchable, and portable memory archives.
@elliotchen100: Our open-source library EverOS recently underwent a major refactoring, transforming the developer experience from "pulling" to "solidifying". Previously, when working with AI memory, we often had to troubleshoot across databases, vector stores, index sync, and dependency environments. Where is the memory stored? Why isn't it recalled? Is the index broken? Many times it was not straight…
The EverOS open-source library has completed a major refactoring, storing original memory directly as Markdown files, supplemented by SQLite for state management and LanceDB for retrieval, significantly improving developer readability, modifiability, and fault recovery.