Follow Discord
Sweep 08 Oct 2026 · 18:53Z Build v2.1.295 516 read Stable v2.1.286 Latest v2.1.295 Next v2.1.295 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.292 ·

Hooks can use prompt caching when calling the model

Hooks calling $.model.complete can now pass promptBlocks and systemBlocks and mark blocks with cache: true for prompt caching

Use it now No documentation found New Features
JSON All of v2.1.292
Use it nowTier: how much it should matter to you
4Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
HooksArea: what it touches
New FeaturesKind: in v2.1.292,
What probably matters to youSection of the release
What

Hooks are your own scripts that Claude Code runs at set points. A hook that asks the model a question through $.model.complete can now pass promptBlocks and systemBlocks instead of a single plain text prompt and system message. Each block is { text } and can also include cache: true.

  • Blocks marked cache: true are sent as cacheable blocks. Caching lets a repeated part of a prompt be reused instead of processed again.
  • If caching is disabled, Claude Code drops those cache markers.
  • Badly shaped input is rejected with specific error messages.
Why

Hook authors who send the same long text again and again can use prompt caching.

Read from
Names in the bundlepromptBlockssystemBlocks
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeAdded prompt caching to $.model.complete for mods: prompt and system take blocks of text, and cache: true on a block caches the request up…

See this entry in the whole of v2.1.292 →

Feedback