Session Closure

Execute session closure protocol with resume creation. Automatically archives previous resumes unless tracked in git. Uses executable scripts for consistent archiving, validation, and commits. Creates resumes with Project Status (inter-project communication), Sync Status (authoritative source tracking), and Pending Outbound Handoffs (cross-project tracking). Checks for ALL uncommitted changes before closure and commits them before creating new resume. WHEN: User says "close context", "end session", "prepare to stop", "prepare to close session", "save state", "create resume", OR when I detect context usage approaching 170k tokens (proactive preservation), OR when SessionEnd hook invokes (automatic on /exit or /compact). WHEN NOT: Mid-session saves, "save draft" requests, temporary checkpoints, brief pauses, or "save file" commands. Don't trigger on file operations.

ChristopherA 41fa28f 14 files · 70.8 KB Updated

File contents

ChristopherA/claude_code_tools/tree/main/skills/session-closure commit 41fa28f5f9

Frequently asked questions

npx skillmds@latest add christophera/session-closure