Skills Artificial Intelligence Session State Persistence and Restoration

Session State Persistence and Restoration

v20260707
session-persist
A comprehensive tool for managing and checkpointing agent sessions. It allows users to save the entire operational state, including memory, configuration, and task progress, across multiple conversations. Essential for long-running tasks, complex workflows, or when needing to pause and resume work seamlessly with full context preservation.
Get Skill
196 downloads
Overview

Session Persistence

Save and restore complete agent sessions across conversations.

When to use

When you need to pause work and resume later with full context, or when you want to checkpoint progress during long-running tasks.

Steps

  1. Save session — call mcp__claude-flow__session_save to snapshot current state
  2. List sessions — call mcp__claude-flow__session_list to see all saved sessions
  3. Restore — call mcp__claude-flow__session_restore to resume a previous session
  4. Info — call mcp__claude-flow__session_info for session details and metadata
  5. Clean up — call mcp__claude-flow__session_delete to remove old sessions

Session hooks

  • hooks_session-start — automatically restore context at conversation start
  • hooks_session-end — automatically save state with metrics export
  • hooks_session-restore — restore a specific session by ID

What's persisted

  • Agent state and configuration
  • Memory entries and patterns
  • Learning trajectories and metrics
  • Task progress and todos
Info
Name session-persist
Version v20260707
Size 1.48KB
Updated At 2026-07-09
Language