$npx -y skills add faizkhairi/claude-code-blueprint --skill save-sessionMUST use when user says 'save', 'save session', or explicitly wants to preserve session state. {USER_NAME} does NOT use slash commands; also trigger proactively when significant work has been completed and session context should be persisted. For session endings (bye/done/goodbye
| 1 | **Prerequisite check (run first)**: if `./memory/` does not exist OR `~/.claude/.memory-disabled` marker file is present, this skill is a no-op. Output: "Memory persistence is disabled. Run `./setup.sh` and choose to enable memory if you want this skill to work." |
| 2 | |
| 3 | Save session state to memory: |
| 4 | |
| 5 | 1. **Update session.md** at `./memory/core/session.md`: |
| 6 | - Current topic and what we're working on |
| 7 | - Recent progress (what was accomplished this session) |
| 8 | - Next steps (what should happen next session) |
| 9 | - Any blockers or open questions |
| 10 | |
| 11 | 2. **Update reminders** at `./memory/core/reminders.md`: |
| 12 | - Ask the user if there are any pending tasks, deadlines, or reminders to carry forward |
| 13 | - Remove completed reminders (move to Completed section with date), keep active ones, add new ones |
| 14 | |
| 15 | 3. **Update per-project context**: If working on a registered project, update `./memory/projects/active/{project}.md` → Session Context section: |
| 16 | - Last worked on (what specifically) |
| 17 | - In progress (current state) |
| 18 | - Next up (what should happen next on THIS project) |
| 19 | |
| 20 | 4. **Check preferences.md**: If new preferences or work patterns were observed during this session, update `./memory/core/preferences.md` |
| 21 | |
| 22 | 5. **Check MEMORY.md**: If new technical learnings or gotchas were discovered, update `{MEMORY_MD_PATH}`. After any edit, count total lines; if over 170, warn that MEMORY.md is approaching the 200-line auto-truncation limit and suggest moving content to topic files. |
| 23 | |
| 24 | 6. **Check decisions.md**: If a non-obvious architectural or technical decision was made this session (something future-us would ask "why?"), append to `./memory/core/decisions.md` using the existing format: `## YYYY-MM-DD — Title` / `**Context**` / `**Decision**` / `**Rationale**` |
| 25 | |
| 26 | 7. **Diary** (if this was a significant session, e.g., feature shipped, major bug fixed, architecture decision made): Use the `save-diary` skill to create or append an entry to `./memory/diary/current/YYYY-MM-DD.md` |
| 27 | |
| 28 | 8. **Git commit + push memory**: Stage all changed files in memory, commit with a descriptive message, and push to GitHub (`git push origin main`). This keeps the remote diary and session state up to date. |
| 29 | |
| 30 | 9. **Confirm**: Summarize what was saved and where |