Central authority for Gemini CLI Checkpointing. Covers git-based file snapshots, automatic state saving, /restore command, and rollback. Use when enabling checkpointing, restoring previous states, undoing changes, or planning experimental workflows with Gemini. Delegates 100% to gemini-cli-docs for official documentation.
Limited to specific tools
Additional assets for this skill
This skill is limited to using the following tools:
STOP - Before providing ANY response about Gemini checkpointing:
- INVOKE
gemini-cli-docsskill- QUERY for the specific checkpointing topic
- BASE responses EXCLUSIVELY on official documentation loaded
Meta-skill for managing Gemini CLI's checkpointing system. Checkpointing creates automatic snapshots before file modifications, enabling instant rollback.
Keywords: checkpoint, rollback, restore, undo, snapshot, revert, experiment, checkpointing, /restore
Use this skill when:
When enabled, before any file modification Gemini creates:
~/.gemini/history/<project_hash>Checkpoints are stored locally and don't interfere with your project's Git repository.
Add to settings.json:
{
"general": {
"checkpointing": {
"enabled": true
}
}
}
cat ~/.gemini/settings.json | jq '.general.checkpointing'
/restore
Shows available checkpoint files for the current project.
/restore <checkpoint_file>
Restores files and conversation to the checkpoint state.
Format: {timestamp}-{filename}-{tool_name}
Example: 2025-06-22T10-00-00_000Z-my-file.txt-write_file
| Data | Location |
|---|---|
| Git snapshots | ~/.gemini/history/<project_hash> |
| Checkpoint metadata | ~/.gemini/tmp/<project_hash>/checkpoints |
| Topic | Query Keywords |
|---|---|
| Enable | checkpointing enabled, enable checkpointing settings |
| Commands | /restore command, list checkpoints, restore checkpoint |
| Storage | checkpoint storage, ~/.gemini/history, snapshot location |
| Workflow | checkpointing workflow, automatic snapshots |
What do you want to do?
/restore command/restore <checkpoint_name>Query: "Use the gemini-checkpoint-management skill to enable checkpointing" Expected Behavior:
Query: "How do I rollback changes in Gemini CLI?" Expected Behavior:
Query: "Where are Gemini checkpoints stored?" Expected Behavior:
Query gemini-cli-docs for official documentation on: