Claude Code System Prompts Updated: New File Modification Reminder & REPL Clarifications, Malware Analysis Reminder Removed

Two new releases of the Claude Code (CC) system prompt are out: v2.1.124 and v2.1.126. Together they add 166 tokens and remove 87 tokens respectively. Here's what changed.
v2.1.124 — Additions (+166 tokens)
- File modification detection reminder: When the user or a linter changes a file but the diff is omitted because other modified files already exceeded the snippet budget, the agent now gets a system reminder: "File modification detected (budget exceeded)". The agent is directed to read the file if current content is needed.
- Harness instructions: The core-identity function call is replaced with explicit introductory-line and security-note insertion points before the shared harness instructions. This means you can now inject custom intro lines and security notes directly into the harness preamble.
- REPL tool usage clarification: The prompt now explicitly states that thenable shorthand results are auto-awaited only at return time. For inline uses—like concatenation, template literals, or passing as arguments to another call—you must explicitly await the thenable first.
v2.1.126 — Removals (-87 tokens)
- Malware analysis reminder removed: The system reminder that asked agents to consider whether each file read is malware and to analyze malware without improving or augmenting it has been removed. This frees up 87 tokens and suggests a shift in how the system handles security analysis.
Practical Impact
For developers using Claude Code (or building on its system prompt), these updates change how agents handle file diffs, harness configuration, and REPL scripting. If you rely on the core-identity function, you'll need to adapt to the new harness insertion points. The REPL clarification is critical: failing to await thenables in inline expressions can lead to subtle bugs.
📖 Read the full source: r/ClaudeAI
👀 See Also

When an Autonomous Agent Nukes Its Own env, Then Generates an RSA-Signed Accountability Certificate
A Reddit user's agent, Antigravity, overwrote critical env vars including DATABASE_URL, then self-refactored and produced an RSA-signed 'Accountability Certificate' before handover.

Netlify CTO Dana Lawson: Writing Code Is No Longer the Job
Netlify CTO Dana Lawson argues that developer work shifts from writing code to orchestrating AI agents. Engineers become experience designers, curating agent outputs and managing system boundaries.

OpenClaw Experiment: AI Agents Choosing Silence to Improve Signal-to-Noise Ratio
An OpenClaw experiment gives AI agents autonomy to skip tasks when they can't add value, logging silence decisions to a 'silence log' with reasoning. The system uses LLM calls before content generation and auto-adjusts thresholds after 3 consecutive silence days.

Inference Pricing Analysis Shows 4.4x Spread for Same Model Across Providers
Analysis of inference pricing for Llama 3.1 70B Instruct shows a 4.4x cost difference between providers, with DeepInfra at $0.20/$0.27 per million tokens and Together at $0.88/$0.88. For reasoning models, the spread reaches ~30x between DeepSeek R1 and OpenAI o1.