gandalf snapshot manages the point-in-time captures Gandalf uses for diffs, restores, and bundles. It has three subcommands: create, list, and show. Snapshots live under ~/.gandalf (or $GANDALF_STORE).
Synopsis
Common flags
snapshot create
Captures and persists a snapshot.--name is required.
Content-backed capture requires
--agent codex --scope user or --agent claude-code --scope user. Without one of those, pass --metadata-only or you will get the GANDALF_METADATA_ONLY_REQUIRED error.
snapshot list
Prints saved snapshot names, one per line. Add--json for a JSON array.
snapshot show
Prints the manifest name for a snapshot. With--json, prints the full snapshot object.