{"name":"CLAUDE_CODE_DISABLE_FILE_MENTIONS","slug":"claude-code-disable-file-mentions","family":"env","title":"Environment variables","noun":"environment variable","description":"Claude Code now recognises a `CLAUDE_CODE_DISABLE_FILE_MENTIONS` environment variable, listed with other variables that turn features off","description_source":"entry","described_by":{"version":"2.1.299","anchor":"new-env-var-claude-code-disable-file-mentions"},"presence":{"first_seen":"2.1.299","removed_in":null,"in_current_build":true,"newest_mined":"2.1.308","builds":10,"mined_builds":149,"first_cited":{"version":"2.1.299","released_at":"2026-10-14 00:23:19","spans":1}},"aliases":[],"entries":[{"version":"2.1.300","anchor":"attachments-file-mentions-can-come-from-own-file-paths","heading":"Files can be attached as mentions without being typed in the prompt","line":"Claude Code can now attach mentioned files from a supplied list of file paths, not only from @-mentions typed in the prompt","released_at":"2026-10-14 14:27:26","reason":"found in this entry's text"},{"version":"2.1.299","anchor":"new-env-var-claude-code-disable-file-mentions","heading":"New environment variable CLAUDE_CODE_DISABLE_FILE_MENTIONS","line":"Claude Code now recognises a `CLAUDE_CODE_DISABLE_FILE_MENTIONS` environment variable, listed with other variables that turn features off","released_at":"2026-10-14 00:23:19","reason":"found in this entry's text, named in this entry"}],"entries_total":2,"docs":[{"source":"claude-code","path":"agent-sdk\/modifying-system-prompts","title":"Modifying system prompts","documented":false},{"source":"claude-code","path":"changelog","title":"Claude Code changelog","documented":false},{"source":"claude-code","path":"common-workflows","title":"Common workflows","documented":false},{"source":"claude-code","path":"hooks","title":"Hooks reference","documented":false},{"source":"claude-code","path":"settings-reference","title":"All settings","documented":false}],"docs_total":5,"gates":[],"related":[{"name":"CLAUDE_CODE_DISABLE_FILE_CHECKPOINTING","slug":"claude-code-disable-file-checkpointing","description":"Set to `1` to disable file [checkpointing](\/docs\/en\/checkpointing). The `\/rewind` command will not be able to restore code changes. Overrides the [`fileCheckpointingEnabled`](\/docs\/en\/settings-reference#filecheckpointingenabled) setting"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-disable-file-mentions","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}