context-saver

Capture a Gemini CLI session snapshot and write a validated RESUME.md to a target path.

1|Updated Apr 16, 2026
One-click install
npx skills add https://github.com/FrogAi/Xenopus --skill context-saver-frogai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-saver
Source: https://github.com/FrogAi/Xenopus/tree/main/Gemini/Skills/Gemini%203.1%20Pro/context-saver
Command: npx skills add https://github.com/FrogAi/Xenopus --skill context-saver-frogai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The context-saver solves the problem of losing session continuity by capturing a complete snapshot of an active Gemini CLI session, including task progress, file state, and environmental context, then writing a portable RESUME.md for later resumption.

Core Features & Use Cases

  • Production-grade snapshotting that records write_todos, git state, recent file activity, MCP tool state, and decisions/open questions.
  • Writes a RESUME.md that a fresh session can read to pick up where the previous session left off, enabling seamless handoffs even without memory.
  • Use cases include end-of-session handoffs, before pre-compact steps, and cross-session continuation across Gemini CLI workflows.

Quick Start

In the current workspace, invoke the skill to snapshot the session and write RESUME.md to the target path.

Frequently Asked Questions about context-saver

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

FAQPage Schema
How do I save my Gemini CLI session state to resume work later?

To save your Gemini CLI session state, capture a complete snapshot of task progress, git state, and recent file activity, then write it to a portable RESUME.md file for later resumption.

What is a session snapshot and what does it include for cross-session continuation?

A session snapshot is a complete record of your active CLI context, including write_todos, git state, recent file activity, MCP tool states, and decisions, enabling seamless cross-session continuation.

Can I capture MCP tool state and git context without a Git repository?

Yes, you can capture MCP tool state and ambient context in Gemini CLI environments with or without a Git repository, enforcing deterministic path resolution and strict validation for accurate resumes.

How do I avoid writing secrets when saving a session snapshot to RESUME.md?

The snapshot process redacts secrets before writing the RESUME.md file, ensuring sensitive information is removed while preserving task progress, decisions, and ambient context for deterministic recovery.

When should I generate a session snapshot for end-of-session handoffs?

Generate a session snapshot during end-of-session handoffs, before pre-compact steps, or for cross-session continuation across Gemini CLI workflows to prevent losing session continuity and task progress.