Claude Code

Stop @ File Mentions From Pasting Whole Files Into Your Claude Chat

Tagging a file with @ puts its whole content in the chat, up to 25,000 tokens. The one setting that hands Claude just the path instead, how to turn it on, and the catch

2min read
1prompts to copy
4numbered steps
5sections

When you tag a file with @ in Claude Code, the file's content goes into the conversation, as long as it fits the Read tool's limit of 25,000 tokens by default. Tag a few big files and a lot of your chat is files you may not have needed.

Here's the setting that changes it, how to turn it on, and what you give up.

Free, for your email

Get the full setup steps + the copy-paste setup prompt

The rest of this guide (5 more sections, 1 copy-paste prompt) opens right here. The setup prompt, one paste into Claude that sets it all up, comes by email only. Use your real address.

Unlocks: Step 1: update Claude Code · Step 2: turn it on · What changes · The catch · Sources

50,000+ follow where these guides come from. No spam, reply “unsubscribe” any time.

Read next