slash commands / reference
COMMAND REFERENCE▌
Slash commands for every AI coding tool — Claude Code, Cursor, Codex CLI, Gemini CLI, and OpenCode. Find the right command for your workflow. 7 commands indexed.
/init
setup
Analyze directory and generate a tailored GEMINI.md for persistent project memory.
/memory refresh
setup
Reload memory from global, project, and subdirectory GEMINI.md files without restarting.
/memory show
setup
Display the concatenated hierarchical memory from all active GEMINI.md files.
/model set
configuration
Choose and optionally persist the active model. Pass --persist to save as default.
/permissions
configuration
Manage folder trust settings. Trust a path so Gemini can operate there without per-action prompts.
/plan
planning
Switch to Plan Mode (read-only) where Gemini produces an approved plan before making any changes.
/vim
configuration
Toggle Vim mode for the composer. Saved to ~/.gemini/settings.json.