What problem does it solve? Long AI coding sessions lose context when compacted or closed, and resuming past work means manually hunting down notes, branches, and session IDs. This Skill restores a previous session's full working context into a fresh terminal, or safely wraps the current one before a restart. ## Core Features & Use Cases - Wrap-and-prompt mode: With no arguments, it runs the close-session flow, verifies notes.md was actually saved (persistence gate), then prints fresh-start instructions. - Resume mode: Given a session slug, it locates the session's notes.md, registers the current terminal in active-sessions.json, updates the frontmatter session_id, strips stale ARCHIVED markers, checks out the recorded git branch, and renames the session. - Collision guard: Detects when the current terminal is already bound to a different active session and asks before re-binding, preventing silent detachment of live work. - Use Case: After a weekend break, run "/restart-session auth-refactor" to reload the session's goal, open questions, and next steps, check out the right branch, and continue exactly where you left off. ## Quick Start Ask the AI to resume a previous session by running /restart-session followed by the session slug, for example "/restart-session auth-refactor".