Skip to content

Slash Commands

Slash commands are typed directly in the input during a session. They control context, models, permissions, and session lifecycle.

CommandAliasesDescription
/helpShow commands and shortcuts
/modelSwitch between configured models
/keyAdd, replace, remove, or import a provider API key
/tierConfigure sub-agent model tiers (high/medium/low)
/permissionSet permission mode (read_only / reversible / yolo)
/summarizeInteractively summarize older context
/summarize_hintConfigure the two-tier summarize hints (on/off, trigger levels)
/compactFull context reset with continuation summary
/rewind/undoRewind to a previous turn (reverts conversation + files)
/reviewReview code changes (base branch / uncommitted / commit / custom)
/session/resumeResume a previous session
/newStart a new session
/forkFork current session into a new branch
/renameRename current session
/shellsView and stop background shells
/usage/contextShow this session’s token usage
/statShow all-time token statistics
/autoupdateToggle background update checks
/autocopyToggle copy-on-select (auto-copy a text selection)
/skillsEnable/disable skills (checkbox picker)
/mcpManage MCP servers and list tools
/agentsToggle the agents panel
/todosToggle the todo panel
/themeSet theme mode (auto / light / dark)
/diffSet write/edit diff display (compact / full)
/codexOpenAI ChatGPT OAuth login
/copilotGitHub Copilot login
/hooksManage registered hooks
/copyCopy the agent’s most recent text response
/raw/mdToggle markdown raw/rendered mode
/quit/exitExit the application

Each enabled, user-invocable skill also appears as its own /<skill-name> command. Type / to see the full list — built-in commands and skills together.

Opens an interactive range picker:

  1. Select the start turn
  2. Select the end turn
  3. Optionally provide a focus prompt — instructions about what to preserve

The selected range is converted to context IDs and summarized. Key decisions and findings are preserved; the rest is discarded.

/summarize

See Context Management for details.

Full context reset with a continuation summary. Optionally provide instructions:

/compact
/compact Preserve the DB schema decisions

After compact, the agent starts with a fresh context window containing only the continuation summary and AGENTS.md files.

Configure the two automatic hints that nudge the agent to summarize as context fills up. Toggle them on/off, or set custom trigger percentages:

/summarize_hint on
/summarize_hint off
/summarize_hint 50 75

The two integers are the Level 1 and Level 2 trigger percentages and must satisfy 0 < level1 < level2 < 85. The setting persists. See Context Management.

Roll back to a previous turn. Opens a picker showing turn history. Reverts both the conversation and file system changes made after that turn.

/rewind

File revert uses tracked mutations (edits, writes, bash mkdir/cp/mv) with conflict detection — if a file was modified externally after the agent changed it, the rewind skips that file and reports the conflict.

Run a code review. Opens a picker to choose what to review:

/review
  • Against a base branch — review the diff vs. a base branch
  • Uncommitted changes — review the current working-tree changes
  • A commit — review a specific commit by SHA
  • Custom instructions — provide your own review focus

You can also pass instructions inline: /review check for SQL injection risks. The picker supports adding extra instructions (Tab) to any option.

Opens a hierarchical picker showing all configured providers and models. Select one to switch immediately.

For managed providers with missing API keys (Kimi, MiniMax, GLM, DeepSeek, Xiaomi, Qwen), selecting a model can prompt you to paste or import the key on the spot.

Manage a provider’s API key directly — add, replace, remove, or import a detected external env var. Opens a picker of provider endpoints, then an action menu. Keys are stored in ~/.fermi/.env (0600). This is the quickest way to rotate or fix a key without re-running fermi init.

Configure which models sub-agents use at each tier level (high, medium, low). When the agent spawns a sub-agent with model_level="low", it uses the model you assigned to the low tier.

Set the permission mode for tool execution:

ModeBehavior
read_onlyOnly read tools auto-allowed; all writes require approval
reversibleRead + reversible writes auto-allowed
yoloEverything auto-allowed except catastrophic operations

Toggle background update checks:

/autoupdate on
/autoupdate off

When enabled, Fermi checks GitHub Releases in the background, stages patch/minor updates automatically, and applies them on the next restart.

Show all registered hooks and their configuration. Hooks are shell commands that run in response to events (PreToolUse, PostToolUse, UserPromptSubmit, etc.).

Resume a previous session. Shows a list of saved sessions with timestamps. Select one to restore its full conversation state.

/session
/session <id>

Start a new session. The current session is auto-saved first.

Fork the current session into a new branch — creates a copy of the current state that you can take in a different direction.

Give the current session a descriptive name for easier identification in the session list.

Opens a checkbox picker to enable or disable installed skills. Skills are loaded from multiple roots — global (~/.fermi/skills/), project (<project>/.fermi/skills/), and the per-project store — and a toggle here reloads them immediately.

Connects configured MCP servers and lists discovered tools. Useful as a health check before starting work.

Toggles the agents panel — the main agent and any running sub-agents with their status.

Toggles the todo panel, which shows the agent’s current plan/task list.

Set the TUI theme mode: auto, light, or dark. Persisted to settings.json (theme_mode).

Set how write/edit diffs are rendered: compact or full. Persisted to settings.json (diff_display).

OAuth login flows for OpenAI (ChatGPT) and GitHub Copilot respectively.

Copy the agent’s most recent text response to the system clipboard.

Toggle between rendered markdown and raw markdown display. Also available as /md.

View tracked background shells and stop them. Background shells come from bash_background or from a bash call that ran past its timeout and was handed off to the background.

/usage (alias /context) shows the current session’s token usage — how much of the context budget is consumed and the breakdown by category. /stat shows your all-time token statistics across every session.

Toggle copy-on-select. When on, selecting text with the mouse automatically copies it to the clipboard (with a brief toast), so you don’t need a separate copy step.

/autocopy on
/autocopy off
ShortcutAction
EnterSend message
Option+Enter / Ctrl+NInsert newline
↑ / ↓Browse prompt history
Ctrl+QCycle permission mode
Ctrl+VPaste image
Ctrl+GToggle markdown raw view
PageUp / PageDownScroll half page
Opt+← / →Switch between agent tabs
Ctrl+XKill all sub-agents
Ctrl+KKill all background shells
Alt+Backspace / Ctrl+WDelete previous word
Cmd+DeleteDelete to line start (Ghostty/kitty protocol)
Ctrl+CCancel / Exit
@filenameAttach file