Claude Code v2.1.259 · 2 Sep 2026
A new prompt.context hook event lets plugins add named context blocks to a prompt, capped at 32 blocks and 32000 characters.
Use it now Tier: how much it should matter to you
5 Useful: my rating, 1 to 5
4 Signal: worth watching, 1 to 5
Plugin Hooks Area: what it touches
New Features Kind: in v2.1.259, 02 Sep 26
What probably matters to you Section of the release
A new hook event, prompt.context , joins prompt.section , ui.render , and tool.describe in the SDK/plugin hooks event registry. A hook can now contribute named context blocks to a prompt via {blocks: [{name, text}]}, subject to a validator that caps the count at 32 blocks, requires unique names, and enforces a combined 32000-character budget on top of what the engine itself adds. The event is fully wired through the event list, the site/core hook dispatch tables, and new cache-invalidation hooks invalidatePromptContext and invalidateHookedPromptContext .
What the documentation says
See this entry in the whole of v2.1.259 →
2 Sep 2026 · 195 entries, this one is #8.
Use it now22 You'll notice89 Nothing to try yet24 Under the hood60
Open the release →
Names in this entry
setting prompt.context A new prompt.context hook event lets plugins add named context blocks to a prompt, capped at 32 blocks and 32000 characters.
setting prompt Auto-mode is stricter: text you asked Claude to review can't grant permission on your behalf.
setting ui.render A plugin cannot secretly change what a question asks you; tampered prompts fall back to the original.
setting invalidatePromptContext A new prompt.context hook event lets plugins add named context blocks to a prompt, capped at 32 blocks and 32000 characters.
setting invalidateHookedPromptContext A new prompt.context hook event lets plugins add named context blocks to a prompt, capped at 32 blocks and 32000 characters.
Is this right?
0
0
Feedback
What's wrong with this entry?
Hard to understand Too vague Looks wrong Not relevant to me Too long Missing the detail I wanted Duplicate of another card
Clear Learned something new I can act on this Good catch
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
← Previous · 7 of 195
CLAUDE_CODE_ENABLE_FUNCTION_HOOKS env override
Use it now Plugin Hooks
In v2.1.259 What probably matters to you release-page order
Next → · 9 of 195
New plugin/hook events 'prompt.context' and 'session.start'
Use it now Plugin Hooks