continuity
Manage session continuity (Ledgers and Handoffs). Use this to save state before clearing context or ending a session.
When & Why to Use This Skill
The Continuity skill is a specialized tool designed to manage long-term memory and session state for AI agents. It enables seamless workflow transitions by allowing agents to create 'Ledgers' for in-session state preservation and 'Handoffs' for between-session continuity, ensuring that critical progress, decisions, and next steps are never lost when clearing context or switching tasks.
Use Cases
- Context Window Optimization: Save the current state of work and key variables before clearing a bloated conversation history to maintain performance without losing project progress.
- Multi-Session Project Management: Create structured handoffs at the end of a session to provide the next agent (or the same agent in a new session) with a clear summary of what was done and what remains.
- State Checkpointing: Establish recovery points during complex, multi-step operations, allowing the agent to 'read-latest' and resume from a known good state if an error occurs or a pivot is needed.
- Collaborative Agent Workflows: Facilitate the transfer of technical context and decision logs between different specialized agents working on the same codebase or project.
| name | continuity |
|---|---|
| description | Manage session continuity (Ledgers and Handoffs). Use this to save state before clearing context or ending a session. |
Continuity System
Use this skill to manage long-term memory artifacts.
Create a Ledger (In-Session State)
Save the current state of your work before clearing context.
python3 scripts/continuity.py ledger create "Title of work" "Description of current state, working files, and next steps"
Create a Handoff (Between-Session State)
Create a summary for the next session/agent.
python3 scripts/continuity.py handoff create "Title of handoff" "Summary of what was done, what is left, and key decisions"
Read Latest
Retrieve the most recent context.
python3 scripts/continuity.py ledger read-latest
python3 scripts/continuity.py handoff read-latest