@GitHub_Daily: Claude Brain 用一个文件给 Claude Code 加上持久记忆,做过的决定、改过的 Bug、定下的方案,自动存着。 不用数据库也不用云服务,就一个文件,能 git 提交也能发给队友。 GitHub:http://github…
摘要
Claude Brain 是一个开源工具,用一个文件为 Claude Code 添加持久记忆,自动记录决策、Bug 和方案,支持本地搜索,无需数据库或云服务。
查看缓存全文
缓存时间: 2026/08/14 15:35
Claude Brain 用一个文件给 Claude Code 加上持久记忆,做过的决定、改过的 Bug、定下的方案,自动存着。
不用数据库也不用云服务,就一个文件,能 git 提交也能发给队友。
GitHub:http://github.com/memvid/claude-brain…
搜索走 Rust 原生引擎,万条记忆毫秒级响应。
长期用 Claude Code 写项目的朋友,加个记忆还挺实用。
memvid/claude-brain
Source: https://github.com/memvid/claude-brain
Give Claude Code photographic memory.
https://github.com/user-attachments/assets/b57cb3db-576b-4c1f-af92-95796ba3fb5b
The Problem
You: "Remember that auth bug we fixed?"
Claude: "I don't have memory of previous conversations."
You: "We spent 3 hours on it yesterday"
Claude: "I'd be happy to help debug from scratch!"
200K context window. Zero memory between sessions.
You’re paying for a goldfish with a PhD.
The Fix
You: "What did we decide about auth?"
Claude: "We chose JWT over sessions for your microservices.
The refresh token issue - here's exactly what we fixed..."
One file. Claude remembers everything.
Installation
# One-time setup (if you haven't used GitHub plugins before)
git config --global url."https://github.com/".insteadOf "[email protected]:"
# In Claude Code
/plugin add marketplace memvid/claude-brain
Then: /plugins → Installed → mind Enable Plugin → Restart.
Done.
How it Works
After install, Claude’s memory lives in one file:
your-project/
└── .claude/
└── mind.mv2 # Claude's brain. That's it.
No database. No cloud. No API keys.
What gets captured:
- Session context, decisions, bugs, solutions
- Auto-injected at session start
- Searchable anytime
Why one file?
git commit→ version control Claude’s brainscp→ transfer anywhere- Send to teammate → instant onboarding
Commands
In Claude Code:
/mind stats # memory statistics
/mind search "authentication" # find past context
/mind ask "why did we choose X?" # ask your memory
/mind recent # what happened lately
Or just ask naturally: “mind stats”, “search my memory for auth bugs”, etc.
CLI (Optional)
For power users who want direct access to their memory file:
npm install -g memvid-cli
memvid stats .claude/mind.mv2 # view memory stats
memvid find .claude/mind.mv2 "auth" # search memories
memvid ask .claude/mind.mv2 "why JWT?" # ask questions
memvid timeline .claude/mind.mv2 # view timeline
FAQ
How big is the file?
Empty: ~70KB. Grows ~1KB per memory. A year of use stays under 5MB.
Is it private?
100% local. Nothing leaves your machine. Ever.
How fast?
Sub-millisecond. Native Rust core. Searches 10K+ memories in <1ms.
Reset memory?
rm .claude/mind.mv2
Built on memvid - the single-file memory engine
If this saved you time, star the repo
Send me your .mv2 file and I’ll tell you what’s wrong with your code. No context needed - I already know everything.
相似文章
@GitHub_Daily: 用 Claude Code 开发项目,代码库一大,每次探索代码结构都要扫一堆文件,工具调用多、速度慢,token 也跟着烧。 于是找到 CodeGraph 这个开源工具,给代码库预建一张语义知识图谱,让 Claude Code 直接查图而…
CodeGraph 是一个开源工具,为代码库预建语义知识图谱,让 Claude Code 直接查图而不是逐文件扫描,从而大幅减少工具调用次数(减少 92%)并提升探索速度(提升 71%),支持 19 种编程语言和 13 个框架。
@GitHub_Daily: 现在越来越觉得,Claude Code 或 Codex 最大的问题,已经不是写不出代码。 而是它记不住,我们对话中聊过的方案、踩过的坑,以及项目开发进度等等信息。 偶然发现 EverOS 开源了一个 Claude Code 插件,给 AI…
该文章介绍了开源的EverOS项目,它为Claude Code等AI编码助手提供长期记忆能力,自动保存对话历史并在新对话中检索记忆,此外还包含多个应用案例。
@billtheinvestor: 给 Claude Code 和 Codex 无限记忆,编程效率提升92%!Agentmemory 工具已在 GitHub 上火速获得4000+个星标,完全免费。 它通过智能压缩保存你编程会话的所有信息,未来会话中自动提取相关上下文,避免重…
Agentmemory 是一个开源工具,为 Claude Code 和 Codex 提供无限记忆功能,通过智能压缩减少 token 使用量,提升编程效率,已在 GitHub 获得 4000+ 星标。
@queen_nunaa: 有人已经在 GitHub 上弄了个仓库,能让你免费、永久地用上 Claude Code。 做法就是把 Claude Code 的请求转发到 10 个免费的服务商,比如 DeepSeek、Kimi 这些。 整个配置过程也就五分钟左右,现在已…
有人在GitHub上创建了一个仓库,通过将Claude Code的请求转发到DeepSeek、Kimi等10个免费服务商,让用户免费且永久地使用Claude Code,配置只需五分钟,已有超过两万开发者使用。
@axichuhai: 发现一个能让 Claude 变得更好用的开源神器 只有一个65行的 Markdown 文件,GitHub 上已经冲到了 13万+ Star 灵感来自 Karpathy 说模型喜欢在不确定的时候瞎猜、把代码写得过度复杂、还会悄悄改掉不该碰的…
一个仅65行的开源Markdown文件,为Claude总结了4条编程铁律,帮助提升代码质量和节省token,GitHub上已获13万+ Star,灵感来自Karpathy。