context-and-continuity

Save, retrieve, and list named checkpoints across context compaction and session restarts.

21|4|Updated Feb 19, 2026
One-click install
npx skills add https://github.com/tylerjrbuell/reactive-agents-ts --skill context-and-continuity
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-and-continuity
Source: https://github.com/tylerjrbuell/reactive-agents-ts/tree/main/apps/docs/skills/context-and-continuity
Command: npx skills add https://github.com/tylerjrbuell/reactive-agents-ts --skill context-and-continuity

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Long-running agents lose valuable intermediate discoveries when context windows shrink or sessions restart, causing rework and missed insights. This Skill provides explicit checkpointing and memory configuration patterns so agents can save, retrieve, and review important findings despite context pressure or restarts.

Core Features & Use Cases

  • Explicit checkpoint API: Save named findings, retrieve by key, or list all checkpoints to ensure important discoveries persist beyond the active message window.
  • Auto-checkpointing and windowing guidance: Built-in thresholds and recommended iteration budgets help avoid context compaction and surface when to persist observations.
  • Cross-session persistence: Integrate enhanced memory tiers with a database path to survive agent restarts and support semantic recall for multi-session workflows.
  • Use Case: Run a multi-step research agent that discovers API endpoints and configuration details across dozens of iterations and persist each major finding so the final report compiles all confirmed results reliably.

Quick Start

Start an agent configured with the checkpoint tool enabled and enhanced persistent memory so it saves key discoveries across a long-running task.

Frequently Asked Questions about context-and-continuity

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

FAQPage Schema
How do I preserve agent memory and context during long-running AI tasks?

You can preserve agent memory across context compaction by using explicit checkpoint operations to save named findings and configuring persistent memory tiers with a database path. This ensures intermediate discoveries survive session restarts and context window shrinkage.

What causes an AI agent to lose intermediate findings during multi-step workflows?

AI agents lose intermediate findings when context windows shrink from compaction or sessions restart without persistent memory. Without explicit checkpointing, valuable discoveries vanish, causing rework and missed insights during multi-iteration workflows.

How do I set up cross-session persistence for a research agent?

Set up cross-session persistence by configuring an agent with the checkpoint tool enabled and enhanced persistent memory tiers. Providing a configurable database path supports semantic recall, allowing research agents to retrieve confirmed findings across multiple sessions.

When should I checkpoint agent context during iterative extraction workflows?

Checkpoint agent context when token utilization reaches built-in auto-checkpoint thresholds. Applying recommended iteration budgets and windowing guidance surfaces exactly when to persist observations, helping avoid context compaction during iterative extraction workflows.

Does context windowing work without a database for multi-iteration agent runs?

Context windowing manages active message windows without a database, but cross-session persistence requires a configurable database path. Explicit checkpointing saves named findings during the run, while enhanced memory tiers with a database survive full agent restarts.

What is the best way to manage context compaction in long-running AI agents?

The best way to manage context compaction is combining explicit checkpoint APIs with auto-checkpoint thresholds tied to token utilization tiers. This approach saves critical findings before context pressure forces compaction and supports retrieving them by key later.