/resume should search sessions globally across all project directories
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
/resumeglobal 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
3 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
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.
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.