gemini-checkpoint-management

Manage Gemini CLI checkpointing for saving and restoring file states.

2|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/DTMC-marketplace/governance --skill gemini-checkpoint-management
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gemini-checkpoint-management
Source: https://github.com/DTMC-marketplace/governance/tree/main/skills/gemini-checkpoint-management
Command: npx skills add https://github.com/DTMC-marketplace/governance --skill gemini-checkpoint-management

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill manages Gemini CLI's checkpointing system, allowing users to automatically save states before file modifications and restore them later, preventing data loss and enabling safe experimentation.

Core Features & Use Cases

  • Automatic Snapshots: Creates Git-based snapshots and saves conversation history before file changes.
  • State Restoration: Allows users to restore the project to a previous checkpointed state.
  • Use Case: When undertaking a risky code refactoring, you can use this skill to ensure you can easily revert to the stable state before you started if anything goes wrong.

Quick Start

Use the gemini-checkpoint-management skill to list available checkpoints.

Frequently Asked Questions about gemini-checkpoint-management

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

FAQPage Schema
How do I save a checkpoint in Gemini CLI before modifying files?

To save a checkpoint in Gemini CLI, you enable the checkpointing feature to automatically create Git-based snapshots and save conversation history before applying file modifications.

Can I restore a previous conversation history and file state in Gemini CLI?

Yes, you can restore a previous conversation history and file state in Gemini CLI by selecting a saved checkpoint, which reverts your project using the stored git snapshot and session data.

How does Gemini CLI snapshot mechanism work for risky code refactoring?

The Gemini CLI snapshot mechanism creates a Git snapshot to preserve file states and saves session data, allowing you to easily revert to a stable state if a risky code refactoring fails.

How do I list available checkpoints in Gemini CLI?

You list available checkpoints in Gemini CLI by using the checkpoint management skill, which displays all saved states created before previous file modifications.

Do I need Git to use checkpoints in Gemini CLI?

Yes, Git is required because the Gemini CLI checkpointing system automatically creates Git-based snapshots to save and restore your project's file states during modifications.

Why does restoring a Gemini CLI checkpoint require delegating to gemini-cli-docs?

Restoring a Gemini CLI checkpoint requires delegating to gemini-cli-docs to retrieve the detailed documentation necessary for accurately executing the state restoration process.