/resume should search sessions globally across all project directories

Resolved 💬 3 comments Opened May 17, 2026 by TheTravel3r Closed May 17, 2026

Feature Request

Current behavior

/resume (and the interactive picker) only shows sessions associated with the current working directory. If you start Claude from a different directory, you cannot see or resume sessions from other projects.

Expected behavior

/resume should show all sessions regardless of which directory Claude was launched from, with the ability to search/filter by title or date.

Why this matters

Sessions are stored centrally in ~/.claude/projects/ — the data is already there. The directory-scoped filtering in the UI is the only thing preventing global access. Users who work across many projects have no way to find an old session without knowing exactly which directory it was started from.

Suggested solution

  • Add a flag or setting (e.g. CLAUDE_RESUME_GLOBAL=1) to disable directory filtering in /resume
  • Or: make /resume global by default, with an optional filter to narrow to the current project

Workaround (current)

A custom /ses slash command + shell wrapper that reads ~/.claude/projects/*/*.jsonl directly and uses fzf for arrow-key navigation, writing a pending session ID to a file that a claude() shell wrapper picks up on exit to auto-resume in the same terminal tab. This works but requires exiting the current session first and relies on undocumented internal file formats.

Platform

  • macOS (Apple Silicon)
  • Claude Code CLI

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗