{"version":"2.1.300","anchor":"fork-dispatched-slash-commands-userpromptsubmitexpansion-h","canonical_anchor":"fork-dispatched-slash-commands-userpromptsubmitexpansion-h","heading":"Blocked slash command prompts are echoed back less often","tier":"notice","area":"Hooks","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.300\/e\/fork-dispatched-slash-commands-userpromptsubmitexpansion-h","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.300","markdown":"### Blocked slash command prompts are echoed back less often\n\nWhen a hook blocks a slash command run in a fork, Claude Code shows the original prompt in fewer cases\n\n**What**\n\nHooks are your own scripts that Claude Code runs at set moments, such as `UserPromptSubmit` when a prompt is submitted, or `UserPromptExpansion`. Some slash commands run in a fork, a separate copy of the conversation. When a hook blocks one of these, Claude Code used to add \"Original prompt:\" with your text unless the hook set `suppressOriginalPrompt`.\n\nThe echo is now also left out when:\n\n- the hook set `suppressOriginalPrompt`\n\n- the text you typed differs from the text the hooks saw\n\n- the hook's state is unknown or has changed\n\nBlocked results are marked as dropped, and a run that was cut short is flagged as such.\n\n**Why**\n\nA prompt your hook blocked is less likely to show up again in the transcript.\n\n- Area: Hooks\n- Names: `suppressOriginalPrompt`, `UserPromptSubmit`, `UserPromptExpansion`\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}