142 pages for /memory.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
apply
Claude Developer Platform · in the page
cli-sdks-libraries/cli/apply
…* A [memory store](https://platform.claude.com/docs/en/managed-agents/memory) is a YAML file in `memory_stores/`. * A [deployment](https://platform.claude.com/docs/en/managed-agents/scheduled-deploym…
api-and-data-retention
Claude Developer Platform · in the page
manage-claude/api-and-data-retention
…ry tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/memory-tool) | `/v1/messages`<br />with `memory` tool | <Eligible>Yes</Eligib…
cmek
Claude Developer Platform · in the page
manage-claude/cmek
…ts, [memory stores](https://platform.claude.com/docs/en/managed-agents/memory) (beta) and their memories and memory versions, and [dreams](https://platform.claude.com/docs/en/managed-agents/dreams) (r…
choosing-an-environment
Claude Developer Platform · in the page
managed-agents/choosing-an-environment
…| Memory stores | Mounted by Anthropic at `/mnt/memory/`…
dreams
Claude Developer Platform · in the page
managed-agents/dreams
…eir [memory stores](https://platform.claude.com/docs/en/managed-agents/memory) as they work, but these writes are local and incremental: over many sessions a memory store accumulates duplicates, contr…
scheduled-deployments
Claude Developer Platform · in the page
managed-agents/scheduled-deployments
…b), [memory stores](https://platform.claude.com/docs/en/managed-agents/memory), and [vaults](https://platform.claude.com/docs/en/managed-agents/vaults). A deployment that targets a [self-hosted enviro…
secure-deployment
Claude Developer Platform · in the page
managed-agents/secure-deployment
…to a [memory store](https://platform.claude.com/docs/en/managed-agents/memory#attach-a-memory-store-to-a-session) | Attach the store as `read_only` unless the agent must write. The default is `read_wr…
spawn.sh: called once per claimed work item
Claude Developer Platform · in the page
managed-agents/self-hosted-sandboxes
…any [memory stores](https://platform.claude.com/docs/en/managed-agents/memory) attached to the session are stored by Anthropic and copied into your sandbox for the session; changes the agent makes to…
self-hosted-sandboxes-memory
Claude Developer Platform · in the page
managed-agents/self-hosted-sandboxes-memory
…ach [memory stores](https://platform.claude.com/docs/en/managed-agents/memory) exactly as sessions on cloud environments do. List them in `resources` (csharp, go: `Resources`) when you create the sess…
self-hosted-sandboxes-operations
Claude Developer Platform · in the page
managed-agents/self-hosted-sandboxes-operations
…long-lived host, also remove the leftover store directory under `/mnt/memory/` before the next session that attaches that store. A sandbox that serves one session and is then discarded needs no clean…
self-hosted-sandboxes-reference
Claude Developer Platform · in the page
managed-agents/self-hosted-sandboxes-reference
…| | `/mnt/memory/<store>/` | One directory per attached memory store, at the store's `mount_path` (java, php: `mountPath`; csharp, go:…
self-hosted-sandboxes-security
Claude Developer Platform · in the page
managed-agents/self-hosted-sandboxes-security
…to [memory stores](https://platform.claude.com/docs/en/managed-agents/memory) requires the `secret` (csharp, go: `Secret`): the memory store endpoints reject the environment key (see [Forward the wor…
session-observability
Claude Developer Platform · in the page
managed-agents/session-observability
…and [memory stores](https://platform.claude.com/docs/en/managed-agents/memory) at their container paths, including the memories in each store and the changes this session made to them. Also lists file…
webhooks
Claude Developer Platform · in the page
managed-agents/webhooks
…dividual [memories](https://platform.claude.com/docs/en/managed-agents/memory) and memory versions emit no webhook events. </Tab> </Tabs> ## Register an endpoint In the Claude Console, go to the […
overview
Claude Developer Platform · in the page
release-notes/overview
…ach [memory stores](https://platform.claude.com/docs/en/managed-agents/memory). The Python, TypeScript, and Go SDK workers download each attached store into the sandbox at its `mount_path` and sync th…
Set up Claude Code for your organization
Claude Code CLI · in the page
admin-setup
…andbox.network.allowedDomains` | | [Managed policy CLAUDE.md](/docs/en/memory.md#deploy-organization-wide-claude-md) | Organization-wide behavioral guidance for Claude rather than a client-enforced ru…
Use Claude Code features in the SDK
Claude Code CLI · in the page
agent-sdk/claude-code-features
…_CONFIG_DIR` in `env` | | Auto memory at `~/.claude/projects/<project>/memory/` | Loaded into the system prompt at session start. The agent writes new memories there with the standard `Write` and `Edi…
Hosting the Agent SDK
Claude Code CLI · in the page
agent-sdk/hosting
…t `CLAUDE_CODE_DISABLE_AUTO_MEMORY=1` in `env`. [Auto memory](/docs/en/memory.md#auto-memory) at `~/.claude/projects/<project>/memory/` loads into the system prompt regardless of `settingSources`. See…
Modifying system prompts
Claude Code CLI · in the page
agent-sdk/modifying-system-prompts
…write effective instructions, see [When to add to CLAUDE.md](/docs/en/memory.md#when-to-add-to-claude-md) and the rest of [How Claude remembers your project](/docs/en/memory.md). This section covers…
Manage multiple agents with agent view
Claude Code CLI · in the page
agent-view
…ions take precedence**: if the task, `CLAUDE.md`, or [memory](/docs/en/memory.md) says you handle committing or pushing yourself, Claude leaves git to you. A session editing a checkout it didn't isol…
Share session output as artifacts
Claude Code CLI · in the page
artifacts
…where Claude can find them, such as the project's [CLAUDE.md](/docs/en/memory.md) or a theme file in your repository: ```markdown theme={null} ## Design system - Colors: primary #1a4d8f, accent #f59…
Configure auto mode
Claude Code CLI · in the page
auto-mode-config
…eads configuration The classifier reads the same [CLAUDE.md](/docs/en/memory.md) content Claude itself loads, so an instruction like "never force push" in your project's CLAUDE.md steers both Claude…
Best practices for Claude Code
Claude Code CLI · in the page
best-practices
…les and where CLAUDE.md files can live, see [CLAUDE.md files](/docs/en/memory.md#claude-md-files). ### Configure permissions > [!TIP] > > To get fewer prompts without giving up control, pre-approve…
Champion kit
Claude Code CLI · in the page
champion-kit
…mands, and any directories that should be avoided. | [Memory](/docs/en/memory.md) | | "Is this just autocomplete?" | Offer a brief demonstration in which Claude explains an unfamiliar file, traces a b…
Claude Code changelog
Claude Code CLI · in the page
changelog
…b fetch or web search; it keeps loading in the background * Improved `/memory`: the left and right arrow keys now flip its on/off settings, such as Auto-memory * Improved `/skill` names typed mid-mess…
Explore the .claude directory
Claude Code CLI · in the page
claude-directory
…<A href="/docs/en/skills">skill</A> or a path-scoped <A href="/docs/en/memory#organize-rules-with-claude/rules/">rule</A> so it loads only when needed</>, 'List the commands you run most, like build,…
Let Claude coordinate ongoing work with Projects
Claude Code CLI · in the page
claude-projects
…works in the project. They're separate from the [auto memory](/docs/en/memory.md) Claude Code keeps on your machine, even though both use a `MEMORY.md` index. Project memory is also separate from the…
claude-tag
Claude Code CLI · in the page
claude-tag
…">Set up routines</span></div></div></a></li><li id="/claude-tag/users/memory" class="relative scroll-m-4 first:scroll-m-20" data-title="What Claude Tag remembers"><a class="group flex items-start pr-…
CLI reference
Claude Code CLI · in the page
cli-reference
…ject conventions Claude should always follow, use [CLAUDE.md](/docs/en/memory). The [Agent SDK guide on system prompts](/docs/en/agent-sdk/modifying-system-prompts#decide-on-a-starting-point) covers t…
Configure cloud environments
Claude Code CLI · in the page
cloud-environments
…E.md`, and `.claude/rules/` files that aren't [path-specific](/docs/en/memory.md#path-specific-rules). See [What threads pick up from your repositories](/docs/en/claude-projects.md#what-threads-pick-u…
Code Review
Claude Code CLI · in the page
code-review
…only to files under that path. See the [memory documentation](/docs/en/memory) for more on how `CLAUDE.md` works. For review-specific guidance that you don't want applied to general Claude Code sessi…
Customize Code Review
Claude Code CLI · in the page
code-review-customize
…one of two files: * **`CLAUDE.md`**: [project instructions](/docs/en/memory.md) that Claude Code reads for every task, reviews included. Code Review reads them as project context and flags changes t…
Commands
Claude Code CLI · in the page
commands
…ion in a repo.** Run `/init` to generate a starter `CLAUDE.md`, then `/memory` to refine it. Use `/mcp` to set up any servers the project needs, ask Claude to create any [subagents](/docs/en/sub-agent…
Communications kit
Claude Code CLI · in the page
communications-kit
…ter. 📖 CLAUDE.md and project memory → https://code.claude.com/docs/en/memory ``` **@-references** ```markdown theme={null} 📎 *Tip: Stop pasting file contents into the chat* Copying 200 lines of a…
Explore the context window
Claude Code CLI · in the page
context-window
…omes first, are loaded into the conversation context.", link: '/en/memory#auto-memory' }, { t: 0.06, kind: 'auto', label: 'Environment info', tokens: 280, color: '#6B6964',…
Manage costs effectively
Claude Code CLI · in the page
costs
…Move instructions from CLAUDE.md to skills Your [CLAUDE.md](/docs/en/memory.md) file is loaded into context at session start. If it contains detailed instructions for specific workflows (like PR rev…
Debug your configuration
Claude Code CLI · in the page
debug-your-config
…ow up with the dedicated command: | Command | Shows | | :- | :- | | `/memory` | Memory file locations across user and project scopes with the option to open each in your editor, plus access to the au…
Desktop application
Claude Code CLI · in the page
desktop
…iguration files, so your setup carries over: * **[CLAUDE.md](/docs/en/memory.md)** and `CLAUDE.local.md` files in your project are used by both * **[MCP servers](/docs/en/mcp.md)** configured in `~/.…
Environment variables
Claude Code CLI · in the page
env-vars
…` | Set to `1` to disable [auto memory](/docs/en/memory#auto-memory). Set to `0` to force auto memory on even when `--bare` mode or [`autoMemoryEnabled: false`](/docs/en/settings…
Error reference
Claude Code CLI · in the page
errors
…` memory files, or move instructions into [path-scoped rules](/docs/en/memory.md#path-specific-rules) that load only when relevant * Auto-compact is on by default and normally prevents this error. If…
Feature availability
Claude Code CLI · in the page
feature-availability
…ds.md), and [skills](/docs/en/skills.md) * [CLAUDE.md memory](/docs/en/memory.md), [plugins](/docs/en/plugins/overview.md), and [MCP servers](/docs/en/mcp.md) * [Checkpoints](/docs/en/checkpointing.md…
Extend Claude Code
Claude Code CLI · in the page
features-overview
…de-works.md). **New to Claude Code?** Start with [CLAUDE.md](/docs/en/memory.md) for project conventions, then add other extensions [as specific triggers come up](#build-your-setup-over-time). ## Ov…
Claude Code GitHub Actions
Claude Code CLI · in the page
github-actions
…Rs and responding to requests. See the [memory documentation](/docs/en/memory.md) for details. ### Protect your credentials > [!WARNING] > > Never commit API keys or OAuth tokens directly to your re…
Glossary
Claude Code CLI · in the page
glossary
…77 or later. In some sessions Claude [can't read `AGENTS.md`](/docs/en/memory#when-agents-md-support-is-unavailable), so [import it from a `CLAUDE.md`](/docs/en/memory#share-one-file-with-other-coding…
Hooks reference
Claude Code CLI · in the page
hooks
…rvice For instructions that never change, prefer [CLAUDE.md](/docs/en/memory.md). It loads without running a script and is the standard place for static project conventions. Write the text as factua…
Automate actions with hooks
Claude Code CLI · in the page
hooks-guide
…ng context on every session start, consider using [CLAUDE.md](/docs/en/memory.md) instead. For environment variables, see [`CLAUDE_ENV_FILE`](/docs/en/hooks#persist-environment-variables) in the refer…
How Claude Code works
Claude Code CLI · in the page
how-claude-code-works
…tted changes, and recent commit history. * **Your [CLAUDE.md](/docs/en/memory.md).** A markdown file where you store project-specific instructions, conventions, and context that Claude should know eve…
Interactive mode
Claude Code CLI · in the page
interactive-mode
…en/settings.md) - Configuration options * [Memory management](/docs/en/memory.md) - Managing CLAUDE.md files
Set up Claude Code in a monorepo or large codebase
Claude Code CLI · in the page
large-codebases
…code you're working in. Claude Code loads every [CLAUDE.md](/docs/en/memory.md) file from your working directory and every parent directory at launch, then loads each subdirectory's file [on demand]…
How Claude remembers your project
Claude Code CLI · in the page
memory
…assembled) runs with auto memory off by default. To toggle it, open `/memory` in a session and use the auto memory toggle, which saves `autoMemoryEnabled` to your user settings at `~/.claude/settings…