Skip to content

Slash commands

Slash commands are typed at the prompt and run synchronously — they don't go to the model. Most affect the current tab; /new, /close, /switch, /tabs operate on the tab registry.

CommandDescription
/helpShow available commands and hotkeys
/new [<label>]Open a new tab
/closeClose the active tab
/tabsList open tabs
/switch <n|label>Switch to a tab by index, label, or unique prefix
/clearClear conversation history
/model [<name>]Show current provider/model, or switch (accepts <provider>:<model> to switch both)
/pickOpen the provider/model picker (recent pairs first)
/rotateView the active rotation chain. Subcommands: add, insert, remove, move, clear, refresh (return to the head of the chain and reset the in-memory failure log)
/keys [<provider>]Show saved keys with usage / rate-limit / cache-hit counters
/statsCache hit rate, compaction events, and largest tool results for the current session
/fullShow full Read output in the terminal instead of the 5-line preview (applies going forward; the model always sees the full text either way)
/cwd [<dir>]Show or change the active tab's working directory
/permissionsReset tool permissions
/planToggle plan mode or show queued plan
/queueShow the queued plan
/approve (or y)Execute the queued plan
/cancel (or n)Drop the queued plan
/logShow current session log path
/correct on|offToggle LLM tool-call corrector
/exp [<name> on|off]List or toggle experimental flags
/skillsList loaded skills (when skills flag is on)
/skill <name>Print the body of a specific skill
/exit, /quit, /qExit (or close the active tab if multiple are open)

/rotate subcommands

  • /rotate — show the active chain.
  • /rotate add <provider:model> — append to the end.
  • /rotate insert <pos> <provider:model> — insert at position N (1-indexed).
  • /rotate remove <pos> — drop entry at position N.
  • /rotate move <from> <to> — reorder.
  • /rotate clear — reset to empty.
  • /rotate refresh — return to the head of the chain and clear the in-memory failure log (use after fixing a failing key/provider out-of-band).

/rotate --default operates on the default chain (used when no per-(provider, model) override applies). /rotate --for <provider:model> scopes to a specific override.

/exp flags

/exp lists every experimental flag and its current state. Toggle one with /exp <name> on or /exp <name> off. The persisted version is in ~/.factory/config.json; toggling at runtime is session-only unless you re-launch with the corresponding --<flag> CLI flag.

Released under the Apache-2.0 License.