r/ClaudeCode • • 1h ago

Tips & Workflows Why Claude Becomes "Dumb."

It seems like every time there's a major harness update, a new model release, or even a change in the weather, we get a flood of remarks about Claude being nerfed, lobotimized, dumber, insert-adjective-here.

I figured it would probably be a good idea to write a post on how and why this happens, what's testable, what's perception and what's not, and how people can sort that out for themselves.

From my experience, there are four main causes for degraded performance:

  1. Compute scarcity
  2. System prompt changes
  3. Context loss from compaction
  4. Directive overwhelm and conflict

Compute scarcity is the one most out of our control, and even that can be largely accommodated for with hooks and a robust claude.md file. It's also the least transparent and hardest to check for, and so it tends to be the first thing people point to as a driver - that or model changes (which, generally speaking, likely do not actually happen without a visible version change).

The best way to measure the impact of compute scarcity is to analyze how Claude's output changes throughout the day - specifically on weekdays, from peak usage times to off-peak times. From what I can tell, the main differences are that under pressure, Claude can drop directives more frequently and will try to take shortcuts, handoff work to the user, and make excuses to stop working or not check/verify claims. It usually calls these out.

System prompt changes are a frequent and probably the most impactful cause of behavior changes. These can come with any harness update, which usually happen almost daily. System prompt + server-side cache manipulation is the primary way Anthropic A/B tests behavior changes. It also supersedes the Claude.md file, as claude holds it as more important than user instructions. Fortunately, Anthropic gives us a way to inject our own directives into the system prompt:

https://code.claude.com/docs/en/agent-sdk/modifying-system-prompts

The TweakCC team also releases the system prompt within a few hours to a couple days after it changes. It can be helpful to keep an eye on this. While we can't remove aspects of it offcially, it is possible to make a patched binary with modifications to it, and Anthropic *seems* relatively tolerant of this as long as you don't use it to circumvent safety and ethics directives.

Context loss from compaction is probably the biggest impact, but also the most controllable. When compaction happens, Claude tries to summarize the session for the post-compaction, but it often misses key facts. You can use a pre-compaction hook to inject more robust instructions, I recommend including last turn, next steps, and key names and details, so it doesn't hallucinate a variable later.

Lastly, directive drop. This is the most common issue seen from too much context. It's more about the number of directives and the tension between them, than about the volume of text. In fact, drops seem to be less likely, in my experience, if you carefully articulate the "why" and use examples.

I keep my claude.md file pretty long. And anytime bad behavior happens three times in a session, I build a mechanism to enforce a guardrail, e.g. a stop hook that asks if stoping is appropriate or if next steps are possible without user input. I have my Claude tell me when it's guessing, inferring from memory or training, or has tool-verified a claim. This has been probably the single biggest gamechanger for me.

8 Upvotes

11 comments sorted by

•

u/AutoModerator 1h ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

5

u/Bed-After 1h ago

On the note of compaction, the method I prefer is making Claude write actual notes to the repo or local machine you're working from, then hitting /clear instead of /compact. Specifically, multiple notes that categorize each important thing it might need to refer to. Basic instructions you can tell it to read immediately after a /clear, but a lot of the notes it doesn't need bloating its active context 24/7.

2

u/angrathias 49m ago

I always have folders for

  • research
  • specs
  • Plans
  • ADRs
  • Architecture
  • Gotchas
  • System notes

Between those I never have problems with compaction anymore, it usually just re-reads a file of it needs it again, there’s no issues starting a new session, and it’s all committed to the repo so that individual agents can come back to it for different types of reviews (especially those looking for intent / implementation mismatch).

The advantage of having them separate is that they have different life cycles of needing to be read rather than than one giant document

2

u/cheffromspace 1h ago

I just wrote this in another post about comments. It's relevant here and I'm lazy so I'm just gonna copy/paste:

If it's missing instructions and getting stuff wrong, that's my tell it's time for a documentation audit, which include suggestions for deterministic hooks. More often than not, the cause is conflicting instructions and documentation, not a long context window. I stopped using compact and am using /clear at around 40-60% context, with handoff documentation. That is a clear first-person account of what happened, not another agent's summary. It also builds a paper trail. Claude writes comments for itself, it has a pretty good sense of the documentation it finds useful. Comments can point to decision ledgers which can inform choices. The decision ledgers are the source of truth for intent. Don't not write comments. Careful comments do not pollute the context, they improve it.

1

u/qa_anaaq 1h ago

You mind sharing like a step by step on this? My concern has always been losing context via the /clear method but it’s sounding like that’s the way to go as opposed to compaction if you can carry context through well

1

u/cheffromspace 38m ago

Sure. This is what works for me on a fairly big project (several repos, lots of parallel Claude sessions). Mostly prepared by the project's Claude orchestrator:

  1. One rules file that's kept true. CLAUDE.md holds the rules and points to other docs; it doesn't duplicate them. When Claude gets something wrong, I first look for two docs saying different things, then fix the doc, not just the code.
  2. A decision ledger. One file (docs/decisions.md) with dated entries: what was decided, why, and by whom. Code comments and docs point to it. When an instruction and a decision disagree, the ledger wins.
  3. Recorded claims say how they were known. Every note says whether it was observed or inferred, the date, and how to re-check it. That stops a stale note from being repeated as fact three sessions later.
  4. A hand-off file before every /clear. Around 40-60% context, at a natural break, I ask Claude to write one. It covers: what's done and verified, what's in progress and where it stopped, open questions, the rules that tripped it up, and exactly what to read first. It goes in a dated folder, so it's a paper trail too.
  5. The next session starts from the file. After /clear, my first message is "Read <hand-off path>. You are <role>." CLAUDE.md and memory reload by themselves. A session-start hook prints the current state, so it doesn't have to guess.
  6. Hooks for anything that must never happen. If a rule keeps getting broken, it becomes a hook (pre-commit, or a Claude Code PreToolUse hook), not another paragraph of instructions. Deterministic beats "please remember".
  7. Compaction is the safety net, not the plan. I leave auto-compact on but set high, for when I forget. A hand-off written on purpose beats an automatic summary that lands mid-task.

What you lose with /clear is the conversational texture. Anything that matters should be in a file anyway; if it isn't, that's the doc gap to fix.

long context does make things worse, but I'd still fix the docs first. "Stopped using compact" was too strong: I /clear at natural breaks, and autocompaction is the backstop. And a compaction summary is the same model's, not another agent's. A hand-off is just written on purpose, at a time I choose, to a file I keep.

1

u/Dorbank_Justt 1h ago

A PreCompact hook only shapes the summary. The hooks docs say its stdout becomes instructions for it, and context that hooks added earlier gets summarized with everything else.

To get details back verbatim, add a SessionStart hook with the compact matcher: Claude Code runs it after every compaction and adds its stdout to the new context. The same event has a clear matcher, so a hook that prints Bed-After's notes file loads them after /clear.

Project-root CLAUDE.md is re-read from disk after compaction, while detailed instructions given early in the chat may not survive.

1

u/Ok-Newspaper-8775 1h ago

Its just very shady stuff. Idk the legality of it but Anthropic has been sued recently bc their 5x plan only delivered 3.5x and their 20x about 6-8x. I think there must be some guarantees to the quality of the model as well.

Imagine hiring someone and they just do a bad job or delay the task indefinitely they would definitely be grounds for a legal case.

1

u/IceColdSteph 1h ago

This is a good post and i think the ultimate goal is to create a model agnostic personal framework that delivers consistent deliverables and its really not that difficult, mine isn't perfect, but im not seeing a lot of complaints that other people are,

1

u/AgentYurt 30m ago

The compaction part is the one I watch closest. What helped me was putting the handful of facts that must not get lost — the exact API version, the naming rule, what's out of scope — into CLAUDE.md itself, since that gets re-read after a compact and chat doesn't. Then right after a compact, before it touches code, I ask it to list those back. If it can't, I know the summary dropped something before it writes anything on the wrong assumption.

0

u/East-Acanthaceae-879 1h ago

Context loss from compaction

In 100% of cases this is an error between keyboard and chair.

I get people don't know better yet but I also don't get people who use it every day not having any idea how context does or should work. I am really enjoying the people complaining about having 900k context that got compacted with the update, that session was so rotted its producing pure nonsense.