| version-requirements | version-last-verified | measurement-claims | status | last-verified | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
2026-02-27 |
|
PRODUCTION |
2026-02-16 |
Source: Nate B. Jones Memory Prompts methodology + production validation Evidence Tier: B (Production validated)
AI assistants have no persistent memory between sessions. Each conversation starts from zero. Users waste time re-establishing context.
Solution: Structured memory architecture with lifecycle-based information management.
What it includes:
- Work style and preferences
- Quality standards
- Communication tone
- Recurring constraints
Storage: ~/.claude/profile-and-preferences.md (global) or project CLAUDE.md
Update frequency: Rarely (set once, minor tweaks)
Retrieval: Always loaded (SessionStart hook or CLAUDE.md)
Example content:
## Work Style
- Intellectual honesty over marketing claims
- Evidence-based assertions with citations
- Conversational authority (use "I" not passive voice)
## Quality Standards
- Claims require evidence tier classification (A/B/C)
- No false certainty ("may" not "definitely")
- Surface contradictions, don't hide themWhat it includes:
- Work playbooks and methodologies
- Reference library (domain knowledge)
- Decision history
- Terminology definitions
Storage: Project knowledge base, skills, reference files Update frequency: Monthly or as domain evolves Retrieval: On-demand (load when relevant)
Example locations:
.claude/skills/- Work playbooksdocs/concepts/- Domain knowledgeDECISIONS.md- Decision history
What it includes:
- Project requirements
- Current phase and status
- Active priorities
- Stakeholder context
Storage: Project-specific CLAUDE.md and PLAN.md Update frequency: Weekly during active development Retrieval: Auto-loaded when in project directory
Example content in CLAUDE.md:
## Current Phase
Week 3 - Expert validation
## Active Priorities
1. Complete interviews with Jake, Lisa, Paul
2. Draft blog posts 1-2
3. Finalize partnership proposalWhat it includes:
- Temporary working context
- In-progress decisions
- Exploratory analysis
Storage: Conversation memory (not persisted) Update frequency: Per conversation Retrieval: Native to Claude (no action needed)
Note: Archive valuable session insights to EVERGREEN storage before session ends. See Session Learning for systematic capture of corrections and preferences.
| Information Type | Lifecycle | Location | Retrieval |
|---|---|---|---|
| Profile & Preferences | PERMANENT | ~/.claude/ or CLAUDE.md |
Always |
| Work Playbooks | EVERGREEN | .claude/skills/ |
On skill activation |
| Reference Library | EVERGREEN | docs/ or knowledge base |
On-demand |
| Decision History | EVERGREEN | DECISIONS.md or tracker | On-demand |
| Project Context | PROJECT | CLAUDE.md, PLAN.md | Always (in project) |
| Session State | SESSION | Conversation memory | Automatic |
When: Session starts, skill activates What: Profile, project context, relevant skills
Implementation:
- SessionStart hook loads project context
- Skills auto-activate based on trigger conditions
- CLAUDE.md always available
When: User asks, task requires What: Reference library, decision history, detailed workflows
Implementation:
- User asks about past decision → Load DECISIONS.md
- User needs domain knowledge → Reference skill workflows
- User makes claim → Check contradiction database
When: Claude detects relevant context What: Contradictions, related decisions, applicable standards
Implementation:
- Skills surface relevant information
- UserPromptSubmit hook hints at skill activation
- Contradiction-detector activates on absolute claims
- Create
~/.claude/profile-and-preferences.md - Document work style and quality standards
- Reference from project CLAUDE.md files
- Create CLAUDE.md for each project
- Include current phase and priorities
- Set up SessionStart hook to load context
- Organize reference library (concepts, specs, terminology)
- Create skills for work playbooks
- Establish decision tracking (DECISIONS.md or tracker)
- Implement SessionStart hook
- Configure skill triggers
- Set up Stop hook for archival reminders
For information where errors cause real problems:
Requirements:
- Original source links for verification
- Version history (git commits)
- Evidence tier classification (A/B/C/D)
- Cross-reference contradictions (prevent confirmation bias)
Examples:
- Expert quotes → Include source and date
- Technical specs → Link to official documentation
- Vendor claims → Classify as Tier C/D until validated
~/.claude/
├── profile-and-preferences.md # PERMANENT (global)
└── skills/ # EVERGREEN (universal skills)
├── systematic-debugger/
└── tdd-enforcer/
project/
├── .claude/
│ ├── CLAUDE.md # PROJECT (context)
│ ├── settings.json # Hooks configuration
│ ├── hooks/
│ │ └── session-start.sh # Loads context
│ └── skills/ # EVERGREEN (project skills)
├── ARCHITECTURE.md # PROJECT (strategic)
├── PLAN.md # PROJECT (tactical)
├── DECISIONS.md # EVERGREEN (history)
└── docs/
└── concepts/ # EVERGREEN (reference)
- Problem: Bloated context, token waste
- Solution: Use progressive disclosure, reference external files
- Problem: Re-explain context every session
- Solution: Implement SessionStart hook, maintain CLAUDE.md
- Problem: Insights lost when conversation ends
- Solution: Archive decisions to EVERGREEN storage
For teams seeking automated memory management, claude-mem provides a production-ready implementation of the memory architecture concepts documented here.
| Feature | Implementation | Benefit |
|---|---|---|
| 5 Lifecycle Hooks | SessionStart → UserPromptSubmit → PostToolUse → Summary → SessionEnd | Complete conversation capture |
| AI Compression | Automatic summarization with ~10x token savings | Efficient long-term storage |
| Vector Search | Chroma-based semantic retrieval | Find relevant past context |
| Privacy Controls | <private> tags exclude content from storage |
Protect sensitive information |
| Web Viewer | localhost:37777 dashboard | Browse and search past sessions |
| Memory Lifecycle | claude-mem Implementation |
|---|---|
| PERMANENT | Profile stored in vector database |
| EVERGREEN | Skills and reference content indexed |
| PROJECT | Project context auto-captured per session |
| SESSION | Real-time conversation logging with compression |
Good fit:
- Teams with many Claude Code sessions to track
- Projects requiring historical context lookup
- Need for automatic conversation archiving
- Privacy requirements (selective capture with
<private>)
Overkill:
- Single-user, single-project workflows
- Projects with simple, self-contained tasks
- When manual CLAUDE.md maintenance is sufficient
# Install via npm
npm install -g claude-mem
# Initialize in project
claude-mem init
# Start web viewer
claude-mem serveFor full documentation, see claude-mem GitHub.
- Context Engineering - Deterministic vs probabilistic context
- Progressive Disclosure - Token-efficient skill loading
- Documentation Maintenance - Keeping memory current
- Long-Running Agent - External artifacts for context bridging
- Session Learning - Cross-session preference capture from corrections
Last updated: January 2026