Claude Memory Manager
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
Background
Claude Code keeps memory files per project (~/.claude/projects/ /memory/). Two things are missing:
- **No global memory.** Fix Claude's behavior in project A, and project B still doesn't know about it. Settings have global and per-project tiers; memory only has per-project.
- **No way to see or manage memories.** Files are scattered under ~/.claude/. You can't browse, edit, or clean them up without digging through directories by hand.
What this does
Adds global memory and a web UI for managing all of Claude's memories.
Global memories injected at session start
Web UI for browsing and editing memories
**Global memory:**
- Keeps cross-project memories in ~/.claude/memory/
- Injects them into context at session start via a SessionStart hook
- Includes a skill so Claude can read and write global memories during conversations
**Web UI** (default localhost:5050, picks another port if taken):
- Three-panel layout: folders, memory list, preview/edit
- Drag-and-drop between containers, bulk move/delete
- Export as .zip, import on another machine
Install
In Claude Code, run /plugin → **Marketplaces** → **+ Add Marketplace**, enter:
Then go to **Discover** and install claude-memory-manager.
Architecture
Runtime data (not in the repo):
TODO
- [ ] Timestamped knowledge files that naturally age and can be periodically pruned (ref: yurukusa's comment)
- [ ] Manage Claude Code settings.json in the web UI
See also
- thedotmack/claude-mem — Persistent memory for Claude Code. Automatically preserves context across sessions with semantic search, vector database, and web UI