
Memory Bank
This is the solution to Claude forgetting everything between sessions and burning thousands of tokens on context re-explanations. It's a three-layer memory system (global, project, branch-aware) that compresses session state into under 2,000 tokens, verified to save 67% on warm-up cost. When you start a session, it auto-loads, diffs against your git history, flags stale references, and greets you with exactly where you left off. Mid-session it updates on "remember this" or milestones. On wrap-up it compresses completed work and archives what's done. The practical win is sessions that last 3-5x longer because you're not re-explaining the same architecture decisions every time. Activates automatically if MEMORY.md exists, or on any variation of "pick up where we left off."
- skills.sh installs
- 234
- GitHub stars
- 47
- last updated
- Jun 3, 2026
Install
$ npx -y skills add nagendhra-web/memory-bank --skill memory-bank --agent claude-codeInstalls into .claude/skills of the current project.
Files
Memory Bank
An adaptive memory system that gives Claude Code persistent, intelligent context across sessions — while cutting token waste so your sessions last 3-5x longer. Not a flat file — a layered architecture that compresses, branches, diffs, self-heals, and loads only what matters.
Core Architecture
Memory Bank operates on three layers:
┌─────────────────────────────────────────────┐
│ Layer 2: GLOBAL MEMORY │
│ ~/.claude/GLOBAL-MEMORY.md │
│ Cross-project patterns, user preferences, │
│ reusable decisions. Permanent. │
├─────────────────────────────────────────────┤
│ Layer 1: PROJECT MEMORY │
│ ./MEMORY.md (+ branch overlays) │
│ Architecture, decisions, active work. │
│ Lives as long as the project. │
├─────────────────────────────────────────────┤
│ Layer 0: SESSION CONTEXT │
│ In-conversation only. │
│ Current task focus, scratch notes. │
│ Dies when session ends (persisted to L1). │
└─────────────────────────────────────────────┘
Sponsors
Details
- Repository
- github.com/nagendhra-web/memory-bank
- First seen
- Jun 3, 2026