Claude Code Prompt Changes
·2026.05.01 11:34
Key point
The Claude Code system prompt grew by 166 tokens in 2.1.124 and shrank by 87 tokens in 2.1.126.
Details
In v2.1.124, the Claude Code system prompt grew by 166 tokens with 3 items added.
- A
File modification detected (budget exceeded)reminder was added, which guides the model to read the file directly if the current content is needed, for cases where a file modification is detected but the diff is omitted due to other changes. Harness instructionswas changed to remove the core-identity function call, and now specifies an intro sentence and a security note insertion point before the common harness instructions.REPL tool usage and scripting conventionswas clarified to state that thenable shorthand is auto-awaited only at return time, and specifies that it should be awaited first when used for string concatenation, templates, or as arguments to other calls.
In the following v2.1.126, 87 tokens were removed, deleting the malware analysis reminder that followed Read tool calls. The guidance to check for malware every time a file is read, and the wording not to improve or expand on the analysis, were removed.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.