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 keyboard shortcuts
/modelSwitch between configured models
/tierConfigure sub-agent model tiers (high/medium/low)
/permissionSet permission mode (read_only / reversible / yolo)
/summarizeInteractively summarize older context
/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
/autoupdateToggle background update checks
/skillsEnable/disable skills (checkbox picker)
/mcpShow MCP server status and 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
/hooksShow registered hooks
/copyCopy the agent’s most recent text response
/raw/mdToggle markdown raw/rendered mode
/quit/exitExit the application

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.

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

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.

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 auto-discovered each turn from multiple roots — global (~/.fermi/skills/), project (<project>/.fermi/skills/), and the per-project store.

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.

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