memory-persistence

Save and restore session context with /context-save and /context-restore commands.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/overthestream/agent-dotfile --skill memory-persistence
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memory-persistence
Source: https://github.com/overthestream/agent-dotfile/tree/main/general-agentic-utils/skills/memory-persistence
Command: npx skills add https://github.com/overthestream/agent-dotfile --skill memory-persistence

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill saves and restores session context to allow continuing work across sessions, ensuring no progress is lost when starting a new session or terminating unexpectedly.

Core Features & Use Cases

  • Persistent session snapshots that capture current progress and relevant state
  • Automatic capture of Git status and workspace changes for accurate restores
  • Seamless integration with /context-save and /context-restore commands to resume work

Quick Start

Run the /context-save command to capture the current session state and use /context-restore to resume later.

Frequently Asked Questions about memory-persistence

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I save and restore session context across multiple runs?

Save session context by generating a context snapshot that records current progress and Git status, storing it as a markdown file. You can then restore this state later to resume work seamlessly in a new session.

What is the best way to checkpoint work progress before terminating a session?

The best way to checkpoint work progress before session termination is to capture a persistent snapshot of your current state and Git status, ensuring no progress is lost when starting a new session or terminating unexpectedly.

Does session context persistence capture Git status and workspace changes?

Yes, session context persistence automatically captures Git status and workspace changes when generating a context snapshot, ensuring accurate restores and seamless resumption of your prior work state.

How do I resume a long-running task after an unexpected session interruption?

To resume a long-running task after an interruption, load a previously saved session snapshot to restore the exact workspace state, enabling mid-session resumption without losing prior progress.

Where are session checkpoint files stored for context persistence?

Session checkpoint files are stored as markdown snapshots under the .cursor/tmp/ directory, providing a persistent record of your workspace state that can be accessed for later restoration.

When should I avoid using session context snapshots for saving progress?

You should avoid using session context snapshots if your workflow lacks a Git repository, as the persistence mechanism specifically records Git status and workspace changes to accurately restore your prior state.