Skip to content

Feature Request: Persistent Memory Between Claude Code Sessions #14227

Description

@sudoxreboot

Problem

Claude Code starts every session with zero context. There is no memory of previous sessions, previous work, or accumulated understanding of the user's projects and preferences.

Current Behavior

  • Each claude invocation starts completely fresh
  • No awareness of yesterday's work
  • No memory of decisions made in previous sessions
  • User must re-explain context every time
  • CLAUDE.md helps but is manual and limited

Contrast with claude.ai

The claude.ai web interface maintains:

  • User memories (preferences, context, personal info)
  • Conversation history
  • Project knowledge accumulated over time
  • Understanding built through repeated interaction

Claude Code has none of this. It's a goldfish.

Impact

  • Repeated context setup wastes time
  • Nuanced understanding from past sessions is lost
  • Can't build on previous work naturally
  • The relationship doesn't compound over time
  • Users maintaining CLAUDE.md manually is tedious and incomplete

Proposed Solutions

1. Local Persistent Memory

  • Claude Code maintains its own memory store between sessions
  • Learned preferences, project context, conventions
  • Stored locally in ~/.config/claude-code/memory/
  • User can view/edit/clear

2. Session Continuity

  • Option to continue a previous Claude Code session
  • claude --continue or claude --session <id>
  • Resume where you left off

3. Sync with claude.ai Memory (see related issue)

  • Pull from the same memory system as claude.ai
  • One Claude, one memory, multiple interfaces

Why This Matters

The value of an AI assistant compounds over time. Every session that starts from zero wastes that compounding. Users paying for Claude expect continuity across the product, not amnesia in the CLI.


Alternatively, if these fixes are not feasible in the short term, update your ToS to allow subscribers to access their own sessions programmatically. This would let users build tools that work while these issues are addressed. Paying $200/mo for a product we can't reliably use, with no workaround permitted, is not acceptable.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions