session-save
Save the current session state (decisions, modified files, current status, and next steps) to a handoff file for later resume.
What this skill does
# /session-save Capture the current session into a structured handoff file so you (or another instance) can resume with full context. Creates a timestamped Markdown file in `.claude/sessions/`. ## When to Use - Before ending a session that isn't complete - Before switching to a different task - Before context reaches 75%+ (to preserve the important parts) - At natural milestones in a long task (after each phase) - To hand off to a second Claude instance ## Instructions Produce a handoff document with the following structure: --- ## Session Handoff: [TIMESTAMP] ### What Was Being Done [One paragraph: the goal, the approach, where things stand right now] ### Files Modified This Session [List every file that was created, edited, or deleted, with the nature of the change] ``` path/to/file.ts - [what changed and why] path/to/other.ts - [what changed and why] ``` ### Key Decisions Made [Architectural choices, tradeoffs accepted, approaches rejected and why] - **Decision**: [What was decided] - **Rationale**: [Why] - **Alternatives rejected**: [What else was considered] ### Current Status [Where things are right now: what's working, what's broken, what's in-progress] - Working: [...] - In-progress: [...] - Known issues: [...] ### Next Steps (Ordered) [The exact next actions to take to continue, specific enough that a fresh context can pick up without re-reading everything] 1. [First action]: `path/to/file.ts` - [what to do] 2. [Second action]: [...] 3. [...] ### Context to Reload [Files that must be read to resume with full understanding, keep this list short] - `path/to/key-file.ts`: [why it matters] - `CLAUDE.md`: project rules ### Blockers / Open Questions [Anything unresolved that needs a decision or external input before proceeding] - [ ] [Question or blocker]: [who/what can resolve it] --- ## Implementation Save the handoff to `.claude/sessions/handoff-[YYYY-MM-DD-HHMM].md`. Then output the file path so the user knows where to find it. ## Resume Pattern To resume from a handoff: ``` /session-resume .claude/sessions/handoff-YYYY-MM-DD-HHMM.md ``` Or manually: read the handoff file, then read the files listed in "Context to Reload" before continuing. ## Examples ### Example 1: Mid-Feature Save ``` /session-save ``` Claude captures: - Auth middleware was being refactored (files: `src/middleware/auth.ts`, `src/middleware/jwt.ts`) - Decision: switched from session tokens to JWTs (rationale: scales better across services) - Status: JWT validation working, refresh logic in-progress - Next: implement `refreshToken()` in `src/services/auth.service.ts`, then update tests ### Example 2: Context-Pressure Save When context hits 70%, run `/session-save` before `/compact` to preserve decision context that compaction might lose. ## Notes - Keep "Context to Reload" to 5 files max. The goal is a fast resume, not a full re-read. - "Next Steps" should be specific enough that a cold-start Claude can execute step 1 without asking questions - Don't save tool output or code snippets in the handoff; reference file paths instead. --- **See also**: - [Session Teleportation](../../guide/ultimate-guide.md#916-session-teleportation): broader session management patterns - [Instinct-Based Learning](../../guide/ultimate-guide.md#924-instinct-based-continuous-learning): what to extract from sessions before closing
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.