Axiom Lift

Claude Code · sessions

Resume shows nothing? The session is often still there

Why the Claude Code session picker comes up empty, how to find and resume the session anyway, what /rewind can and can't undo, and the same for Codex and OpenCode.

30 September 2026

A session picker that looks empty in one folder, with the missing sessions still on disk under other projects

The issue, as reported

It is one of the most common complaints on the Claude Code, Codex and OpenCode issue trackers, and it has been for over a year: you go back for a session you need, and resume shows nothing.

The details vary. The picker is empty, or lists far fewer sessions than there are files on disk. A session started in another folder can't be found from this one. The VS Code panel's history is gone after an update or a restart, and people describe losing hours of built-up context. Or resume opens the session, but the agent behaves as if it remembers none of it.

Two related requests come up nearly as often. People want to rewind the conversation, not just the code, and to undo an accidental /clear. And people with hundreds of sessions want to search them, or export one, to find the conversation where something was settled.

What developers report

Emptythe picker shows nothing, or far fewer sessions than there are files on disk
Elsewherea session started in another folder can't be found from this one
Vanishedthe VS Code history list is gone after an update or a restart
Hollowthe session opens, but the agent seems to remember little of it
Rewindtake the conversation back to an earlier point, or undo a /clear
Searchfind the one session, out of hundreds, where it was decided

Why it happens

Often the session still exists; the place you are looking just doesn't show it. Claude Code's sessions documentation explains why:

The "hollow" resume has a documented cause too. On a Pro or Max plan, resuming a session that has been idle for more than about an hour and is over 100,000 tokens opens a dialog. Resume from summary runs /compact straight away, so what the summary leaves out is no longer in Claude's context. Resume full session as-is keeps everything.

Where the Claude Code session picker looks: the current worktree by default, all worktrees with Ctrl+W, every project with Ctrl+A; headless and /loop sessions not listed; sessions older than 30 days swept
The picker starts narrow. Two keys widen it; a session ID finds the rest.

How to fix it today

These steps come from the Claude Code, Codex and OpenCode documentation.

  1. Widen the picker

    Run claude --resume (or /resume inside a session). Press Ctrl+A to list sessions from every project on this machine, Ctrl+W for all worktrees of this repo. Type to search, press Space to preview a session before you open it.

  2. Resume by ID or by file

    claude --resume <session-id> works from any directory on v2.1.223 or later, and is also the way into claude -p and SDK sessions the picker hides. If you know the file, pass its path. To see the newest transcripts:

    ls -lt ~/.claude/projects/*/*.jsonl | head -20
    claude --resume ~/.claude/projects/<project>/<session-id>.jsonl
  3. Check the VS Code archive

    Open Session history in the Claude Code panel, expand Archived sessions and click Unarchive session. To stop the 14-day archiving, set Archive Inactive Sessions to Never.

  4. Resume the full session when details matter

    If the resume dialog appears, choose Resume full session as-is. It costs more per request, but nothing is summarised away.

  5. Rewind the conversation, not just the code

    Run /rewind, or press Esc twice with an empty prompt. Pick a message, then Restore conversation, Restore code, or both (checkpointing docs). If you ran /clear by mistake, the same menu shows a (previous session) entry at the top until you exit Claude Code; /resume finds it after that.

  6. Name, branch and export what matters

    /rename auth-refactor makes claude --resume auth-refactor work later. Before an experiment, /branch copies the conversation so the original stays intact. /export notes.txt saves a readable copy.

  7. The same in Codex and OpenCode

    Codex: codex resume reopens a recent chat or searches older ones, codex resume --last reopens the latest session in this directory, --all looks everywhere, and codex fork copies an old session into a new chat (Codex CLI reference). OpenCode: /sessions in the TUI, opencode session list, opencode -s <id>, /undo and /redo (they need a Git repo), and opencode export <id> (TUI, CLI).

What the fix doesn't cover

Rewind is for this session, and only for Claude's own edits

Checkpoints don't track files changed by Bash commands, edits from most subagents, or changes you make outside Claude Code. Their file snapshots are swept with the session, about 30 days after the last one. Anthropic's own docs say checkpoints are not a replacement for Git.

How Axiom Lift solves it

Axiom Lift is a small helper on your computer. It reads the session files Claude Code, Codex and OpenCode already keep, never edits them, and saves every prompt, decision, requirement and result to your account as you work. The full conversation stays there, searchable, with the decisions filed.

That changes the finding problem. You search one history across all three tools, by what was said rather than by what the session was called. Your AI can do the same: over a read-only MCP connection, the next session asks Axiom what was decided and why, and gets the few lines that are true now rather than the whole transcript.

Claude Code, Codex and OpenCode sessions feed one searchable history; a search for why the queue was dropped returns the session and the decision
One history for all three tools, searched by what was said.

What it doesn't do matters here too. Axiom can't put a session back into your tool's picker, and it can't rewind a conversation or roll back files. For those, use /rewind, /undo and Git as above. What it gives you is the earlier conversation, readable and searchable, whatever happened to the session in the tool.

The free fix

  • Widen the picker, resume by ID, unarchive in VS Code
  • Rewind the conversation and Claude's edits within a session
  • Find a session by its name, title or first prompt
  • One tool at a time, on one machine

With Axiom

  • Search every session by what was said in it
  • Your next session asks over MCP and gets what is true now
  • Claude Code, Codex and OpenCode in one history
  • Doesn't restore sessions to the picker or roll anything back

The Free plan covers one computer, keeps everything up to 5 GB and includes search. Pro adds more computers and lets your AI reach all of your history. It runs on Mac, with Linux and Windows in beta, needs Python 3, and axiom uninstall removes it.

Find any session again, in any tool

One command in the terminal where you use Claude Code, Codex or OpenCode. Free, no card.

Try it free →

Claude, Codex and OpenCode are trademarks of their owners; Axiom works alongside them and is not affiliated.