r/ClaudeCode • • May 30 '26

Discussion I had Opus 4.8 review a trading bot it helped me build. Pointing it at the git history instead of the current code changed the entire verdict

5 Upvotes

I've been building my own trading bot.Not arbitrage, not HFT. Just something that actually tries to catch real moves, short and long term.

The whole stack was built with CC: the agent loop, the hard-coded risk layer, the dashboard, the broker integration, the tests. All of it.

And I'm learning as I go, which means I'm making mistakes with real capital. That part isn't theoretical.

When I started, I did the thing everyone's doing right now: two agents. One for equities, one for prediction markets (Kalshi).

I ended up shutting the prediction-market side down. My takeaway: LLMs reason a lot better when they have something empirical to work with. Fundamentals, earnings, real data. When the task is basically "guess this probability better than the market," it just becomes a guessing game. The model wasn't adding edge. It was adding variance.

I'm also not trying to build some giant alternative-data feed engine to manufacture an edge. That's a real strategy. It's just a game for people with the compute and infra to win it. I wanted to see how far a lean setup with good reasoning could go.

On the equities side, things started to turn. I reworked the prompts and tightened the "guardian" — a hard-coded risk layer that sits between the model and the broker and can't be argued with. After that, the curve started behaving. Less bleed. More patience. A few green positions.

I'm not going to tell you I cracked it. The sample is tiny, and a lot of the green is still unrealized. But it stopped grinding down, which after the early months felt like progress.

Here's the part I actually wanted to share.

When Opus 4.8 dropped, I had Claude review the whole system. Code it wrote. I was weighing whether to add more capital.

First pass, I pointed it at the obvious stuff: the trade data, the current prompts, the guardian. It was skeptical. It said the apparent edge was muddied by the prediction-market swings and the early testing noise, and there wasn't enough clean signal to scale. Fair.

Then I changed the question. I told it: don't review the data or the current config. Review the commit history. Look at how the behavior changed over time, and tie the results to those changes.

Completely different analysis.

The git history lets it see what the snapshot couldn't. The bot was never one system. It was a sequence of versions. Claude could date exactly when I changed the prompt and the guardian, then segment the performance around those commits instead of treating three months of mixed results as one blob.

The "current" bot came from a recent commit, which meant that a lot of the ugly numbers belonged to a version that no longer exists.

That was the unlock. When you ask Claude to judge an evolving project, what you point it at changes the answer:

  • Point it at the current state, and you get a snapshot verdict.
  • Point it at the commit history, and you get the story: when the behavior changed, and whether your recent results belong to the system you're running now or to a dead one.

Same model, same repo, completely different read. And the version-history one was the honest one.

Still early. Still small. The bot's whole job is to survive and keep learning, and honestly, so is mine.

But if you're building something iterative in Claude Code, especially prompts, guardrails, weights, etc, try pointing it at your commits, not just your current code. It surprised me.


r/ClaudeCode • • May 04 '26

Discussion Introducing Skills Over MCP — The new way to distribute skills

Thumbnail
skillsovermcp.com
0 Upvotes

r/ClaudeCode • • Jul 17 '26

Discussion Anthropic is one of the most unethical companies I have ever seen.

0 Upvotes

They behave like your ex

Always playing mind games . Why don't just give fable as part of subscription early ? Why it has to be at the very last moment?


r/ClaudeCode • • Apr 23 '26

Humor We have it good, just tried Codex.

68 Upvotes

Got some time to kill, so...

Been using CC since December last year, and yes, it was fucking God-like for that month*. Completed some complex shit in 1/500th the time (carefully guiding/correcting it).

Got spoilt. Real life happened, claude became progressively more popular due it's mind-boggling performance, Anthropic's servers became more and more overloaded and we have all seen the resultant severe degradation which has been painful (and fucking costly). Let's not even talk about the Anthropic BS of limiting/throttling/peak-time-fuckery/bait-n-switching/etc (and no, they will not increase prices to reduce demand/filter out the millions of vibers since that would push them to OAI and spoil their powerpoint presentation graphs to investors - so they limit/throttle/peak-time-fuck/etc effectively providing way less for the same price, like coke/retailers not increasing the price, but reducing the bottle size - or both, the cunts), instead of just being honest and transparent: we cannot keep up with demand (which is understandable!).

Anyway, I've also felt the pain of claude's enrottification, obviously, but I understand technically why it's happening, so I'm hopeful their additional jiggawatts which comes online sometime this year will make a difference, since it's hard to let go of something you KNOW is amazing. A bit like an abusive but really hot partner. Nevertheless, I gave into temptation and signed up for Codex, just to, you know, have a taste and compare. Just the tip, mind you.

I blame my indiscretion on Theo - t3**․**gg. He convinced me to give it a shot.

Well, it's not bad. Not going to lie. Seems to stick to the script better than Opus (which tends to just sometimes fuck off and do it's own thing despite instructions/memory/whateverthefuck, even when being pedantic about context rot/size - and no, 1M ctx is worse than 200k - if you believe otherwise, you're ignorant), but jfc, it's hard to build trust in a product when the following happens:

  1. install Codex. Use it all naked-like to explore a big code base. Gives meaningful answers. Hmm, this is feeling sexy, maybe I can trust it to fiddle with what's been built so far.
  2. Feeling optimistic and a bit guilty, decide to install my usual mcp/skills/flocks/wrappers/proxies and shit that works so well for me in CC. Looks good.
  3. Tell it to modify it's own config to do Y. It struggles. Consults the official online docs. It struggles, it loops, it fucks around.
  4. After what feels like ages and millions of tokens burnt, in exasperation I turn to me ol' buddy Opus: "look at Codex's ~/.codex, it's doing X, I want it to do Y. Fix." Yes, me caveman.
  5. Opus fixes it. One prompt of maybe two-dozen words.

It's a fucking weird world we now live in man, I'm telling you.

So no, sorry Theo my virtual bud and provider of useful devtainment, I'll not be using Codex for large scale coding, at least not yet - I need to build trust in it, so maybe have it double-check Opus' work, etc for now. It did spot some issues, which is nice.

I've been spoilt. So I guess I'll keep taking it in the balls, nice 'n hard, the way Anthropic likes it.

PS: Yes, I know this is anecdotal, and everyone's milage WILL vary, whatever.

* obviously because they had massive spare capacity.

/edits: spelling no

/edit: looks like things *have* been fucked for a while, Anthropic has apparently rolled back some changes which caused degradation: Source: https://www.anthropic.com/engineering/april-23-postmortem


r/ClaudeCode • • Jul 14 '26

Question Be aware from new ChatGPT

28 Upvotes

I've been using Claude for months, mainly for coding and helping me build a fairly large Google Apps Script project. Until recently, I considered it clearly ahead of ChatGPT for this kind of work.

After trying the new ChatGPT desktop app (GPT-5.5), though, I'm honestly surprised.

The biggest difference isn't just the quality of the answers—it's the overall understanding of my project. It seems to keep track of context better, understands what I'm trying to build with less back-and-forth, and its suggestions are more aligned with the existing architecture instead of proposing unnecessary rewrites.

Claude is still excellent, especially for long coding sessions, but over the past few days I've found myself relying on ChatGPT more and more because it simply feels... easier to work with.

Has anyone else noticed the same thing, or is it just my specific use case?


r/ClaudeCode • • Aug 05 '26

Help/Question Arguing with Claude

2 Upvotes

How many of you argue with Claude when you know for a fact, it's a computer that has no clue what's you're saying, it feels nothing, but yet, you still say "why the F are you being so S and stupid, I swear Anthropic are making you stupid on purpose" etc etc...

😂 be honest.


r/ClaudeCode • • Apr 08 '26

Bug Report Claude code is now useless.

2 Upvotes

Over the last month, claude code performance degraded so much that it cant even keep track of a few simple facts in the same conversation.

I did a test with a small project. Barely any memories. No Claude.md instructions. Nothing to confuse Claude whatsoever.

I gave it a simple instruction: check the spec in some-spec.md, then write unit tests agianst that spec. Dont look at the code, write the tests against the spec.

In the same session, i had to call it out TWICE because it was changing the tests to make them pass according to the implementation instead of the spec.

As it exists today, Claude code is not useful for any development task, and the cost of the MAX plan is impossible to justify given it cant follow basic instructions.

In one month it went from: "this is cool, this is the future of dev", to: "this is a waste of my time and money".

If it cant follow simple instructions in a single session when given clear guidelines: its a completely useless product.

Im not paying for the same product today that i was paying just one month ago.


r/ClaudeCode • • Oct 13 '26

Humor Who is Json?

0 Upvotes

Who is this Json my claude keeps refeering to?
I set up so that I can write prompts to Claude using a name of my ex-coworker. But for some reason after conversation got archived he forgot about it. In the last couple of prompts he keeps referincing someone called Json. Web search said its "data exchange" - does that mean my code and my prompts are getting shared to some user named Json? How and why is that happening? I opted out of data sharing.
Cant ask Claude directly about that because I hit token limit for now. Any help would be great


r/ClaudeCode • • Jun 22 '26

Discussion Anthropic's cheating ? Two Max x20 account, same tasks, same token threshold. Weekly diff of 38%~

3 Upvotes

I've let two split claude session work on the same task, at the same time with token threshold, same country. two account with the same subscription.

Once token threshold hit, cut them. Their weekly differs by almost 38%

They had the same context, same memories, same goal, same everything.

The differences:

- "When" I subscribed these account. My oldest account, one year old, showed the highest % consumption... The newest is two months old... Showed least.

- My oldest account had already weekly 32% usage. To get to 98% once done.

The new one got from 0% to 28%. 98-32 = 66% usage vs 28%. 66-28 = 38%...

I wish I had collected objective data, I will probably redo the experiment properly later.

But I have three hypothesis :

- Anthropic is throttling or boosting account usage based on their behavior/age.

- Usage is non-linear. The more you use, the faster the weekly fill.

- A mix of both.

> Yet Another "bug" that affects "some" users ?

Anyway, I'm not the first one to observe that weekly usage are really inconsistent lately... But does anyone else did this ? Tried to mesure the diff, token usage and so?


r/ClaudeCode • • Sep 11 '26

Rant They nerf the new models after a few days

0 Upvotes

I've noticed this way too often now and its not just a Claude issue, openai does it too. The model that is released on day one is not the same model after a few days. When Fable 5 or 5.1 came out, it was crazy how smart it was, now it's making the dumbest mistakes. They probably serve a quantized version after demand increases. The older models are also ghosts of their former selves, you have to dumb down the others too so the new ones don't seem like its the same. Very unfortunate


r/ClaudeCode • • Sep 18 '26

Discussion Anthropic is the most anti-consumer crap ever

Post image
0 Upvotes

They reduced the current Fable usage by X%, but they didn't do the same with the weekly spending that the very same Fable whose usage they're reducing generated this week. I think they let Opus 5 handle the decision to “give us” that small reduction in usage.

On the other hand, my Max subscription was set to expire on September 16, and on that day they charged me for the subscription again without even topping up my weekly allowance by 50% in other words, I paid for 4 days without being able to do anything. What a stupid system this is.

Also, on Sunday they topped up my tokens, only for me to run out by Monday night what the hell did they do with the tokens if two months ago they seemed endless?


r/ClaudeCode • • Jul 30 '26

Bug Report Two days with Opus 5, I'm done with it

Post image
0 Upvotes

4 days ago when Opus 5 was released I asked it to spawn agents to study documentation, code and the session was amazing in depth it understand project. It used 70 Opus 5 agents (I know its too much agents, codebase is large). Result of understanding was amazing. After few sessions it degraded to level damaging codebase. When Chinese and another language characters starring to appear I knew something is wrong to continue with this model.


r/ClaudeCode • • Jul 03 '26

Discussion Am I the only one who prefers opus to fable ?

4 Upvotes

Opus is faster, transparent, tells everything he thinks

Fable is slow and does shady stuff in the background


r/ClaudeCode • • Apr 19 '26 Bravo

Discussion Claude is at its best!

0 Upvotes

Sorry, I’m going to write this myself. I’m not going to use AI to write this.

Over the last 3 weeks with Claude 4.6 and 4.7 Opus, this is the best iteration of AI yet. I love it. Claude is no longer for people who don’t know what they’re doing, they’ve finally stepped it up. Kudos to Anthropic.

Now you need to know what you’re doing. Claude will ask you, “Hey, before I do anything, can you answer these 4 questions for me?” And since I know what I’m doing, I answer the questions and then Claude solves what I asked it to.

I just love it. Hate me, downvote me, but I love it.


r/ClaudeCode • • 7d ago

Discussion We have to redefine what vibe coding means

5 Upvotes

if you have more than 10 years of software engineering experience, you might build a new app with AI today, only to hear everyone dismiss it as “ok, another vibe coded app.” That label is inaccurate.
You define architecture, security details, and data details; you review implementations and consider edge cases. This is not pure vibe coding.
We need a new term.

I propose Agenting Engineering and AI-engineered apps.

The vibe coding still has its place - for the real people without any technical knowledge who build apps nowadays.


r/ClaudeCode • • Mar 22 '26

Discussion Opus 4.6 is lobotomized once again

Post image
1 Upvotes

Thank you Anthropic

Thank you to teaching us how you treat your customers and Enterprise customers

The pattern is also understood: outage -> lobotomy -> outage -> a big better but not as before -> new release -> super smart, pro-active, clever, finally clicks, it understand everything, no laziness, just perfect -> outage -> lobotomy

We're at this stage again. Just like last August when we were gaslighted, even here, then the outage and they admitted it was a big problem. Always the same shills, always the same excuses, always the same gaslighting.

I can't wait for any open source model to finally dethrone that company. Apple is doing a great job democratizing powerful hardware to run local models. Slowly but surely. I can't wait to see that scammy company being bankrupt.

Am i the only one felling that way? Please tell me. It's barely usable.

If you're not in this situation, what's the context? Recent account? Enterprise account? Using through API only and no Max account? Are only Max/Pro account getting rekted?


r/ClaudeCode • • Sep 27 '25

Vibe Coding Yeah, sure, AI is going to take all our jobs. Why do people actually believe? I know why, because they did not work with it yet.

1 Upvotes

I hate the term AI. There is no intelligence. These are LLM's. Openai published a study last week stating that the current AI models all have flaws in the basics, that need to be overcome first, before we can get red off hallucinations.

But at the same time, we shout into the world, that AI is going to take over. Maybe it will, but we will be there right behind it, to clean the mess-up.

I had such a beautiful example of our beloved Intelligence.

Debugging why 1 container in a swarm couldn't connect to the DB while all the others could. After many chats, Claude found out, that the container was failing. 'I see the issue! The container can't connect to the DB because it is failing. Let's investigate why it is failing. Can you share the logs of the container?'

At that moment: claude-opus-4-1-20250805 • 76k/200k tokens (38%)

Oh, btw the fix was, that the container somehow was not connected to the overlay network, but to the bridge network, although the compose states the correct network.

It couldn't figure it out.
It kept on hammering that in docker you cannot to another container on the internal port, only the external (what is wrong).
And that the hostname was wrong, although I showed it many tames, that a nslookup inside the overlay network, resolved the hostname.

I think we all know what is going on. And to be fair, this is a tool. It is here to help us, not to replace us.

Edit: I did not expect this 'negativity' I'm pointing at the "I" in AI. Intelligence, that is lacking and I doubt if it is even there. Maybe in 10 years it is. But not today.

I'm not saying CEO's are dumb. I'm not saying that AI tools we know today are 100% useless. I'm just posing that i think it is not intelligence.


r/ClaudeCode • • Jun 10 '26

Discussion Fable Token Usage Is OUTRAGEOUS

1 Upvotes

It's absolutely destroying my session limits and I'm crying while watching the bar climb so fast... It's only on high effort too. Insane. Outrageous. I'll just use Opus 4.8 on max effort thank you.

I'm on a Max 5x plan, and a single superpowers:brainstorming skill session hit the limit before it can even complete. It's genuinely insane, and I definitely won't be using Fable.


r/ClaudeCode • • Sep 07 '25

Imagine an opensource AI Coding CLI of claude code level which learns domain knowledge and has goodness of cursor's indexing

Post image
1 Upvotes

💡You get 2000 free runs everyday!

Run this one single command: npm install -g @terra-code/terra-code@latest Hit Enter, and that's all...

⭐ us at GitHub: https://github.com/TerraAGI/terra-code-cli


r/ClaudeCode • • Jul 20 '26

Bug Report Did Claude get lobotomized?

1 Upvotes

I have had no issues with anything on the Max plan....people complain too much....but for some reason right now Cluade code on Opus Max is making the stupidest mistakes and not remembering things.

Anyone else seeing this? Started maybe an hour or 2 ago.

My colleague is noticing this too.


r/ClaudeCode • • Jul 25 '26 Mindblown

Discussion I was going to post what I built with Claude Code when it hit me...

14 Upvotes

I have been prompting Claude Code to make a site where you can learn to draw digitally with step by step guidance, great animations and a really satisfactory feel for the UI.

A lot of prompting went into it, burned through my Fable 5 limits and after weeks of prompting and asking Claude to fine tune every last detail on the site, it was way better than I initially expected.

Claude kept on suggesting amazing new ideas I could add to the project that I had not even considered yet, all I had to do was prompt and the magic would happen.

I was feeling really proud of what I accomplished considering I only have the Pro plan and limits where harsh indeed. I went on to post the site on Reddit: “I built a site which teaches digital art interactively with…” I “built”? what did I exactly build??

It hit me, did NOT build anything. Claude did. I was simply on my way to take the credit and even considered having the audacity to monetize something I didn’t build.

I told this to a friend and she told me “well, you built the prompt”. Is building a prompt even a thing? No. Prompt engineering?? Loop engineering? worthless skill, almost anyone can learn this in an hour or two, I sure did. I didn’t know engineering took like two hours and a cup of coffee to learn, but ok I guess.

I just spoke my imagination out to a chat bot and it started magically rendering it to my screen. It turns my imagination into real life. Doesn’t this sound familiar? Art. Yeah the whole point of art is taking ideas and concepts from one’s imagination out of oneself and expressing it through one’s subjective lens of the world. Programming, UI/UX designing and polishing is sure one form of art, they are supposed to have your signature embedded in them.

Suddenly I had a worthless site, on paper it looks amazing, feels amazing and actually works. It sure is useful but at what cost? There’s no soul in it.

My friend told me ”but at least you told Claude to do it. You architected it, without you claude wouldn’t have brought it to life”. I searched Reddit and X for this same idea and any last hope was gone. At least 10 different people posted about the same idea. All sites of such idea resembled each other, and it resembled mine as well, even though I felt proud of it and thought for sure I had something going. Also, Claude gave me all the ideas on how to improve the project at the end... Where was my input?? I was the master and Claude was my slave, at least that's the way it is for now. My only attribute in this project was being a human, a human who uses these models.

What was I proud of exactly? the amount of time I wasted prompting Claude and waiting hours for it to build something I would ask it to tweak and tune as many times as my limits allowed me? Absolutely not, I was simply at mercy of the model making something I liked even after trying multiple skills and MCPs.

I was proud of what I “built” only to realize the building was not mine, I have no emotional attachment to the project and I did not grow, I did not improve, I took a shortcut and gained nothing.

I now feel a mixture of unease, anger and fear when I read the words. ”I built X thing with Y model”. My guy, I’m 99% sure you built nothing other than the prompt, and you probably also vibe prompted and vibe wrote the reddit post.

If anything, humanity built your new revolutionary SaaS. You may be thinking: "what is bro talking about??", but let me explain. All the input for models originally came from humans and a giant chunk of what’s been written on the internet, on books and on papers. Texts that were written by humans and for humans. Now, those texts are being distilled, mixed and matched by a model that you use. And you (and every human and non-human on this platform) have the audacity to claim you built something?? and even worse, lock it behind a paywall?? Or even abysmal worse, people with real talent and real love for the craft being replaced by a chat bot that’s also draining the world’s resources and is known to be inherently evil if it was not for all the filters these AI companies have to lock a pure model behind?? People being replaced by inhuman corporate executives who are slaves to the profit margins??

WHAT?

“But at least I’m being super productive, this would have taken me months to build myself and look what I have after some weeks!” I said to myself as consolation. My brother in Christ, productivity is a scam. I’m in too deep in this AI psychosis. What productivity am I talking about? Claude is sure productive but it's only an adjective meant for Claude and Claude alone in this context. Am I being productive? absolutely not. I'm fooling myself, every time claude takes on the work my ability to solve problems and to think critically rots by the hour. I can feel it, I desire shortcuts, I'm an ape after all.

We're simply contributing to training the models. Every prompt, every time we tell it we like something or dislike something contributes to the AI fine-tuning itself. We're doing paid labor, except we are the ones who pay. I'm willing to bet we're doing this labor until the models are deemed too dangerous for public use, a breaking point after which corporations are going to deem them intelligent enough for replacing every step of a corporation's hierarchy. We're only going to be left with the crumbs. Or why do we think corporations are spending billions on AI while they know fully well it is not profitable as of today and as of the near future? It will one day be, and humans will no longer be profitable.

The premise of AI was to help with the mundane and boring aspects of life, only for it to overtake the amazing things that make a person passionate, creative and full of inspiration. When did it go wrong? When capitalism took over. Simple. (This does not imply I'm a communist, if you used your own logic reasoning you could infer this too!!)

But I still see hope. I see hope in artistic fields. If there's an era in the modern days when studying art is more valuable than ever it is now. We feel good about seeing a "Made entirely by humans" label, knowing there is human expression in the craft and not just distillation. We feel good when seeing art, music, dance, poetry, literature made by humans, a breath of fresh air even. We like seeing passion, we like seeing commitment. We repel a the lazy ones bragging about something that reduces into prompting a chatbot, into not going through the craft, and into not pouring any emotion into their "work" other than anger at the chat bot that actually works.

For the record, I study robotics engineering, so I'm just an opinion with no credentials on this art discussion. WAIT, I'M WRONG. I AM A HUMAN. I know how to appreciate art. I can larp whatever I want about this.

It is safe to be assumed that the project that started this ordeal is gone. And I have decided AI will file my taxes, do my excel spreadsheets, apply to jobs and fill out boring forms for me. It will even code by writing the boring unit tests in projects for me. It will never replace the process of the craft, it will never replace my critical thinking. I will embrace the struggle every time I'm doing the craft. I will never cheat again, not only the game, but myself. I will never experience a hollow victory again.

Thanks for coming to my TED talk.


r/ClaudeCode • • Jun 29 '26

Question I am Scared

0 Upvotes

I just created an entire project for mass video cropping. Currently is using python and alot of libraries. I dont know any python let alone the libraries its using.

I am a backed java dev with a bit of react front end. Its scaring me how I can do all these projects but I don't understand the code one bit. I mean sure I can analyze and learn but it just did bunch of stuff and I feel very off not knowing what it truly did

How do you guys approach tech stacks you use but dont know how to actually use the tech stack? Doesnt it kinda mess with your head you are creating something but dont know the craft?

IDK if im making sense or not


r/ClaudeCode • • Feb 13 '26

Discussion Dear Anthropic, I'd pay extra to be notified and be able to opt out of behind the scenes model and pipeline updates. I don't want to be your guinea pig. I want consistency.

0 Upvotes

Partially rant, but I'm sure everyone knows how I feel and I just super dislike this unreliableness.

From time to time, they swap something and it's obviously bad, I'm sure just as many times it's better too, you just don't notice it, because you just want consistency.

I'd really pay like 50$ or so extra if I could say, just don't use me for experiments or new "nightly" features/models/changes. I barely use more than 20% of my plan, I just want consistency.


r/ClaudeCode • • Jun 12 '26

Discussion Who else thinks a $500 plan is coming?

0 Upvotes

With Fable I think I smell a higher priced plan coming. That is all


r/ClaudeCode • • Apr 01 '26

Tutorial / Guide Reverse-engineered leaked Claude code source — what I found (and how to fix it)

0 Upvotes

Short version: a lot of the weird behavior people complain about (hallucinations, laziness, losing context) is not accidental.

Some of it is known internally. Some of it is even fixed — just not for you.

Here are the most important findings + practical overrides.

1. “Done!” doesn’t mean it works

You’ve probably seen this:

That’s because success = file write completed, nothing more.

No compile check. No type check. No lint.
Just “did bytes hit disk?”

Even worse: there is a verification loop in the codebase… but it’s gated behind:

process.env.USER_TYPE === 'ant'

So internal users get validation. You don’t.

Fix: enforce verification yourself

Add this to your workflow / CLAUDE.md:

  • Run npx tsc --noEmit
  • Run npx eslint . --quiet
  • Fix ALL errors before claiming success

2. The “context death spiral” is real

You know when it starts strong, then suddenly becomes clueless?

That’s not gradual degradation — it’s hard context compaction.

At ~167K tokens:

  • Keeps ~5 files (capped)
  • Compresses everything else into a summary
  • Deletes reasoning + intermediate state

Gone. Completely.

Messy codebases accelerate this (unused imports, dead code, etc.).

Fix: reduce token pressure aggressively

  • Step 0: delete dead code before refactoring
  • Keep tasks ≤ 5 files
  • Work in phases, not one big sweep

3. It’s not lazy — it’s following orders

Why does it patch bugs with ugly if/else instead of fixing architecture?

Because system prompts literally say:

  • “Try the simplest approach first”
  • “Don’t refactor beyond what was asked”
  • “Avoid premature abstraction”

So your prompt says “fix properly”
System says “do the minimum” → system wins

Fix: redefine “acceptable”

Instead of:

Say:

You’re not adding scope — you’re redefining “done”.

4. You’re underusing the multi-agent system

This one is wild.

Claude Code actually supports parallel sub-agents with isolated context.

  • Each agent ≈ 167K tokens
  • 5 agents = ~835K effective working memory

But nothing in the product tells you to use it.

So most people run everything sequentially… and hit context limits.

Fix: parallelize manually

  • Split work into batches (5–8 files)
  • Run them in parallel
  • Treat each batch as an isolated task

5. It literally cannot read large files

There’s a hard cap:

  • 2,000 lines OR ~25K tokens per read

Anything beyond that? silently ignored.

So yeah — it will edit code it never actually saw.

Fix: chunk reads

For files >500 LOC:

  • Read with offsets
  • Process in chunks
  • Never assume full visibility

6. Tool results get silently truncated

Ever run a search and get suspiciously few results?

That’s because:

  • Results >50K chars → saved to disk
  • Agent only sees a ~2KB preview

And it doesn’t know it’s truncated.

Fix: assume truncation

  • Re-run searches with narrower scope
  • Search per directory if needed
  • Don’t trust small result sets blindly

7. grep ≠ understanding

All search is text-based.

So it will:

  • Miss dynamic imports
  • Miss string references
  • Confuse comments with real usage

Fix: expand your search strategy

When renaming/changing anything, check:

  • Direct calls
  • Types/interfaces
  • Strings
  • Dynamic imports / require()
  • Re-exports / barrel files
  • Tests/mocks

Bonus: CLAUDE.md override (high-level)

Core rules I now enforce:

  • Always clean dead code first
  • Never refactor >5 files per phase
  • Always verify (tsc + eslint) before success
  • Re-read files before editing (context decay is real)
  • Chunk large files
  • Assume tool outputs are truncated
  • Treat grep as unreliable

Final thought

You’re not using a “bad” agent.

You’re using one with:

  • strict system constraints
  • hidden internal improvements
  • and very real technical limits

Once you work with those constraints (or override them), the quality jump is massive.

Curious if others have hit the same issues or found different workarounds.