memvid/claude-brain
Give Claude Code photographic memory in ONE portable file. No database, no SQLite, no ChromaDB - just a single .mv2 file you can git commit, scp, or share. Native Rust core with sub-ms operations.
Deep Analysis
为Claude Code提供本地持久化内存能力,通过单个.mv2文件实现无数据库、无API密钥的长期记忆存储
Core Features
单文件内存存储
将记忆存储在一个.mv2文件中,可git提交和分享
自动上下文注入
每个会话开始时自动注入历史记忆
内存搜索功能
支持搜索过去的上下文、决策和解决方案
超高性能
Rust核心驱动,子毫秒级操作速度
Technical Implementation
通过/plugin add命令安装
首次运行时创建mind.mv2文件
自动捕获会话上下文和技术决策
支持/mind命令或自然语言查询
- 完全本地化,零外部依赖
- 单文件设计可直接git管理
- Rust原生实现,10000+条记忆毫秒级搜索
- 30秒快速安装
- 多轮对话保持上下文
- 技术决策记忆回顾
- bug修复历史追踪
- 团队知识转移
- 需要Claude Code环境
- 仅限单项目本地使用
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 "git@github.com:"
# 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.
Related Skills
wshobson/agents
wshobsonIntelligent automation and multi-agent orchestration for Claude Code
The most comprehensive Claude Code plugin ecosystem, covering full-stack development scenarios with a three-tier model strategy balancing performance and cost.
ComposioHQ/awesome-claude-skills
ComposioHQA curated list of awesome Claude Skills, resources, and tools for customizing Claude AI workflows
The most comprehensive Claude Skills resource list; connect-apps is a killer feature.
code-yeongyu/oh-my-opencode
code-yeongyuThe Best Agent Harness. Meet Sisyphus: The Batteries-Included Agent that codes like you.
Powerful multi-agent coding tool, but note OAuth limitations.
nextlevelbuilder/ui-ux-pro-max-skill
nextlevelbuilderAn AI SKILL that provide design intelligence for building professional UI/UX multiple platforms
Essential for designers; comprehensive UI/UX knowledge base.
thedotmack/claude-mem
thedotmackA Claude Code plugin that automatically captures everything Claude does during your coding sessions, compresses it with AI (using Claude's agent-sdk), and injects relevant context back into future sessions.
A practical solution for Claude's memory issues.
OthmanAdi/planning-with-files
OthmanAdiClaude Code skill implementing Manus-style persistent markdown planning — the workflow pattern behind the $2B acquisition.
Context engineering best practices; an open-source implementation of Manus mode.

