> @-mention files instead of naming them. The file gets attached to your message directly, which saves a Read call, or a search if Claude has to go find it.

I've heard it argued that this is an antipattern. If the file is large, it will read the whole file. With Read or something similar, it can do a targeted search and read only the relevant portion.

Is this still not the case?

Also, since they mention /context: Can anyone explain why /context takes so long to run? It usually takes several seconds, and I've had cases of it taking over a minute.

And why don't they just show the basics in a status line somewhere? Just a plain: "120K/200K tokens" I hate having to type /context just to get this. And I shouldn't need to install an extension.

You can make your own status line with something like "120K/200K Fable 5", it's nice.

You can do tons more, really. There’s even a built-in /statusline command to modify it; mine shows both context window usage alongside session and weekly limit, all of them as progress bars. Just ask Claude to do it.

That's what is shown by default in the app.

I'll never understand why anyone would want to restrict themselves to a terminal interface instead, and I say this as a Vim user.

except in vsc, there it cannot do it

> I've heard it argued that this is an antipattern. If the file is large, it will read the whole file. With Read or something similar, it can do a targeted search and read only the relevant portion.

I suspect you're right and that's why they haven't fixed @-search in the desktop app.

I actually don't find myself using it anymore since moving to the desktop app. I went from using various AI extensions in the IDE to Claude Code desktop.

But if that's accurate, why mention it in this post? Maybe because that's the first thing developers will try when moving away from a code editor?

[deleted]

so i actually read beyond the TLDR and the reasons are:

- it gets attached early so fully cached, even if later cache is busted

- it gets included in every request automatically, so if your following requests are going to keep triggering File Read requests it will be much cheaper and faster to keep sending it

My main question is how this works if Claude itself keeps editing the file. Surely then you are sabotaging your own cache rather than helping it.

The things to add this way would be static files that you don't expect to change and to be highly relevant to the following requests. Especially if you want them to be mandatory reading and not just hope the agent will read it.

[dead]