AI & Emerging Interfaces

Anthropic Cut 80% of Claude Code's System Prompt With No Measurable Test Drop

Anthropic removed 80% of Claude Code's system prompt for two models without measurable test drops. Here is how session habits, cache warmth and shorter CLAUDE.md files cut token use.

  • AuthorTom Whitfield
  • ChannelAI & Emerging Interfaces
  • Filed
  • Read4 min
Anthropic Engineer Shares How to Avoid Hitting Claude Code Token Limits
Anthropic Engineer Shares How to Avoid Hitting Claude Code Token LimitsStockSnap / pixabay
  • Anthropic removed about 80% of the Claude Code system prompt for Opus 5 and Fable 5 with no measurable drop in test results.
  • Cached input costs one-tenth of normal input price, or less for certain models.
  • Subscription caches last about one hour; API caches expire after five minutes.
  • Rebuilding a 400,000-token cache cost almost $3.50 in usage versus about 8 cents to keep it warm.
  • Anthropic recommends keeping CLAUDE.md under 200 lines.

Anthropic's engineers removed about 80% of the Claude Code system prompt for the Opus 5 and Fable 5 models without a measurable drop in test results. The finding, shared by Claude Code team engineer Thariq and reported by Nate Herk, shows that large instruction sets can be cut rather than accumulated — and that session habits, not plan upgrades, decide how far a Claude Code allowance stretches.

Why the cache decides your costs

Claude Code uses prompt caching to avoid reprocessing material it has already seen. Cached input costs one-tenth of the normal input price, or less for certain models. The cache only applies when the conversation prefix — settings, tools and instructions — stays unchanged; anything that changes forces Claude to reprocess everything after that point at full price.

Thariq says the tool was built around caching, and that a high cache hit rate lets Anthropic offer more generous subscription limits. The team treats frequent cache misses as an emergency and runs alarms to catch them. Claude platform product lead Brad Abrams says Claude Code's cache hit rate usually runs in the 90s.

Caches expire with inactivity. A subscription cache stays warm for about an hour after the last message; an API cache lasts five minutes. The cost gap is large: in one session, rebuilding a 400,000-token cache cost almost $3.50 in usage, compared with about 8 cents to keep it warm.

What does model switching change?

Switching to a cheaper model mid-conversation can cost more than staying put, because each model keeps its own cache. In an example Thariq published in April, moving from Claude Opus to Claude Haiku for an easy question after 100,000 tokens forced Haiku to process the full context from scratch.

Choose the model at session start. For small jobs, a Haiku subagent can summarize files or research a question in its own conversation and cache, leaving the main session untouched. Connect tools before starting too: Claude Code's documentation warns that adding a tool can break the cache when tools load upfront. A skill created mid-session may also resist slash-command invocation until a new session begins.

Shorter sessions beat one long thread

Every message carries the full conversation context — instructions, files and prior messages. Claude Code's current models each offer a one-million-token context window and 128,000 tokens of maximum output, and long sessions can require tens or hundreds of thousands of tokens per request. Anthropic states that one long session costs more than spreading the same work across shorter sessions.

Two built-in commands manage this: /clear wipes the chat and its context, while /compact converts the conversation into a shorter summary for continuing with less context. A custom handoff skill offers a third path, producing a summary to paste into a new session. Specific requests also help: naming the file and function where a bug lives, such as the total-price function in checkout.js, lets Claude read one file instead of searching dozens.

Cutting instructions Claude does not need

The CLAUDE.md project file loads into every session, whether or not a task needs its rules. Anthropic says a long file consumes more tokens and makes Claude less likely to follow instructions. The company recommends keeping it under 200 lines, focused on role information, audience and file locations.

The 80% system-prompt reduction is instructive: rules tend to pile up whenever Claude does something a user dislikes, some accumulated instructions conflicted with one another, and newer models may need fewer detailed rules and examples. Processes such as content checklists or client onboarding steps belong in skills, which use progressive disclosure — Claude sees a short YAML description at session start and loads the full SKILL.md only on invocation.

The /doctor command audits CLAUDE.md for rules Claude could infer on its own and offers to move the rest into skills. In one setup it found a file from a separate project loading into every session, adding about 2,000 tokens. Claude Code creator Boris Cherny recommends deleting skills every six months to check whether newer models achieve the same results without them.

What the plans cost

Claude Code ships from the Pro plan at $20 a month or $200 a year. Max costs $100 a month with five times Pro's allowance; Ultra costs $200 a month with ten times Pro's weekly allowance. Team seats run $20 or $100 a month with annual billing, and Console usage is charged at standard API prices. On subscriptions, Claude Code shares its allowance with other Claude activity, and Anthropic gives no fixed message count — usage depends on the model and the length and complexity of interactions.

The most counterintuitive takeaway: a move that looks thrifty, such as swapping to a cheaper model mid-chat, can cost more overall, while protecting the session prefix matters more than shaving the price of one answer. As models and features change, these token-saving habits will need revisiting after each update.

Source: geeky-gadgets.com

More from Tom Whitfield

Tom Whitfield

Show full bio

Correspondent covering companies, deals and strategy in Product and interaction design, design systems at Interface Wire.

183 articles

Related articles

« Previous articleNext article »