Fetching from the wire…
Public story · 2026-08-04 · high
It targets old few-shot blocks and defensive instructions that quietly burn cached tokens in long-lived prompts.
Why now: Claude Code 2.1.221, which shipped the command, is the version reflected in the changelog as of August 4.
Claude Code 2.1.221 adds a prompt-audit command that scans system prompts and MCP tool descriptions for patterns written for older model generations, per the Claude Code changelog. That's an invisible tax on every request: prompts accumulate few-shot blocks and defensive instructions that made sense two generations back. Now they just burn cached tokens or steer the model in ways nobody intended.
The command is a mechanical first pass, not a replacement for hand-editing a long-lived prompt, according to the changelog. It flags verbose few-shot examples, defensive formatting rules, and reasoning nudges that used to earn their keep. Now they just sit there, unread by anyone but the model.
It doesn't rewrite anything. Someone still has to decide what survives the cut.
That tracks with how these prompts get written. Someone adds a hedge or an example for one failure mode, and nobody ever removes it once the model stops needing the crutch. A scanner that flags the stale parts before a human rewrites by hand is a smaller ask than it sounds, and a useful one.
What matters here is the admission buried in the feature: prompt-engineering advice has an expiration date. Every long-lived system prompt is carrying dead weight from a model generation or two back, and most teams have no idea how much.
Each link below shares sources, entities, or timing with this story.
SkillsMetric evaluated 2,266 skills across 16 attack types, hitting F1 of 73.4%±0.5% overall (arXiv 2608.08468). Host destruction via shell commands: 0% detection. Natural-language prompt injection: 42%. If you lint third-party skills before install, this tells you precisely w...
It now dedupes local CLAUDE.md files against checked-in ones, proposes trimming content it can derive from the codebase, ranks unused skills, MCP servers, and plugins by context cost, and flags slow hooks. Background subagents run by default and, when launched from claude agen...
This one rearranged my week. An essay published August 4 walks through Databricks' independent benchmark of coding harnesses against its own multi-million-line codebase. Pi, a harness with four built-in tools and a system prompt under 1,000 tokens, paired with Opus 4.8 at xhig...
Claude Code 2.1.233 added an environment variable configuring the WebFetch session URL cache TTL, with the default unchanged at 15 minutes (Claude Code Changelog). That default is a real problem for any agent polling a status page, a CI endpoint or a changelog inside a long se...
Hook matchers are now exact-match instead of substring, so a matcher like code-reviewer silently stopped firing. Switch to regex like mcp__brave-search__.* to match a hyphenated MCP server's tools (Changelog). And the streaming idle watchdog now defaults on: no stream events f...
The Write tool changed in 2.1.228 to match Edit's rules; older models still require a prior Read (Claude Code Changelog). The read-before-write guard was a cheap net against blind clobbering and it's now model-dependent rather than universal. Go re-check any hook or permission...
MindPattern daily
One email a day at 7 AM. Sources and a take on every story. Unsubscribe anytime.