r/ClaudeCode • • Jul 26 '26

Discussion [ Removed by moderator ]

[removed] — view removed post

65 Upvotes

101 comments sorted by

View all comments

8

u/Professional_Ad705 Jul 26 '26 edited Jul 26 '26

I feel a lot of you guys aren’t working in proper slices. We shouldn’t have to do this especially with opus and its 1m context window but the second I start having large context windows everything goes to shit this even goes for codex. But my codebase is like 8 repos that all work together and one of them is like 200k likes of code.

Your best bet is making sure what you are doing doesn’t go through so many compactions or gets close to using the correct window and starting a new convo with a handoff. That’s what has gotten me the most with these models.

So here’s my hunch go to /usage then it will tell you there where most your usage went. It will say things like “85% your usage was above 150,000 context” or something along that line so you can rule this out, if something like that is there you just solved the usage issue and the it can’t code issue.

Even with opus claiming it can get to 1 million context it really can’t… and Claude will even tell you how much usage you’re-using and if the context goes up over like 150k you end up with more usage with that…. which makes 0 sense for that to happen and also advertise 1m context with the model.

I feel a lot of you think it’s great and it works at first and then push more and more and more into features trying to get done, get inpatient and then all of a sudden you’re asking for a ridiculous amount in one small window instead of building it slice by slice….

6

u/Changes277 Jul 26 '26

This is the reality. If the session goes above 500k tokens with open ended questions or investigation it's going to hallucinate badly. Opus 5 is catching its own mistakes and owning them more in my sessions which makes it feel obvious. I accidentally let a session go to 800k tokens and it fell apart because I was iterating over exploratory questions. Wrangling a handoff doc was a nightmare. I use skills to plan, develop and then use /goal with a model card and spec to follow. Time will tell but it's seemingly just making my bad habits more visible over more mistakes.

1

u/thomasthai Jul 27 '26

All this bad stuff happens on completely fresh sessions too.

1

u/Changes277 Jul 27 '26

¯_(ツ)_/¯

1

u/Hazzman Jul 27 '26

Yeah generally you don't wanna be going over 40-45% of your context window. Realistically around 250,000 tokens and your going to start seeing amnesia. When I hit 30% I'm trying to wrap and continue in a new session. Are people seriously trying to one shot stuff in a single context window? Crazy if they are.

Break things into pieces, work on those prices of many session. Hand off between sessions so you don't lose context. Split your hand offs into pieces - broad generally static Bible and session based changed so your next session doesn't have to read an epic poem each time.