Use when resuming a previously paused Klaviyo dev session — lists saved session files and restores context, repos, branches, and next steps.
Restore a previously saved session so you can pick up exactly where you left off.
List available sessions:
ls -lt ~/.claude/sessions/session-*.md
Display each session with:
# Session: heading)Example output to show the user:
Available sessions:
[1] session-msk-consumer-lag.md
Goal: Add consumer lag metrics to MSK Kafka topic dashboards
Saved: 2026-03-10
[2] session-event-gateway-retry.md
Goal: Implement retry logic for event gateway DLQ
Saved: 2026-03-08
Ask the user to pick one — "Which session would you like to resume? (enter number or filename)"
Load the session file — Read the full contents of the chosen file.
Restore context — Present a structured summary:
Offer to verify repo state — Ask: "Would you like me to check the current branch and git status for each repo?"
If yes, run:
git -C {repo_path} status --short
git -C {repo_path} branch --show-current
For each repo listed in the session. Flag any drift (e.g. branch differs from what was saved, unexpected uncommitted changes).
Confirm readiness — End with: "Resuming session: {title}. Ready to continue from: {first next step}."