Claude Code "You've hit your limit": continue the task
Claude Code stopped at "You've hit your limit · resets 4pm"? Resume after the reset, or hand the task to another agent with the plan and diff.
TroubleshootingUpdated 6 min read
On this page
You're partway through a task and Claude Code stops with this:
You've hit your limit · resets 4pm (Asia/Kuala_Lumpur)Most threads only suggest waiting. People say the resumed session often goes back to re-reading the plan, gets it wrong, and spends tokens redoing finished work. This page covers how to continue without losing the thread.
Why the task stops and why it loses the thread
Claude Code stops because your plan's usage allowance is used up until the time in the message. Anthropic decides that reset time. Nothing on this page raises or shortens the limit. Anthropic's page on using Claude Code with a Pro, Max or Ultra plan explains how usage works for each plan.
The second problem is what happens next. The agent stopped mid-plan, so a fresh or resumed session has to rediscover which steps were done. Unless it checks the diff first, it tends to start over. Every fix below comes down to giving the next session the task, the plan and the current state of the files.
Fix 1: wait for the reset and resume the same session
Use this if the reset is soon and you want the same conversation back.
- Note the reset time in the message. It is in the time zone the message names.
- After that time, open a terminal in the same project folder.
- Run
claude --continue. This continues the most recent conversation. To pick a specific one, runclaude --resume <id>. Neither command changes a setting, so there is nothing to undo. - Before it does anything, tell it: "Run
git difffirst, list which plan items are already done, then continue from the next one."
Step 4 is what stops the re-planning from scratch.
Fix 2: hand the task to another agent by hand
Use this if you can't wait. The agent at its limit has stopped, so it is safe to start another one in the same folder. Don't run two agents on the same files at once.
Look at what changed. Both commands are read-only:
bash git status --short git diff --statStart another agent in that folder, for example Codex CLI or Gemini CLI, signed in with its own login.
Give it a handoff prompt filled in from your notes:
text You are continuing a task another agent started in this folder. Task: your original request in one or two sentences Plan so far: the last plan or checklist, and which items are done Run `git status` and `git diff` first to see the work already done. Do not redo finished items. Continue with: the next step.
The weak spot is the last plan and the last screens of output. If you didn't save them, scroll back in the terminal and paste them in. A fallback chain automates this part.
Fix 3: let Sledbot hand it over automatically
If you run long tasks and hit limits while you're away, Sledbot can do the handoff for you. A teammate gets an ordered list of accounts and a fallback chain. When one hits its usage limit, Sledbot stops the agent cleanly and starts the next entry in the same worktree. Stacking is opt-in: nothing switches unless you list more than one.
What happens at the limit
- Sledbot reads the limit message from the agent's screen.
- It sends Ctrl-C twice, and kills the agent if that isn't enough.
- It starts the next entry with a handoff prompt containing the task, the last plan,
git status --short,git diff --stat,git diff(cut at 12,000 characters) and the last 200 screen lines. - The activity feed shows "Switched from X (at limit, resets HH:mm) to Y".
Set it up
- Open Settings (⌘,), choose Accounts, then click Add account….
- For a subscription, pick Subscription (CLI login), choose the Agent and Machine, optionally add a Plan and Label, then click Add and log in. You log in through the CLI itself; Sledbot never sees the password.
- For an API key, save the key under Providers first. Then use Add account…, pick API key, choose the Provider, add a Label and click Add.
- Open Team, choose the teammate, then Settings. Keep Runs as on CLI agent (your subscription), order the Accounts list, and add the entries to fall back to in the Fallback list. An empty list reads "No fallback: work pauses at the limit".
- Give the task from the teammate's task field (Give
<name>a task…) and click Start.
More detail is in AI providers, accounts and fallback and Teammates, memory and routines.
The Claude-to-Claude rule
| Entry behind a Claude subscription | Works as fallback? |
|---|---|
| Another Claude subscription | No, never chained |
| Another CLI agent with its own login (for example Codex CLI) | Yes |
| An API key account | Yes |
| A model entry | Yes, runs through OpenCode by default |
What the handoff can't do
The next agent gets a summary, not the original conversation. A very large diff arrives cut at 12,000 characters, though the agent can run git diff itself. Sledbot can't raise your limit. If every entry is at its limit, the feed says "X is at its limit and the fallback chain is exhausted", and the agent appears under Needs you with the reset time.
If the fallback didn't kick in
| Symptom | Likely cause | Fix |
|---|---|---|
| Work just pauses | Empty Fallback list | Add an entry in the teammate's Settings |
| No switch happens | Only Claude subscriptions in the chain | Add Codex, another CLI agent or an API key |
| Switch fails | Next account shows "Logged out" | Settings > Accounts, card menu, Log in… |
| Agent won't start | CLI not installed | Settings > Agents, Install… |
| Nothing starts at all | Trial ended | Starting agents needs a license after the 7-day trial |
| Chain ignored | Task not started from a teammate | Start it from the teammate; the chain is a teammate setting |
| Banner at the top | "Sled Core isn't running" | Click Retry, or see Troubleshooting Sledbot |
An agent blocked on a limit also shows under Needs you, and the Health screen can offer Switch account when an agent hits a rate limit. See Needs you and approvals.
Checklist before you try again
- The stopped agent is no longer running in that folder.
git status --shortshows the work you expect.- The next account is logged in and not at its own limit.
- It isn't another Claude subscription.
- The handoff includes the plan, not only the diff.
If nothing works
If the limit message looks wrong for your plan, contact Anthropic support through the Claude help center. Include the exact message, your plan, when it appeared and your Claude Code version. For a Sledbot handoff that didn't happen, use MacSuite support.
Subject: Claude Code usage limit message
Message: You've hit your limit · resets 4pm (Asia/Kuala_Lumpur)
Plan: your plan
Claude Code version: output of claude --version
Time it appeared: date and time with time zone
Tried: waiting, claude --continueCommon questions
Can I use two Claude subscriptions in Sledbot as a fallback?
No. Sledbot never chains a Claude subscription into another Claude subscription. Use Codex, another CLI agent or an API key behind it.
Will the next agent know what the first one did?
It gets the task, last plan, git status, diff and the last 200 screen lines, not the full conversation. The diff is the reliable part, so keep a plan note in the repo.
Is it safe to start a second agent in the same folder?
Only after the first one has stopped. Two agents editing the same files at once will overwrite each other. Sledbot stops the first agent before it starts the next.
Does Sledbot cost extra?
Sledbot is part of MacSuite and needs macOS 14 or later. You can try it free for 7 days (as of November 2026); after that, starting or restarting agents needs a license.