context-restoration

Restore session state from Serena MCP checkpoints using checkpoint_id.

2|Updated Sep 30, 2025
One-click install
npx skills add https://github.com/krzemienski/shannon-framework --skill context-restoration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-restoration
Source: https://github.com/krzemienski/shannon-framework/tree/main/skills/context-restoration
Command: npx skills add https://github.com/krzemienski/shannon-framework --skill context-restoration

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires serena, and includes references (resource) components.

What problem does it solve?

Restores complete session state from Serena MCP checkpoints to prevent context loss after compaction or interruptions.

Core Features & Use Cases

  • Checkpoint-based restoration
  • Auto-detection and retrieval of latest or specific checkpoints
  • Deserialization of context and wave/session state
  • Cross-session continuity and quick resume

Quick Start

Restore the most recent checkpoint to resume a dropped session.

Frequently Asked Questions about context-restoration

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

FAQPage Schema
How do I restore session state after context loss or interruption?

Context restoration retrieves your complete session state from a Serena MCP checkpoint, reloading serena_memory_keys, active_work, wave_context, project_state, and agent_context to resume exactly where you left off without data loss.

Can I automatically recover the most recent checkpoint without specifying an ID?

Yes, context restoration auto-detects and applies the latest checkpoint by default, enabling quick resumption of a dropped session without manual checkpoint selection.

What happens during checkpoint deserialization and validation?

The Skill deserializes checkpoint JSON and optionally validates integrity using SHA-256 hashing to ensure checkpoint data is uncorrupted before restoring your full session state.

How does context restoration maintain cross-session continuity?

By restoring checkpoint-persisted state including memory keys, active work, and project context, the Skill enables seamless continuation across sessions, eliminating context gaps from compaction or interruptions.

What checkpoint data gets restored to my session?

Context restoration recovers serena_memory_keys, active_work, wave_context, project_state, and agent_context from checkpoints, providing complete zero-context-loss session recovery.