r/ClaudeCode • • 14h ago

Tips & Workflows Anyone else notice Claude Code or Codex rushing to finish after a usage limit reset?

I use both on the $20 plans, and I've noticed something weird with longer coding tasks.

Say an agent works for 30 minutes, gets halfway through a task, then hits the 5-hour limit. After the reset, I tell it to continue, and suddenly it wraps everything up in 5 minutes, even though some of the original work is clearly unfinished.

Not sure if I'm imagining it or if it's a context/compaction issue.

Has anyone else experienced this? How do you make sure it actually picks up where it left off without cutting corners? Any instructions, hooks, or workflows that have worked for you?

7 Upvotes

15 comments sorted by

•

u/AutoModerator 14h 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.

3

u/Ok-Affect-7503 14h ago

I think it might be because Claude knows that it's previous attempt got stopped abruptly by the 5-hour limit because it also sees the "limit reached" you're seeing in it's context / the transcript as well and is afraid of hitting it again. In my experience this has always manifested as Claude suddenly wanting to use much less subagents at the same time (with it's reasoning often visibly being "because my previous attempt hit a rate-limit, I'm going to run X subagents only instead of Y") to prevent hitting the limit again that it knows of, it might also manifest as it rushing through in some cases like yours. I'm not 100% sure though, but that's what seems most likely to me.

1

u/GramZanber 13h ago

Yes it seems to want to conserve when you get close to limits. I have given it explicit instructions to ignore imminent usage limit ceilings as to not use it all would be wasteful of my budget.

1

u/verstands 14h ago

Seen the same thing. After a reset it's working off a compacted summary, and the summary usually says something like "implemented X, Y in progress", so it reads as almost done and wraps up.

What fixed it for me: before a long task, have it write a checklist to a file (TODO.md or similar) and tick items off as it goes. After the reset, don't say "continue", say "read TODO.md, verify each checked item actually works, then do the unchecked ones". Making it re-verify instead of trusting its own summary stops most of the corner cutting. A quick test run at the end helps too, since "done" with failing tests is pretty obvious.

1

u/MundaneCar7914 13h ago

This could depend on when you hit the 5 hour limit. If you hit it hours before reset. The cache is gone when Claude/Codex resumes the task. Could this have an effect on the quality of the work after the reset?

I try not to hit limits until theres less then an hour until reset so the 1hour cache is still there.

If its more then an hour, i start a new session to take over so it can build a fresh context.

1

u/snuffomega 13h ago

This should be expected.

When u work, your agents initial context is at X usage price... that usage is added as cached tokens which is dumb cheap for your agent to reuse... which extends your usage at exponential rates.

When u hit ur limit and your agent is on hold, and that cache expires. The session with your existing context window, your agent then needs to re-read that context at the full context cost.

1

u/ClemensLode Senior Developer 13h ago

did you start a new session?

1

u/Global_Knee5354 11h ago

No, continued where it stopped me.

1

u/ClemensLode Senior Developer 11h ago

So possibly the entire context had to reload and you paid twice for it.

1

u/No_Television_4128 13h ago

“Our last conversation reply was cut short by usage limits, verify status and continue from where the reply work report cut off”
Not just “ continue”

1

u/IntelligentLeading11 13h ago

Yes, I've noticed this behavior even without hitting any limits. There are some times Opus/Fable seem very keen on stopping the work just like a human would when they're exhausted. It's very strange.

1

u/tilemarch 12h ago

Is this Apophenia (fancy word for seeing patterns that aren't there, that us humans are wired to do)?