The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Added sinceA small documentation edit on Common workflows touched a line naming CLAUDE_CODE_DISABLE_FILE_MENTIONS after this was published.To stop `@` references from including file contents and directory listings, set [`CLAUDE_CODE_DISABLE_FILE_MENTIONS`](/docs/en/env-vars#variables) to `1` in your shell or in the [`env` block](/docs/en/env-vars#set-variables-in-settings-fil…common-workflowssee the edit
Confirmed sinceAnthropic's documentation has since written up CLAUDE_CODE_DISABLE_FILE_MENTIONS, on Hooks reference.> * **Turn the insertion off**: set [`CLAUDE_CODE_DISABLE_FILE_MENTIONS=1`](/docs/en/env-vars#variables) in your shell, user settings, or managed settings. Claude then gets the mentioned paths with a note to read them using its file tools.…hookssee the edit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhat the variable turns off when set is not stated; the name suggests @-mentions of files, but that is unconfirmed.
Anthropic's documentation agreesAnthropic's documentation has since written up CLAUDE_CODE_DISABLE_FILE_MENTIONS, on Hooks reference.
Anthropic's release notes agreeAdded CLAUDE_CODE_DISABLE_FILE_MENTIONS environment variable: Claude gets the paths of @ file mentions to read with its file tools, not the…
The name it cites is new in this buildNew in this build: CLAUDE_CODE_DISABLE_FILE_MENTIONS