Follow Discord
Sweep 01 Oct 2026 · 17:27Z Build v2.1.287 508 read Stable v2.1.285 Latest v2.1.287 Next v2.1.287 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.286 ·

Plugins can now take over how the system prompt is put together

A new prompt.compose hook point lets a plugin module build the system prompt from its sections, and Claude Code falls back to its own if that fails

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

The system prompt is the set of standing instructions Claude Code gives the model at the start of each conversation, built from several sections. Plugins can now hook into how those sections are put together through a new hook point, prompt.compose.

  • When a plugin module implements prompt.compose, Claude Code builds the system prompt through it.
  • If that call fails, Claude Code builds the prompt itself as before.
  • The existing prompt.section hook point now also passes along where each section came from.
  • Plugins also get a new compose function that builds a system prompt from supplied facts, and it raises an error when the running process builds no system prompt.
Why

Plugin authors can now reorder or replace sections of the system prompt. Nothing changes unless a plugin module actually implements the hook.

Read from
Names in the bundleprompt.compose
What the documentation says
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up prompt.compose, on Mods reference. | [`prompt.section`](/docs/en/plugins/mods/events#rewrite-or-add-to-a-prompt) | Once for each named section of the system prompt. `e.name` is the section's `id` in `prompt.compose`. | `{ text }`, or `{ text: null }` to omit the section | plugins/mods/reference see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up prompt.compose, on Mods reference.

See this entry in the whole of v2.1.286 →

Feedback