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.
Output styles
Claude Code CLI · in the page
output-styles
…r what Claude should know about your project, use [CLAUDE.md](/docs/en/memory.md). > * For something that has to happen every time, such as formatting after each edit or blocking a command, use a [hoo…
Overview
Claude Code CLI · in the page
overview
…mize with instructions, skills, and hooks** > > [`CLAUDE.md`](/docs/en/memory) is a markdown file you add to your project root that Claude Code reads at the start of every session. Use it to set codin…
Choose a permission mode
Claude Code CLI · in the page
permission-modes
…/<id>/tmp/` * Markdown files in the project's [auto memory](/docs/en/memory.md#storage-location) directory, such as `~/.claude/projects/<project>/memory/`, in a session started without `--restricted…
Configure permissions
Claude Code CLI · in the page
permissions
…s-reference#extraknownmarketplaces) keys only | | [CLAUDE.md](/docs/en/memory.md) files, `.claude/rules/`, and `CLAUDE.local.md` | Only when `CLAUDE_CODE_ADDITIONAL_DIRECTORIES_CLAUDE_MD=1` is set. `C…
Mods overview
Claude Code CLI · in the page
plugins/mods/overview
…ry session, apart from [the ones that can't read `AGENTS.md`](/docs/en/memory#when-agents-md-support-is-unavailable) | Disable it in `/plugin`, or [choose which instruction files load](/docs/en/memory…
How Claude Code uses prompt caching
Claude Code CLI · in the page
prompt-caching
…act`, or restart. [Nested CLAUDE.md files in subdirectories](/docs/en/memory.md) and [rules with `paths:` frontmatter](/docs/en/memory#path-specific-rules) load later, on demand. Editing one yourself…
Prompt library
Claude Code CLI · in the page
prompt-library
…ture, key directories, and how the pieces connect', nextHref: '/en/memory', src: 'workflows' }, { id: 'explain-unfamiliar-code', sdlc: 'discover', cat: 'Understand', roles: […
Customize sessions in self-hosted environments
Claude Code CLI · in the page
self-hosted-environments-configuration
…session in a self-hosted environment runs with [auto memory](/docs/en/memory.md#auto-memory) off by default. For instructions that should carry across sessions, use the `CLAUDE.md` in your runner ima…
Manage sessions
Claude Code CLI · in the page
sessions
…Code then stores that session's transcripts and [auto memory](/docs/en/memory.md#auto-memory) under your name. This suits a host that embeds Claude Code and gives each session its own config directory…
Claude Code settings
Claude Code CLI · in the page
settings
…yDirectory` | Custom directory for [auto memory](/docs/en/memory#storage-location) storage. Accepts an absolute path or a `~/`-prefixed path. From project or local settings, Claude Code h…
All settings
Claude Code CLI · in the page
settings-reference
…MemoryDirectory`](#automemorydirectory) | Store [auto memory](/docs/en/memory.md#auto-memory) in a directory you choose | Memory and context | Any file | | [`autoMemoryEnabled`](#automemoryenabled) |…
Extend Claude with skills
Claude Code CLI · in the page
skills
…n [`CLAUDE.md` content Claude could derive from the codebase](/docs/en/memory#my-claude-md-is-too-large), and the always-loaded guidance that remains, which Claude offers to migrate into skills and ne…
Create custom subagents
Claude Code CLI · in the page
sub-agents
…tial context](#what-loads-at-startup); [managed policy files](/docs/en/memory.md#how-claude-md-files-load) still load, except for [managed subagents](#choose-the-subagent-scope). Use it for subagents…
Enterprise deployment overview
Claude Code CLI · in the page
third-party-integrations
…iles at multiple levels. See [where CLAUDE.md files can live](/docs/en/memory.md#choose-where-to-put-claude-md-files) and [how to deploy an organization-wide CLAUDE.md](/docs/en/memory.md#deploy-organ…
Tools reference
Claude Code CLI · in the page
tools-reference
…is way, Claude Code also loads any [subdirectory `CLAUDE.md`](/docs/en/memory#how-claude-md-files-load) and [path-scoped rules](/docs/en/memory.md#path-specific-rules) that apply to that file. See [Re…
Use Claude Code in VS Code
Claude Code CLI · in the page
vs-code
…ect **Memory** in the Customize section to turn [auto memory](/docs/en/memory.md#auto-memory) on or off. While it's on, you can also browse the memories Claude has saved and reveal the folders that st…
Get started with Claude Code in the cloud
Claude Code CLI · in the page
web-quickstart
…, via API call, or in response to GitHub events * [CLAUDE.md](/docs/en/memory.md): give Claude persistent instructions and context that load at the start of every session * Install the Claude mobile a…
Configure per-channel access
Claude Documentation · in the page
claude-tag/admins/attach-to-scope
…its own store. See [What Claude Tag remembers](/docs/claude-tag/users/memory.md). One-to-one DMs from members who have connected a Claude account run under the member's own claude.ai account. See [h…
Customize Claude Tag
Claude Documentation · in the page
claude-tag/admins/customize
…l | Anyone in the channel | By [telling Claude](/docs/claude-tag/users/memory.md) | Connectors and plugins decide what Claude *can do*; instructions and memory shape *how it does it*. ## Settings ad…
Use Claude Tag at a healthcare organization
Claude Documentation · in the page
claude-tag/admins/healthcare
…a-lifecycle.md) and [What Claude Tag remembers](/docs/claude-tag/users/memory.md). ## If PHI is posted where Claude can read it Anthropic keeps a transcript of each conversation Claude works in, inc…
Manage a channel's instructions from another channel
Claude Documentation · in the page
claude-tag/admins/managed-by
…t is stored with the managed channel's [memory](/docs/claude-tag/users/memory.md), so a member of the managed channel who asks Claude to change what it has saved there can still alter or remove the te…
Set up a skills repository Claude can update
Claude Documentation · in the page
claude-tag/admins/skills-repo
…ory) and the [Claude Code memory docs](https://code.claude.com/docs/en/memory). A repository's `.mcp.json` is not loaded. To give Claude an MCP server, put the `.mcp.json` in a plugin, next to its `.c…
How agent identity works
Claude Documentation · in the page
claude-tag/concepts/agent-identity
…dd-connections.md#attach-plugins), and [memory](/docs/claude-tag/users/memory.md) for more information. ## Channel sessions When Claude works on a channel task, the request moves through three place…
Data lifecycle and deletion
Claude Documentation · in the page
claude-tag/concepts/data-lifecycle
…e conversation. See [What Claude Tag remembers](/docs/claude-tag/users/memory.md) | | Routines | The scheduled and run-once tasks set up in channels or in direct messages, with their instructions and…
Claude Tag for Claude Code users
Claude Documentation · in the page
claude-tag/concepts/for-claude-code-users
…out as tables ``` See [What Claude remembers](/docs/claude-tag/users/memory.md) for how memory is scoped and how to correct it. ## Claude Tag versus a bot you build on the API A Slack bot you buil…
Glossary
Claude Documentation · in the page
claude-tag/concepts/glossary
…the workspace. See [What Claude Tag remembers](/docs/claude-tag/users/memory.md). ## Claude Tag admin A member of your Claude organization whose custom role includes the **Claude Tag Admin** permis…
How Claude Tag works
Claude Documentation · in the page
claude-tag/concepts/how-it-works
…l in the workspace. See [What Claude remembers](/docs/claude-tag/users/memory.md). ## Lifecycle of a request Every session, in any channel, follows the same five-step loop. 1. **The session starts.…
Security and data handling
Claude Documentation · in the page
claude-tag/concepts/security-and-data
…solate what Claude knows. The [workspace notes](/docs/claude-tag/users/memory.md) it saves from a public channel are read by sessions in every channel of the workspace, and it can [search public chann…
Work with Claude Tag
Claude Documentation · in the page
claude-tag/overview
…red across the workspace, and who can see what](/docs/claude-tag/users/memory.md) [Can Claude Tag run tasks on a schedule? Scheduled jobs, channel watching, and triggers](/docs/claude-tag/users/proac…
Get started
Claude Documentation · in the page
claude-tag/users/getting-started
…``` The instruction saves to [channel memory](/docs/claude-tag/users/memory.md) and applies to everyone's threads in the channel. Verify with "what do you remember about this channel?" ## Related r…
Good habits for working with Claude Tag
Claude Documentation · in the page
claude-tag/users/good-habits
…ut the channel. See [What Claude Tag remembers](/docs/claude-tag/users/memory.md). ## Work in the right place Where you start a thread determines what Claude can reach, who else can pick the work up…
Use Claude Tag in a group DM
Claude Documentation · in the page
claude-tag/users/group-dms
…It doesn't read or add to the [workspace notes](/docs/claude-tag/users/memory.md#channel-and-workspace-memory). * **Routines.** A [routine](/docs/claude-tag/users/proactivity.md) you set up in a group…
Set up routines
Claude Documentation · in the page
claude-tag/users/proactivity
…for this channel" saves it to [channel memory](/docs/claude-tag/users/memory.md), so it applies to everyone's threads. ```text wrap theme={null} @Claude remember for this channel: when someone tags…
Troubleshoot Claude Tag in channels and DMs
Claude Documentation · in the page
claude-tag/users/troubleshooting
…ut the channel. See [What Claude Tag remembers](/docs/claude-tag/users/memory.md). ### A session link Claude posted shows a not-found page **What you see** You open a link to a session on claude.ai…
Find answers in your docs
Claude Documentation · in the page
claude-tag/users/use-cases/find-answers
…s come from this channel's history and [memory](/docs/claude-tag/users/memory.md). ## Related resources > **[Catch up](/docs/claude-tag/users/use-cases/catch-up.md)** > > The same mechanism pointed…
Claude Tag for marketing teams
Claude Documentation · in the page
claude-tag/users/use-cases/marketing-team
…his channel" saves the role to [channel memory](/docs/claude-tag/users/memory.md), so it applies to everyone's threads, not just yours. [Triage requests](/docs/claude-tag/users/use-cases/triage-reques…
Review documents against a checklist
Claude Documentation · in the page
claude-tag/users/use-cases/review-documents
…re-describing its contents in [channel memory](/docs/claude-tag/users/memory.md). ## Related resources > **[Find answers in your docs](/docs/claude-tag/users/use-cases/find-answers.md)** > > The sa…
Triage requests
Claude Documentation · in the page
claude-tag/users/use-cases/triage-requests
…his channel" saves the role to [channel memory](/docs/claude-tag/users/memory.md), so it applies to everyone's threads, not just yours. Tell requesters to include `@Claude` when they post; pin the con…
Work from your own channel
Claude Documentation · in the page
claude-tag/users/use-cases/your-own-channel
…de learns there accumulates as [channel memory](/docs/claude-tag/users/memory.md) that later threads build on. [Routines](/docs/claude-tag/users/proactivity.md) can post there on a schedule. When scra…
Control when Claude Tag responds
Claude Documentation · in the page
claude-tag/users/when-claude-responds
…annel's recent messages, the channel's [memory](/docs/claude-tag/users/memory.md), and any instructions your admin has set or a channel member has asked it to remember, and does one of four things. *…
User identity and local data
Claude Documentation · in the page
third-party/claude-desktop/data-storage
…directory for files Claude creates. | | `local-agent-mode-sessions/.../memory/` | Cowork memory: a `CLAUDE.md` instructions file plus a `memory/` subdirectory of Markdown notes Claude writes about the…
Example Servers
Model Context Protocol · in the page
examples
…[Memory](https://github.com/modelcontextprotocol/servers/tree/main/src/memory)** - Knowledge graph-based persistent memory system * **[Sequential Thinking](https://github.com/modelcontextprotocol/serv…