From google-ecosystem
Manages Gemini CLI checkpointing with git snapshots, /restore for listing and restoring states, rollback, and config for experimental workflows.
npx claudepluginhub melodic-software/claude-code-plugins --plugin google-ecosystemThis skill is limited to using the following tools:
> **STOP - Before providing ANY response about Gemini checkpointing:**
Manages Git checkpoints via tags: create before risky refactors or multi-step work, restore for rollbacks, list, and clean. Uses Bash for safe Git operations.
Auto-quicksaves files before destructive bash commands (rm, mv, git reset); manual checkpoints, diffs, lists, and restores for safe file recovery.
Automatically tracks Claude's file edits and conversations. Rewind code changes, chat history, or both via /rewind or Esc+Esc. Summarizes sessions to manage context and recover from errors.
Share bugs, ideas, or general feedback.
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: