Skip to content

Interactive Commands

SpdrByte edited this page Mar 4, 2026 · 1 revision

Interactive Commands Reference

Gemma CLI extends standard AI chat with a suite of professional management commands. Use these to control the workstation environment, switch reasoning engines, and manage long-term memory.


🛠️ Session Management

Command Usage Description
/help /help Displays the interactive help box with all available commands.
/clear /clear Wipes the current conversation history. Useful for starting a fresh task without context contamination.
/multiline /multiline Enters multiline mode. Paste large blocks of code or long instructions. Type /end on a new line to submit.
/debug /debug Toggles verbose logging. Displays raw API JSON and tool execution details.
/resetkey /resetkey Permanently deletes the DPAPI-encrypted API key from your machine and quits.
exit exit Gracefully closes the Gemma CLI session.

⚙️ Workstation Control

Command Usage Description
/model /model [id] Opens an interactive menu to switch models. You can also pass an ID directly (e.g., /model 3-4b).
/tools /tools Lists all currently active tools, their descriptions, and required parameters.
/settings /settings Opens the Configuration Hub. Manage UI colors, enable/disable tools, and toggle Smart Trim.
/customCommand /customCommand /alias [prompt] Create a shortcut for a long prompt. Example: /customCommand /fix Fix this code for errors:

🧠 Advanced Reasoning & Memory

Command Usage Description
/recall /recall Manually injects long-term "memories" (facts learned in previous sessions) into the active context.
/bigBrother /bigBrother [query] Deep Reasoning Pipeline: Sends query to Gemini Flash -> Gemma 27B -> Gemini Flash for final synthesis.
/littleSister /littleSister [query] Contextual Pipeline: Sends query to Gemma 27B -> Gemini Flash -> Gemma 27B for final output.

Tips for Power Users

  • Default Model: The CLI defaults to gemma-3-27b-it for heavy logic. Switch to gemma-3n-e2b-it if you need ultra-low latency for simple tasks.
  • Tool Permission: Every tool call requires a Allow/Deny confirmation. Use [Esc] to cancel a running tool if it takes too long.
  • Custom Shortcuts: Your custom commands are saved in config/custom_commands.json and persist across restarts.

Clone this wiki locally