Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.336 ·

@-mentioned files now pass through hooks and too-large files become references

@-mentioned files now run through hooks that can add context, and files over the size limit are flagged as unread instead of dropped

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

Unclear Which hook event fires for an @-mentioned file is not stated, so it is unclear which hook to configure.

What

When you @-mention a file (type @ followed by a file name in your message so Claude reads that file), Claude Code now handles it differently in two ways:

  • Hooks now see @-mentioned file reads. A hook is a script or command you configure to run automatically at certain points. The file read now goes through a hook pipeline, and any context the hooks return (hookContexts) is added to the result. Before, the file was read directly and hooks were not involved.
  • Files over the size limit are no longer silently dropped. Instead, Claude gets an at_mention_reference marked as unread with the reason too_large. Before, nothing was returned for such a file. Files that were already read are also now split out and handled separately.

Why

Hooks can now inspect @-mentions and add extra context of their own. When a mentioned file is too big to read, Claude is told the file exists but was not read, rather than having no sign of it at all.

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 doubtWhich hook event fires for an @-mentioned file is not stated, so it is unclear which hook to configure.

See this entry in the whole of v2.1.336 →

Feedback