resume-session
Load the most recent session file from ~/.claude/session-data/ and resume work with full context from where the last session ended.
- Kind
- Prompt
- Works with
- Claude Code, Codex
- Source
- affaan-m/ECC @ d3b8a3e90890
- Path
- commands/resume-session.md
- License
- MIT
- Jobs
- Context management
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
# Resume Session Command Load the last saved session state and orient fully before doing any work. This command is the counterpart to `/save-session`. ## When to Use - Starting a new session to continue work from a previous day - After starting a fresh session due to context limits - When handing off a session file from another source (just provide the file path) - Any time you have a session file and want Claude to fully absorb it before proceeding ## Usage ``` /resume-session # loads most recent file in ~/.claude/session-data/ /resume-session 2024-01-15 # loads most recent session for that date /resume-session ~/.claude/session-data/2024-01-15-abc123de-session.tmp # loads a current short-id session file /resume-session ~/.claude/sessions/2024-01-15-session.tmp # loads a specific legacy-format file ``` ## Process ### Step 1: Find the session file If no argument provided: 1. Check `~/.claude/session-data/` 2. Read the matching `*-session.tmp` candidates and apply the candidate ranking below 3. Load the highest-ranked candidate …