BuildGist

You’ve hit your session limit in Claude Code: what to do next

Kayvan Zahiri ·

When Claude Code says You've hit your session limit · resets and a time, your plan's five-hour session limit has run out. The files it already changed stay in the project folder. Wait for the time in the message, or read the diff and continue the task in Cursor or Codex.

When does the session limit reset?

At the time in the message, in the time zone it names. /usage in Claude Code shows it again, and so does Settings > Usage on claude.ai, with a bar for each limit. Anthropic's help pages, read on October 30, 2026, do not say when the five-hour window starts, so plan around the time Claude Code shows, not a count from your first prompt. To see what BuildGist writes about one run while you wait, read the sample run.

The message, word for word

This is the message as Claude Code showed it on October 10, 2026:

You've hit your session limit · resets 7:40pm (America/Los_Angeles)

The time is when the limit resets, and the parentheses name its time zone. On the hour, the minutes drop, as in resets 1am. On August 20, 2026, the same message ended with one more part:

You've hit your session limit · resets 11:40am (America/Los_Angeles) · progress saved

Your plan also has a weekly limit. Claude Code's documentation, read on October 13, 2026, gives that message as You've hit your weekly limit · resets Mon 12:00am. It says Claude Code may warn you first, with a line such as You've used 85% of your session limit · resets 3:45pm, and that both limits are shared across models, so switching models with /model does not lift them.

What counts toward the weekly limit

Everything on the same plan. Anthropic's help page on Claude Code with a Pro or Max plan, read on October 30, 2026, says both limits are shared with your chats on claude.ai and in the desktop and mobile apps, and with Claude Code in an IDE. Codex and Cursor count their own way: see you’ve hit your usage limit in Codex and Cursor usage limit reached.

Your options, in order

  1. Wait for the reset. Keep the session open. If Claude Code is signed in with a claude.ai subscription, it can wait and pick the task up on its own after the reset. It does not start that wait by itself when the reset is more than 24 hours away, as a weekly limit's can be: then pick Wait here, then continue automatically in /rate-limit-options.
  2. Use a limit reset, if you have one. Some plans are offered one now and then. It is under Settings > Usage on claude.ai, not in Claude Code, and it refills the session or the weekly limit for Claude Code too.
  3. Buy more usage. On Pro and Max plans, /usage-credits in Claude Code buys more. A higher plan has higher limits.
  4. Continue the task in Cursor or Codex. If you already use one of them, you can keep going now. The rest of this guide is how.

Read what already landed

Before you switch, see the working tree. In the project folder:

git status
git diff --stat
git diff

You do not need to commit. git status also lists edits that were yours before this session, and new files stay untracked until added. If the session committed, git log --oneline -5 and git show show those commits. Read sign-in, permissions, deletion, payments, new dependencies and configuration first. The file-by-file read is in what did Claude Code change?

Write the task down

The next agent can read the files. It cannot read the Claude Code chat. Write a short note. This sample follows the home page's Google sign-in example, a real Claude Code run, shortened and edited.

Task: Add login with Google.
Done so far: the sign-in button, where Google sends you back, and the browser's signed-in
status. See the diff.
Not done: deleting a note does not check that the note belongs to the signed-in user.
Next step: add that check.
Stopped because Claude Code hit a usage limit. Do not redo the sign-in work.

Without that last line, the next agent can redo work that was already right.

Open Cursor or Codex in the same folder

Open the other agent on the same project folder and start a new chat. Paste the note as the first message. Ask it to repeat the task and the next step before it edits anything. The Cursor steps, including why to start a new chat there, are in how to hand off a task from Claude Code to Cursor. The same handoff into Codex is in how to switch from Claude Code to Codex.

Or choose Continue

BuildGist does not detect that limit. You open the other agent yourself. When you start a new chat in Cursor or Codex in the same project, a BuildGist card at the bottom right offers the earlier agent's task. Choose Continue and the new chat starts with that task's context. Choose Start fresh to skip it. Nothing is handed over unless you choose Continue.

The context is your own words about the task. The transcript stays in Claude Code. The diff stays in the folder, where the next agent reads the files. By default the card offers a task active within the last 12 hours, so a limit you hit yesterday can be outside that window. The note does not expire. Codex needs you to approve BuildGist once, in Codex. BuildGist shows the steps. Setup is in Getting started.

When you choose Continue, the agent you continue in receives the task's context under your own account with it and its provider's terms. BuildGist records which agents that was between, and when.

Back in Claude Code after the reset

You can return to Claude Code later, in this same folder. Tell it the task, what the other agent finished, and what is left. If Codex is the one that stops on a limit, see you’ve hit your usage limit in Codex.

What you need

Codex needs you to approve BuildGist once, in Codex. BuildGist shows the steps. Setup is in Getting started.

To explain a run, your computer sends BuildGist what that run needs, and BuildGist passes it to Anthropic. BuildGist does not keep this material. It does not send your whole repository, files the run did not change, or files named like secrets, such as .env files and keys. It keeps the explanation and short cited excerpts of changed code, at most 12 lines each. Secret masking is best-effort. Privacy has the full list.

Every account gets 7 days of BuildGist Pro free, with no card. The 7 days start at your first explanation or Continue handoff. Nobody is charged when the trial ends. After that, BuildGist Pro is $12 per month, plus any applicable tax shown at checkout. See pricing.

Try BuildGist Download for Mac

No Mac handy? Try it in your browser: paste a session or a git diff and see the explanation.

Apple silicon, macOS 12 or later. United States, 18 or older.

Related

Questions: kayvanandre@gmail.com.