Search the documentation
5 pages for claude_code_additional_directories_claude_md.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Environment variables
Claude Code CLI · in the page
env-vars
…| | `CLAUDE_CODE_ADDITIONAL_DIRECTORIES_CLAUDE_MD` | Set to `1` to load memory files from directories specified with `--add-di…
Set up Claude Code in a monorepo or large codebase
Claude Code CLI · in the page
large-codebases
…files from a directory added with `--add-dir` or `/add-dir`, set the `CLAUDE_CODE_ADDITIONAL_DIRECTORIES_CLAUDE_MD` environment variable: ```bash theme={null} CLAUDE_CODE_ADDITIONAL_DIRECTORIES_CLAUD…
How Claude remembers your project
Claude Code CLI · in the page
memory
…ded. To also load memory files from additional directories, set the `CLAUDE_CODE_ADDITIONAL_DIRECTORIES_CLAUDE_MD` environment variable: ```bash theme={null} CLAUDE_CODE_ADDITIONAL_DIRECTORIES_CLAUD…
Configure permissions
Claude Code CLI · in the page
permissions
…, `.claude/rules/`, and `CLAUDE.local.md` | Only when `CLAUDE_CODE_ADDITIONAL_DIRECTORIES_CLAUDE_MD=1` is set. `CLAUDE.local.md` additionally requires the `local` setting source, which…
Extend Claude with skills
Claude Code CLI · in the page
skills
…`--add-dir` directories are not loaded by default. To load them, set `CLAUDE_CODE_ADDITIONAL_DIRECTORIES_CLAUDE_MD=1`. See [Load from additional directories](/docs/en/memory#load-from-additional-direc…