Skip to content
2026 Respawn OSS

Slash Commands

Press Tab to autocomplete a command, and Enter to autocomplete and send. Press Tab again when command matches clearly to queue the command. This allows chains like "commit" -> [Tab] -> "/compact" -> [Tab] -> "/prompts:open_pr".

CommandInputWhat it does
/exitnoneExit Kent, same as Ctrl/Cmd+C.
/newnoneStart a new session.
/resumenoneReturn to the startup session picker.
/loginnoneOpen auth options.
/compact <instructions>optional free-form textCompact the current context. Trailing text is passed through as additional compaction instructions.
/name <title>optional free-form textSet the session title. Empty input resets.
/thinking <low|medium|high|xhigh>optional single valueSet the thinking level. Empty input shows the current level.
/fast [on|off|status]optional single valueToggle or inspect Fast mode;
/supervisor [on|off]optional single valueToggle supervisor invocation.
/autocompaction [on|off]optional single valueToggle auto-compaction.
/statusnoneOpen a page with detailed information about the config, git, runtime, and model.
/goal [pause|resume|clear|<objective>]optional action or objectiveSet or manage the current session goal (ralph-loop). Empty input opens the goal page.
/ps [kill|inline|logs] <id>optional action + idOpen the background-process picker, or manage a specific background shell.
/wtnoneOpen the Worktrees page.
/wt createnoneOpen the create-worktree dialog; new branches require a non-empty base ref.
/wt switch <target>required selectorSwitch directly to a worktree by id/branch/path.
/wt delete [<target>]optional selectorDelete a worktree.
/copynoneCopy the latest model final answer to the system clipboard.
/backnoneTeleport back to the parent session, if present.
/review <what to review>optional free-form textTrigger Kent’s native code review. Trailing text is appended to the prompt body.
/init <instructions>optional free-form textStart a new session that sets up the workspace on first-use. Trailing text is appended to the prompt body.
/prompt:<name>optional free-form textRun a custom Markdown prompt (see prompts).
  • Enter runs the selected command immediately, even when the name is only partially typed.
  • Tab on a partial command autocompletes the selected command and inserts a trailing space so you can continue with arguments.
  • Tab on an exact known command adds it into the queue. Use this to make chains of prompts and slash commands like /compact -> /review -> /prompts:commit.
  • While the model is working on an active goal, /goal still opens the read-only goal page. /goal pause and /goal clear run immediately and append one persistent goal info line; setting or resuming a goal is rejected until the runtime is idle.
  • If ask_question is disabled, Kent opens sessions with active goals for management, but goal set/resume fails until ask_question is enabled; pause and clear remain available.

Kent supports markdown file-backed custom prompt commands.

  • If the prompt body contains the exact token $ARGUMENTS, Kent replaces every occurrence with the trailing input.
  • Otherwise, if trailing input was provided, Kent appends it to the end of the prompt body.

To add a custom prompt, create a Markdown file in one of these directories (descending priority):

  • <workspace>/.kent/prompts
  • <workspace>/.kent/commands
  • ~/.kent/prompts
  • ~/.kent/commands

The command id is derived from the filename as prompt:<normalized_base_name>. Duplicate command ids are deduplicated by first match, so repo-scoped commands override global commands.