/resume should search sessions globally across all project directories

Status Fixed / completed
Maintainer reply None cached
Activity 3 comments · opened May 17, 2026 · 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 ↗

3 Comments

github-actions[bot] · 5 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/28745
  2. https://github.com/anthropics/claude-code/issues/58591
  3. https://github.com/anthropics/claude-code/issues/49095

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

TheTravel3r · 5 months ago

Closing — Ctrl+A inside /resume disables the directory filter and shows all sessions globally. The premise of this issue was incorrect; the feature already exists.

github-actions[bot] · 3 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.