Slash commands
Reference

Slash commands

7. Slash Commands#

Slash commands run inside an interactive session (the terminal TUI, or the RayuCode editor panel). Type / to open the menu, keep typing to filter, press Enter to run.

/help lists every command and every keybinding; /help <command> prints detailed help for one command. The tables below group the commands by what they are for. A command that is missing from your build is one whose backend is not present: public v3 builds are Rayu-only, so provider-management commands are not registered.

Arguments in [brackets] are optional; <angle> means required.


Getting help and changing the UI#

CommandDescription
/help, /?, /commandsShow the help overlay.
/help <command>Detailed help for one command.
/themePreview and save a terminal theme.
/colors (alias /color)List, configure and score every TUI color.
/alignment [status|centered|left]Set the text alignment preference.
/diffCycle diff display: off, inline, full, file.
/latex [on|off|status|none|unicode|image]Toggle LaTeX rendering.
/thinking-display [off|full|current] (alias /thinking, /reasoning)Show or hide the model's reasoning text.
/tool-call-detailsToggle dimmed technical detail on tool rows.
/show-agentgrep-output [on|off|status]Render full search output inline.
/compact-notifications [on|off|status]Collapse swarm and file-activity notices to one line.
/splitview [on|off|status] (alias /split-view)Mirror the conversation in the side panel.
/observeShow the latest tool context in the side panel.
/keys [refresh] (alias /keybindings)Show keybinding conflicts with your terminal and OS.
/hotkeysList hotkeys with your personal usage counts.
/terminal-setupFix Shift+Enter in terminals that need it.
/screenshot-mode, /screenshot, /recordDebug capture modes for demos and bug reports.
/debug-visualVisual debug overlay.

Model, effort and speed#

CommandDescription
/modelOpen the model picker.
/model <name>Switch to a model directly.
/modelsAlias for /model.
/refresh-model-listRe-fetch the provider's model catalog now.
/effort <level>Set reasoning effort: none, minimal, low, medium, high, xhigh, max, swarm.
/fast [on|off|flex|status]Toggle fast/priority mode where supported.
/transport [auto|https|websocket]Set the connection transport.
/provider-test-coverage (alias /model-status)Show live-test evidence for the current model.
/agents [global] [role] [model|inherit]Configure models per agent role.
/subagent-modelShow or change the spawned-worker model policy.
/autoreview [on|off|status]Toggle the automatic end-of-turn review.
/autojudge [on|off|status]Toggle the automatic end-of-turn judge.
/review [--model]Launch a one-shot headed review session.
/judge [--model]Launch a one-shot headed judge session.
/subagent [prompt]Launch a subagent manually.
/cache [stats|extend|1h|5m]Cache stats; save Anthropic TTL preferences.

Context and conversation#

CommandDescription
/contextFull snapshot: system prompt sections, tools, messages, window use.
/compact [mode]Compact context now, or show/set the compaction mode.
/clearClear the conversation and start a fresh session.
/cls, /clear-viewClear the rendered view only; context is kept.
/rewindShow numbered history; /rewind N rewinds to message N; /rewind undo reverts.
/cancelCancel the current prompt or operation.
/fixRecovery when the model cannot continue.
/poke [on|off|status]Auto-resume when the model stops with incomplete todos.
/plan [goal]Draft a plan-only proposal as a plan card, no edits.
/improveAutonomously improve the repo until returns diminish; /improve resume.
/refactorSafe refactor loop with independent review; /refactor resume.
/test [claim]Layered verification producing proof.
/initiativesOverview of tracked initiatives (alias /goals).
/overnightSupervised overnight coordinator.
/productivity (alias /wrapped)Usage report and dashboard image.

Sessions and workspaces#

CommandDescription
/resume, /sessions, /sessionBrowse and resume previous sessions.
/activeLive sessions: which are working vs ready.
/catchup [next], /backJump into finished sessions, then return.
/save [label], /unsaveBookmark or unbookmark the current session.
/rename <name>|--clearSet or clear the session name.
/fork [prompt] (alias /split)Fork the conversation into a new window.
/transferOpen a fresh session with only compacted context and copied todos.
/workspace [status|on|off|add]Niri-style session workspace.
/desktopOpen this session in RayuCode Desktop.
/btw <question>Ask a side question without interrupting the main turn.
/todos (alias /todo)Show the session todo list as a card.
/git [status]Branch and working-tree status.
/commit, /commit-push (alias /commit-and-push), /mergeMake logical commits; push; merge into main.
/transcriptOpen the current session transcript file.

Memory, swarm and autonomy#

CommandDescription
/memory [on|off]Toggle memory features.
/skillsLoaded skills plus the endorsed catalog.
/swarm [on|off]Toggle swarm features.
/swarm-promptOpen the swarm routing prompt in your editor.
/sshConnect to a remote machine using system SSH.
/remoteReach this session from another machine.
/telegram-botLink, check or disconnect Telegram.
/disconnect-telegramUnlink the Telegram chat from this host.
/telegram-remote-uninstallAllow or refuse remote uninstall from Telegram. Terminal only.
/voiceVoice input: speak, then send (Ctrl+Space).
/dictate (alias /dictation)Run configured external dictation.

Account, usage and support#

CommandDescription
/loginSign in with a Rayu account or API key.
/logoutLog out of the current provider.
/authAuthentication status.
/account (alias /accounts)Account picker; /account rayu status for plan and credits.
/usageUsage limits for connected providers.
/infoSession info and token usage.
/versionVersion and build details.
/changelogRecent changes in this build.
/telemetryShow or change what rayu sends.
/feedbackSend feedback about rayu.
/supportEmail support with diagnostics prefilled.
/configShow the active configuration; /config init, /config edit.
/logMark the current location in the rayu logs.
/resetReview a banked usage-limit reset (builds with third-party providers).

System and lifecycle#

CommandDescription
/reloadReload into the newest available binary.
/restartRestart with the current binary.
/rebuildBackground rebuild and auto-reload (self-dev).
/updateBackground update and auto-reload.
/selfdevOpen a new self-dev session.
/onboarding-preview, /onboarding-simPreview or rehearse first-run onboarding.
/update-simPreview the update UI safely.
/update-rehearsalRehearse an update against the real release path.
/quit, /exitExit rayu.
/continue (aliases /resumeall, /resume-all)Continue interrupted live sessions.
/client-reload, /server-reloadForce reload the client or server binary.

Release and maintenance (self-dev builds)#

These exist because RayuCode develops itself. They are inert outside a self-development checkout.

CommandDescription
/fast-release (aliases /cut-release, /commit-push-release)Publish Linux immediately from the warm self-dev cache; CI adds other platforms.
/fast-macos-releasePublish a prepared macOS arm64 build.
/remote-release, /merge-remote-releasePush the release tag, or merge, validate and push first. CI builds every platform.
/triageTriage new GitHub issues and fix the safe ones.

Custom commands from skills#

Any skill installed under ~/.rayu/skills/<name>/SKILL.md, ./.rayu/skills/, or ./.claude/skills/ becomes a slash command named after the skill. /skills lists what is loaded and what Rayu endorses. See Skills & plugins.

Input prefixes#

Two prefixes on the prompt line are not slash commands but change what sending does:

PrefixEffect
!Run the rest as a shell command and show its output.
/Run a slash command.

Pasting an image attaches it to the next prompt. Ctrl+V pastes text or an image from the clipboard.

Next: Troubleshooting →