A minimalist desk with a single sheet of paper being trimmed by scissors, bright warm sunlight, clean modern office, no text no logos no letters no signs
News

Anthropic Deleted 80% of Claude Code's System Prompt for Claude 5 and Nothing Broke

Anthropic removed 80% of Claude Code's system prompt for Claude 5 models with no measurable loss on coding evaluations. The lesson: stop overconstraining capable models.

AnthropicClaude CodeContext EngineeringPrompt EngineeringClaude 5

Anthropic’s engineering team did something radical with Claude 5: they deleted over 80% of Claude Code’s system prompt — the instructions that tell the model how to behave — and coding evaluation scores didn’t move. The blog post, published July 24 by Anthropic engineer Thariq Shihipar, is a quiet admission that the entire prompt-engineering playbook for frontier models needs rewriting.

What is a system prompt? When you chat with an AI model like Claude, the system prompt is the invisible instruction set that tells it how to behave — “don’t write comments in code,” “ask before deleting files,” “follow this format.” It’s the guardrail layer between the model’s raw capabilities and the product experience. Claude Code’s system prompt was dense, prescriptive, and built up over two years of worst-case avoidance. Anthropic just cut most of it.

🔍 THE BOTTOM LINE

The era of stuffing every rule, example, and contingency into a model’s system prompt is ending. Claude Opus 5 and Claude Fable 5 are capable enough to use judgement where older models needed explicit instructions — and the result is simpler, more maintainable agent harnesses. For anyone building AI agents, the message is: stop overconstraining.

What Anthropic Actually Removed

The old Claude Code system prompt told the model things like: “In code: default to writing no comments. Never write multi-paragraph docstrings or multi-line comment blocks — one short line max. Don’t create planning, decision, or analysis documents unless the user asks for them.”

The new system prompt says: “Write code that reads like the surrounding code: match its comment density, naming, and idiom.”

That’s the whole shift. Instead of 15 rules about when to comment, one sentence that says “match your surroundings.” The model figures out the rest from context.

Anthropic identified six prompt-engineering practices that became myths with Claude 5:

Old practiceNew practice
Give explicit rulesLet the model use judgement
Give tool-usage examplesDesign expressive tool interfaces
Put everything upfrontUse progressive disclosure
Repeat instructions at start and endPut instructions in tool descriptions
Store memory in CLAUDE.md filesLet Claude auto-save relevant memories
Simple markdown specsRich references (HTML artifacts, test suites, code)

Why the Old Rules Existed

The old system prompt wasn’t paranoia — it was necessity. Earlier Claude models would write incorrect comments, delete files unnecessarily, and produce inconsistent output if not explicitly constrained. The guardrails were a tradeoff: accept some wrong behaviour in edge cases to prevent catastrophic behaviour in common cases.

The problem, as Anthropic discovered when reading their own internal usage transcripts, was that the system prompt, skills, and user requests would clash. A single request might contain conflicting messages: “leave documentation as appropriate” from one source and “DO NOT add comments” from another. The model had to reconcile these before doing any actual work, burning reasoning capacity on instruction arbitration.

Claude 5 models — Opus 5 and Fable 5 — have better judgement. They can read surrounding context and make the right call without being told. The Fable 5 launch already signalled Anthropic’s confidence in the model’s reasoning; this blog post is the engineering proof.

Progressive Disclosure Replaces Information Hoarding

The most architecturally interesting shift is progressive disclosure. Instead of loading every possible instruction, tool definition, and verification procedure into the context window upfront — what Claude Code’s 33,000-token overhead documented earlier this year — Claude Code now defers loading until context is actually needed.

Some tools are now “deferred loading”: the agent must search for their full definitions using a ToolSearch call before using them. This means you can have dozens of tools available without any of them occupying context space until the moment they’re relevant. Skills work the same way — instead of a monolithic CLAUDE.md that tries to anticipate every scenario, you build a tree of files that load on demand.

This matters beyond Anthropic. Anyone building AI agents — and we’ve covered the agent app store pattern — has been fighting the same battle: how much context is too much? The answer from Claude 5 is: less than you think.

The NZ Angle

New Zealand’s growing cohort of AI-first startups — the companies building agents on top of Claude, GPT, and open-weight models — should take this as permission to simplify. If you’re spending hours crafting elaborate system prompts with 50 rules and 10 examples, the return on that effort is shrinking. The models are getting better at figuring out what you mean. The competitive edge is shifting from prompt craft to tool design and context architecture.

For developers using Claude Code locally, the /doctor command now rightsizes your skills and CLAUDE.md files against this new guidance. Run it.

The Other Side

Anthropic is the model vendor writing about their own model. There’s a commercial incentive to frame “less prompting needed” as a feature — it makes Claude 5 look smarter and easier to adopt. The 80% reduction claim is based on internal coding evaluations, which may not reflect the full diversity of real-world coding tasks. A model that passes Anthropic’s benchmarks with a trimmed prompt could still struggle on a messy enterprise codebase that the evals don’t cover.

The blog post also doesn’t quantify the remaining 20%. If the old prompt was 5,000 tokens and the new one is 1,000, that’s meaningful. If it was 500 and is now 100, less so. Anthropic didn’t share the numbers.

❓ FAQ

Does this mean prompt engineering is dead? No — it means prompt engineering is evolving from rule-writing to interface design. The skill shifts from “tell the model exactly what to do” to “design tools and context structures that let the model figure it out.” That’s still engineering, just a different kind.

Should I delete my CLAUDE.md file? Not entirely. Anthropic recommends keeping it lightweight — describe what your repo is for and spend most of the tokens on gotchas that aren’t obvious from the file system. Use progressive disclosure: split long instructions into skills that load on demand.

Will this work for non-Anthropic models? The principles — progressive disclosure, expressive tool design, less overconstraining — are general. But the specific claim that you can remove 80% of your system prompt without quality loss is tested only on Claude Opus 5 and Fable 5. Older or smaller models still need more explicit guidance.

What about safety? Anthropic moved safety-critical instructions into tool descriptions and skills rather than the system prompt. The guardrails aren’t gone — they’re relocated to where they’re most relevant. A model that needs to ask before deleting a file gets that instruction from the file-editing tool, not from a global rule.

🔍 THE BOTTOM LINE

The frontier of AI capability is moving from “what can the model do?” to “how little do we need to tell it?” Anthropic’s 80% cut is the strongest signal yet that the answer, for Claude 5 at least, is: less than you’d think. The builders who internalise this shift first will ship simpler, faster, more maintainable agents.

📰 Sources

Sources: Anthropic Engineering Blog, Hacker News