Everything you can type before you're in a session.
gemini update keeps it current.-p text is appended to stdin input if both are given.--list-sessions.no matches in this section
"latest", an index number, or a session ID.experimental.worktrees: true in settings.auto.gemini-2.5-pro, or the Gemini 3 preview model when preview features are enabled.gemini-2.5-flash (fast, balanced) / gemini-2.5-flash-lite (fastest, simple tasks).default, auto_edit, yolo, plan.--approval-mode=yolo instead.no matches in this section
Typed inside the REPL. Sessions auto-save as you chat — no manual saving required.
pbcopy/xclip/clip; OSC 52 over SSH./bashes.--delete also permanently removes this session's history and temp files. Alias /exit./chat.~/.gemini/tmp/<hash>/.GEMINI.md context.GEMINI.md./dir; disabled in restrictive sandboxes.no matches in this section
Cycle with Shift+Tab, set at launch with --approval-mode, or persist via /settings.
enter_plan_mode tool is unavailable in this mode.activate_skill; writes only to .md plan files in the plans directory.no matches in this section
--transport http <url> for HTTP, --env KEY=value, --scope user, --include-tools t1,t2.--ref <branch> pins, --auto-update opts in.~/.gemini/agents, .gemini/agents).refresh.no matches in this section
Skills follow the agentskills.io standard: on-demand expertise the model activates with your consent. Custom commands are .toml prompt shortcuts.
all includes built-ins.--scope workspace for project-level.refresh.--consent skips the security confirmation.~/.gemini/skills/) → workspace (.gemini/skills/); the .agents/skills/ alias wins within a tier./test. Project commands in .gemini/commands/ override same-named user commands.prompt is required; description shows in /help and defaults to filename-derived text.!{…} blocks to prevent command injection..toml source / pick up changes without restarting.no matches in this section
.gemini/settings.json.dd/cw/. etc.). Persists to ~/.gemini/settings.json..env files, nearest first, then ~/.env.SEATBELT_PROFILE picks the macOS profile (permissive-open default, strict-open, …).DEBUG is ignored in project .env; use .gemini/.env).no matches in this section
Press ? on an empty prompt for the shortcuts panel. Rebind anything in ~/.gemini/keybindings.json (VS Code-style; prefix - unbinds).
.toml commands.@My\ Docs/file.txt.GEMINI_CLI=1.[Pasted Text: …] placeholders.no matches in this section
Triggered by -p or any non-TTY environment.
response, stats, optional error.init, message, tool_use, tool_result, error, result.0 success · 1 general/API error · 42 input error · 53 turn limit exceeded.no matches in this section
system-defaults.json sits below everything. macOS: /Library/Application Support/GeminiCli/./memory show inspects the merge..env files skip DEBUG etc.)..toml commands, user and project scope..agents/skills/ alias is tool-interoperable and wins within a tier./agents reload..gemini/sandbox.Dockerfile for containers.no matches in this section