Skip to content

Memory & Context

  • Type: boolean
  • Default: unspecified
  • Description: Toggle auto-memory extraction. When enabled, Claude automatically extracts and stores important context from sessions for future reference.
  • Example:
    {
    "autoMemoryEnabled": true
    }
  • Type: boolean
  • Default: unspecified
  • Description: Background consolidation of auto-memory. When enabled, Claude periodically consolidates accumulated memory entries in the background.
  • Example:
    {
    "autoDreamEnabled": true
    }
  • Type: number
  • Default: 30
  • Description: Session files older than this period (in days) are deleted at startup. Minimum value is 1. Setting to 0 is rejected with a validation error. Also controls the age cutoff for automatic removal of orphaned subagent worktrees at startup.
  • Example:
    {
    "cleanupPeriodDays": 20
    }
  • Type: number
  • Default: unspecified
  • Description: Token threshold that triggers automatic context compaction. When the context window exceeds this threshold, Claude automatically compacts the conversation to reduce token usage.
  • Example:
    {
    "autoCompactWindow": 8000
    }
  • Type: boolean
  • Default: true
  • Description: Snapshot files before edits to preserve versions and enable undo-style operations. When enabled, Claude creates backups of files before making changes.
  • Example:
    {
    "fileCheckpointingEnabled": true
    }

← Back to settings/README.md