{"name":"prompt.compose","slug":"prompt-compose","family":"setting","title":"Settings keys","noun":"settings key","description":"Claude Code can now compare two versions of a changing schema and label the difference, such as text only or new live additions","description_source":"entry","described_by":{"version":"2.1.286","anchor":"dynamic-schema-diff-classifier-and-promptcompose"},"presence":{"first_seen":null,"removed_in":null,"in_current_build":false,"newest_mined":"2.1.287","builds":0,"mined_builds":130,"first_cited":{"version":"2.1.286","released_at":"2026-09-30 17:14:38","spans":3}},"aliases":[],"entries":[{"version":"2.1.286","anchor":"dynamic-schema-diff-classifier-and-promptcompose","heading":"New comparison sorts how a tool description has changed","line":"Claude Code can now compare two versions of a changing schema and label the difference, such as text only or new live additions","released_at":"2026-09-30 17:14:38","reason":"found in this entry's text"},{"version":"2.1.286","anchor":"promptcompose-plugin-hook-point","heading":"Plugins can now take over how the system prompt is put together","line":"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","released_at":"2026-09-30 17:14:38","reason":"named in this entry, found in this entry's text"},{"version":"2.1.286","anchor":"composer-gains-composedfromownwordsonly-and-a-promptcompose","heading":"Plugin hooks gain a prompt.compose method and an asUser option on submit","line":"Plugin hooks can now call a new prompt.compose method, and prompt.submit now accepts an asUser option that must be true or false","released_at":"2026-09-30 17:14:38","reason":"named in this entry, found in this entry's text"},{"version":"2.1.286","anchor":"tool-execution-policy-gains-unattended-own-record-new-pr","heading":"Early groundwork for prompt composition and cache keep-alive","line":"Claude Code now contains a new prompt composition hook point and a cache keep-alive beta setting, with no sign they are in use","released_at":"2026-09-30 17:14:38","reason":"found in this entry's text"},{"version":"2.1.286","anchor":"misc-new-telemetrylog-names","heading":"Several new internal log and event names","line":"Claude Code gained a few new internal names for logging and events, tied to model lists, prompts, MCP images and Chrome tab groups","released_at":"2026-09-30 17:14:38","reason":"found in this entry's text"},{"version":"2.1.286","anchor":"promptcompose-event-and-focus-mode-constant","heading":"A new prompt.compose event joins the other prompt events","line":"Claude Code now registers a `prompt.compose` event alongside `prompt.submit`, `prompt.fill` and `prompt.suggest`","released_at":"2026-09-30 17:14:38","reason":"named in this entry, found in this entry's text"}],"entries_total":6,"docs":[{"source":"claude-code","path":"plugins\/mods\/reference","title":"Mods reference","documented":false}],"docs_total":1,"gates":[],"related":[{"name":"prompt.attachment","slug":"prompt-attachment","description":"New `prompt.attachment` hook lets plugins rewrite or remove text attached to a message"},{"name":"prompt.context","slug":"prompt-context","description":"A new prompt.context hook event lets plugins add named context blocks to a prompt, capped at 32 blocks and 32000 characters."},{"name":"prompt.edit","slug":"prompt-edit","description":"Plugins can now hook into 'prompt.attachment' to rewrite or drop attachment text before it reaches the model"},{"name":"prompt.fill","slug":"prompt-fill","description":"Plugins can now fill in or suggest text directly in the prompt input box via two new prompt.fill and prompt.suggest actions"},{"name":"prompt.md","slug":"prompt-md","description":"`plugin eval` warns when writing results inside a plugin's own directory could get picked up as plugin components"},{"name":"prompt.read","slug":"prompt-read","description":"New plugin hook API lets plugins read the current text and cursor position in the prompt box"},{"name":"prompt.submit","slug":"prompt-submit","description":"Hooks can now rewrite or drop your prompt before it is sent."},{"name":"prompt.suggest","slug":"prompt-suggest","description":"Plugins can now fill in or suggest text directly in the prompt input box via two new prompt.fill and prompt.suggest actions"},{"name":"promptCacheTtl","slug":"promptcachettl","description":"Choose the [prompt cache lifetime](\/docs\/en\/prompt-caching#cache-lifetime) for the main conversation"},{"name":"prompts","slug":"prompts","description":"Claude Code now listens for MCP prompt\/resource list-changed updates whenever a server offers prompts or resources at all"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/setting\/prompt-compose","family_url":"https:\/\/changelogs.core-directive.com\/reference\/setting.json"}