pre-compact-save

Consolidate session memory and state before context compression.

Updated Apr 18, 2026
One-click install
npx skills add https://github.com/harukainguyen1411/strawberry-agents --skill pre-compact-save
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pre-compact-save
Source: https://github.com/harukainguyen1411/strawberry-agents/tree/main/.claude/skills/pre-compact-save
Command: npx skills add https://github.com/harukainguyen1411/strawberry-agents --skill pre-compact-save

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill solves the problem of preserving session state across a context compression by consolidating memory shards, handoff notes, journals, and learnings, ensuring continuity without ending the session.

Core Features & Use Cases

  • Memory Consolidation: Runs the Lissandra process to gather and compress session data for persistence.
  • Session Snapshotting: enables mid-session snapshots to facilitate session continuity.
  • Use Case: For AI coordinators that require maintaining context over time, use this Skill to prepare for a smooth /compact operation without losing state.

Quick Start

Run this skill to consolidate the current coordinator session before executing the /compact command.

Frequently Asked Questions about pre-compact-save

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

FAQPage Schema
How do I preserve AI session state before context compression?

To preserve AI session state before context compression, you need to consolidate memory shards, handoff notes, and journals. This ensures continuity without ending the session by preparing the data for a safe compression operation.

What is the best way to prepare for a safe context compaction in AI workflows?

The best way to prepare for safe context compaction is to automate session memory consolidation. Gathering and compressing session data for persistence prevents state loss during the compression operation.

Do I need Lissandra to automate session memory consolidation?

Yes, you need Lissandra to automate session memory consolidation. The Skill depends on the Lissandra process to gather and compress session data for persistence and handles environment detection and artifact reporting.

Can I take a mid-session snapshot to maintain coordinator context over time?

Yes, you can take a mid-session snapshot to maintain coordinator context over time. Session snapshotting enables you to facilitate session continuity by preserving state before a compression or shutdown.

Why does my AI coordinator lose context after a context compression operation?

Your AI coordinator loses context after compression because session memory and state were not consolidated beforehand. Consolidating memory shards and learnings ensures continuity across the compression boundary.

How do I consolidate session memory and state for safe context compression?

You consolidate session memory and state for safe context compression by running an automation process that gathers shards, handoff notes, and journals. This prepares the session for a smooth compaction operation without losing state.