Is it safe to delete ~/.gemini?
Protected. Spaceific never suggests moving it. If you choose it anyway, it needs its own tick.
- What it is
Settings and app data for Google's Gemini CLI and Antigravity. Gemini CLI keeps its user settings here (“Location: ~/.gemini/settings.json”), and Antigravity's documentation says its local app data folder, ~/.gemini/antigravity/, “contains artifacts, knowledge items, and more”.
- Made by
- Gemini CLI and Google Antigravity (com.google.antigravity, com.google.antigravity-ide)
- If you remove it
- This folder can hold sign-in data, conversation history and projects.
- On the Mac this rule was checked on, it held a browser profile with its cookies and saved logins, conversation history, and the projects Antigravity created in its scratch folders, some of them git repositories.
- Removing it can sign you out, and loses those conversations and those projects.
- How it comes back
Put Back from Cleanup History while it is in the Trash. Once the Trash is emptied, signing in again does not bring back the conversations or the projects; a project you had pushed to a remote can be cloned again.
The proof
- Verified by
- vendor documentation: Gemini CLI, “Configuration” (https://geminicli.com/docs/reference/configuration/), read 6 Nov 2026, “Location: ~/.gemini/settings.json (where ~ is your home directory).”; Google Antigravity, “Agent settings” (https://antigravity.google/docs/agent-settings/), read 6 Nov 2026, “local app data directory ~/.gemini/antigravity/ (which contains artifacts, knowledge items, and more)”.
- What it holds was read by file name and type only on 6 Nov 2026 (Step R-0); no file in it was opened.
- Checked on
- macOS 26.6.2, Antigravity 2.0.11, Antigravity IDE 2.5.5
- Catalogue
- Spaceific's rules.json 1.5.0, 10 Nov 2026. The whole file.
Related
- Codeium
~/.codeium - Codex
~/.codex - Antigravity IDE
~/.antigravity-ide - Cursor
~/.cursorNo rule yet - Copilot
~/.copilotNo rule yet - Antigravity
~/.antigravityNo rule yet - Cagent
~/.cagentNo rule yet - Every rule
Spaceific shows this rule for this folder in the app, checks it again at the moment you act, and moves only to the Trash, with Put Back. What Spaceific is.