7 pages for automemoryenabled.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Use Claude Code features in the SDK
Claude Code CLI · in the page
agent-sdk/claude-code-features
…so those tools must be enabled for the agent to save memories | Set `autoMemoryEnabled: false` in settings, or `CLAUDE_CODE_DISABLE_AUTO_MEMORY=1` in `env` | | [claude.ai MCP connectors](/docs/en/mcp…
Explore the .claude directory
Claude Code CLI · in the page
claude-directory
…', tips: [<>On by default. Toggle with <C>/memory</C> or <C>autoMemoryEnabled</C> in settings</>, 'MEMORY.md is the index loaded each session. The first 200 lines, or 25KB, whichever comes f…
Environment variables
Claude Code CLI · in the page
env-vars
…ory). Set to `0` to force auto memory on even when `--bare` mode or [`autoMemoryEnabled: false`](/docs/en/settings-reference#automemoryenabled) would otherwise disable it. When disabled, Claude does n…
How Claude remembers your project
Claude Code CLI · in the page
memory
…n `/memory` in a session and use the auto memory toggle, which saves `autoMemoryEnabled` to your user settings at `~/.claude/settings.json`. The toggle turns auto memory off but doesn't turn it back…
Claude Code settings
Claude Code CLI · in the page
settings
…| | `autoMemoryEnabled` | **Default**: `true`. Enable [auto memory](/docs/en/memory#enable-or-disable-auto-memory). When…
All settings
Claude Code CLI · in the page
settings-reference
…mory) in a directory you choose | Memory and context | Any file | | [`autoMemoryEnabled`](#automemoryenabled) | Turn [auto memory](/docs/en/memory.md#auto-memory) off or on | Memory and context | Any…
Create custom subagents
Claude Code CLI · in the page
sub-agents
…ocs/en/memory.md#auto-memory): if you turn auto memory off, with the `autoMemoryEnabled` setting or `CLAUDE_CODE_DISABLE_AUTO_MEMORY`, the `memory` field has no effect and the subagent launches withou…