Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.311 ·

Large @-mentioned files can be trimmed or sent as references under a token budget

Behind a flag, @-mentioned files share a size budget: files that do not fit are cut to their first lines, and over-limit files can become references

Group of 2 You'll notice Improvements
JSON All of v2.1.311
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
File MentionsArea: what it touches
ImprovementsKind: in v2.1.311,
ImprovementsSection of the release

Unclear What turns the feature check on, and whether it is on by default, is not stated.

What

When you @-mention a file, Claude Code attaches its contents to your message. Behind the tengu_snuggly_goblet flag, large files may now be handled differently. The flag server returned this flag off for this site's account and for the anonymous baseline; no reading has been taken under this release.

  • Shared budget: when the flag is on and the model's context limit is above a base value, @-mentioned files are read against a shared size budget, measured in tokens (the units the model counts text in). Each file claims part of the budget.
  • First lines only: a file that does not fit is cut to its first lines.
  • Over the limit: a file that is still too big is marked overTokenLimit.
  • References: when a feature check passes, a file marked overTokenLimit is sent as an at_mention_reference instead of its contents.

Why

In sessions with large context limits, the model may see only the start of a big @-mentioned file, or just a reference to it, instead of the whole file. This keeps large files from filling the conversation.

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 turns the feature check on, and whether it is on by default, is not stated.

See this entry in the whole of v2.1.311 →

Feedback