claude.com via Hacker News

Anthropic Deletes 80% of Claude Code's System Prompt for Claude 5

TL;DR

  • Anthropic removed over 80% of Claude Code's system prompt for Claude Opus 5 and Claude Fable 5 with no measurable loss on coding evaluations.
  • The new rules favor judgment over rigid rules, progressive disclosure over upfront context, and richer references like code and test suites over verbose markdown.
  • A new claude doctor command is shipping to help developers rightsize their own skills and CLAUDE.md files for the newer models.

The interesting thing in Anthropic's new context-engineering guide is not the tips list. It is the admission that the prompt the Claude Code team had carefully hand-tuned for older models was actively getting in the way of the newer ones. The team says they deleted more than 80% of Claude Code's system prompt for Claude Opus 5 and Claude Fable 5 with, in their words, "no measurable loss on our coding evaluations."

The post, published July 24 by Anthropic member of technical staff Thariq Shihipar, walks through six shifts. Rules become judgment. Examples become interface design. Upfront context becomes progressive disclosure through skills. Duplicated instructions across the system prompt and tool descriptions get consolidated into the tool definitions. Manual CLAUDE.md memory is replaced by auto-memory. Simple markdown specs get replaced by richer references like code, test suites, and rubrics. The worked example that lands hardest is a line that used to say "default to writing no comments. Never write multi-paragraph docstrings" being swapped for "Write code that reads like the surrounding code: match its comment density, naming, and idiom."

Why this matters if you have a CLAUDE.md file or you are running Claude on top of your own agent scaffold: a lot of the defensive prompt cruft that accreted over previous model generations was there to prevent the worst case behaviors of weaker models. Anthropic's framing is that carrying that cruft forward into Claude Opus 5 and Fable 5 is now a tax. Conflicting rules make the model burn reasoning tokens deciding which instruction wins before it does the actual work. To make the cleanup concrete, Anthropic is shipping a claude doctor command that inspects your skills and CLAUDE.md files and helps rightsize them for the newer generation.

The honest caveat is that the 80% figure is Anthropic's own number, measured on Anthropic's own coding evaluations, and the post does not break down which task categories held up and which softened. Trust-the-model advice also lands very differently in a hobby project than in a regulated codebase, where 'judgment' is exactly what a reviewer does not want.

If it holds up in the wild, though, the practical read is that anyone shipping on Claude has a straightforward token, latency, and quality win sitting in their prompt file, and the migration story from older Claude versions to the 5 generation is less 'port your rules' and more 'delete most of them.'