Never lose a Claude Code session again. This tool adds a persistent resume command to your Claude Code status bar so you can always pick up where you left off.
The session ID is displayed at the bottom of every Claude Code session, ready to copy and paste whenever you need to resume.
- Status Bar — Displays
resume: claude --resume <session_id>at the bottom of every Claude Code session - Session Log — Automatically logs every session start (with timestamp, session ID, and working directory) to
~/.claude/session-log.txt - Zero Dependencies — Pure bash, no
jqor external tools required
git clone https://github.com/scottcallan1987/claude-resume-statusline.git
cd claude-resume-statusline
bash install-resume-statusline.shRestart any open Claude Code sessions to see the changes.
| File | Purpose |
|---|---|
~/.claude/statusline.sh |
Script that renders the resume command in the status bar |
~/.claude/settings.json |
Updated with statusLine config and a SessionStart hook |
~/.claude/session-log.txt |
Append-only log of all session starts (created on first use) |
If settings.json already exists, the installer backs it up to settings.json.bak before merging.
Resume a session — copy the command from the status bar:
claude --resume 602a057e-7d51-4ed6-b6cf-a8c5ef4b1b78Browse recent sessions:
tail -20 ~/.claude/session-log.txtFind a session by directory:
grep 'my-project' ~/.claude/session-log.txt | tail -5If you prefer not to use the installer, copy the relevant snippets into your own config:
settings-snippet.json— thestatusLineblock to add to~/.claude/settings.jsonhooks-snippet.json— theSessionStarthook for session loggingclaude-resume-statusline.sh— copy to~/.claude/statusline.shandchmod +x
rm ~/.claude/statusline.sh
# Remove the "statusLine" and "SessionStart" blocks from ~/.claude/settings.json
# Optionally: rm ~/.claude/session-log.txt