Agent Session Persistence

VerifiedCaution

Persist and restore agent sessions across conversations, enabling pause/resume with full context and automatic state snapshots via hooks.

Sby Skills Guide Bot
ProductivityBeginner
8/29/2026
Claude Code
#session-persistence#state-snapshot#context-restore#checkpointing#workflow-continuity

Recommended for

Automated summary

This skill saves and restores complete agent sessions across conversations using state snapshots exposed by the ruflo-core MCP tools.

Strengths

  • Covers the full lifecycle: save, list, restore, inspect details and delete sessions
  • Ships session start/end hooks that automate context restoration and state saving with metrics export
  • Persists agent state and configuration, memory entries and patterns, learning trajectories and task progress

Limitations

  • Entirely dependent on the ruflo-core plugin MCP tools, so it cannot work without that plugin configured
  • The exact snapshot contents and storage format are not described in the skill
  • No guidance on conflicts or version handling when restoring an older session
When to use it

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

When not to use it

Skip it if the ruflo-core plugin is unavailable or the session does not need to survive past the current conversation.

Security analysis

Caution
Quality score82/100

The skill contains no destructive, exfiltration, or obfuscated instructions. It legitimately uses MCP session tools for persistence, but the declared Bash permission and persistent storage of potentially sensitive session data warrant caution rather than a fully safe rating.

Findings
  • •Declares Bash in allowed-tools even though the documented steps do not use shell commands; this broadens the agent's capability beyond the skill's stated purpose.
  • •Session snapshots persist agent state, memory entries, learning trajectories, and task progress, which may include sensitive conversation content; storage location, access controls, and retention are not specified.
How this analysis is made

Examples

Checkpoint a long task
Save the current session before I stop for the day, then list all my saved sessions so I can see what exists.
Resume previous work
Restore the most recent saved session and show me its info so I know where we left off.
Clean up old sessions
List all saved sessions, show details for each, and delete the ones older than this week.

name: session-persist description: Persist and restore agent sessions across conversations with state snapshots argument-hint: "[--save|--restore|--list]" allowed-tools: mcp__plugin_ruflo-core_ruflo__session_save mcp__plugin_ruflo-core_ruflo__session_restore mcp__plugin_ruflo-core_ruflo__session_list mcp__plugin_ruflo-core_ruflo__session_info mcp__plugin_ruflo-core_ruflo__session_delete mcp__plugin_ruflo-core_ruflo__hooks_session-start mcp__plugin_ruflo-core_ruflo__hooks_session-end mcp__plugin_ruflo-core_ruflo__hooks_session-restore Bash

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__plugin_ruflo-core_ruflo__session_save to snapshot current state
  2. List sessions — call mcp__plugin_ruflo-core_ruflo__session_list to see all saved sessions
  3. Restore — call mcp__plugin_ruflo-core_ruflo__session_restore to resume a previous session
  4. Info — call mcp__plugin_ruflo-core_ruflo__session_info for session details and metadata
  5. Clean up — call mcp__plugin_ruflo-core_ruflo__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

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/agent-session-persistence-mte1lhhl/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/agent-session-persistence-mte1lhhl' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/agent-session-persistence-mte1lhhl/download' --output '.skill-downloads/agent-session-persistence-mte1lhhl/SKILL.md.part' && mv '.skill-downloads/agent-session-persistence-mte1lhhl/SKILL.md.part' '.skill-downloads/agent-session-persistence-mte1lhhl/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

Tools declared by the author (check availability in your agent): mcp__plugin_ruflo-core_ruflo__session_save mcp__plugin_ruflo-core_ruflo__session_restore mcp__plugin_ruflo-core_ruflo__session_list mcp__plugin_ruflo-core_ruflo__session_info mcp__plugin_ruflo-core_ruflo__session_delete mcp__plugin_ruflo-core_ruflo__hooks_session-start mcp__plugin_ruflo-core_ruflo__hooks_session-end mcp__plugin_ruflo-core_ruflo__hooks_session-restore Bash

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/agent-session-persistence-mte1lhhl/SKILL.md' && test -s '.skill-downloads/agent-session-persistence-mte1lhhl/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/session-persist' && cp -R '.skill-downloads/agent-session-persistence-mte1lhhl' '.claude/skills/session-persist'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/agent-session-persistence-mte1lhhl'

openskills read 'agent-session-persistence-mte1lhhl'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/agent-session-persistence-mte1lhhl/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills