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#
| Command | Description |
|---|
/help, /?, /commands | Show the help overlay. |
/help <command> | Detailed help for one command. |
/theme | Preview and save a terminal theme. |
/colors (alias /color) | List, configure and score every TUI color. |
/alignment [status|centered|left] | Set the text alignment preference. |
/diff | Cycle 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-details | Toggle 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. |
/observe | Show the latest tool context in the side panel. |
/keys [refresh] (alias /keybindings) | Show keybinding conflicts with your terminal and OS. |
/hotkeys | List hotkeys with your personal usage counts. |
/terminal-setup | Fix Shift+Enter in terminals that need it. |
/screenshot-mode, /screenshot, /record | Debug capture modes for demos and bug reports. |
/debug-visual | Visual debug overlay. |
Model, effort and speed#
| Command | Description |
|---|
/model | Open the model picker. |
/model <name> | Switch to a model directly. |
/models | Alias for /model. |
/refresh-model-list | Re-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-model | Show 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#
| Command | Description |
|---|
/context | Full snapshot: system prompt sections, tools, messages, window use. |
/compact [mode] | Compact context now, or show/set the compaction mode. |
/clear | Clear the conversation and start a fresh session. |
/cls, /clear-view | Clear the rendered view only; context is kept. |
/rewind | Show numbered history; /rewind N rewinds to message N; /rewind undo reverts. |
/cancel | Cancel the current prompt or operation. |
/fix | Recovery 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. |
/improve | Autonomously improve the repo until returns diminish; /improve resume. |
/refactor | Safe refactor loop with independent review; /refactor resume. |
/test [claim] | Layered verification producing proof. |
/initiatives | Overview of tracked initiatives (alias /goals). |
/overnight | Supervised overnight coordinator. |
/productivity (alias /wrapped) | Usage report and dashboard image. |
Sessions and workspaces#
| Command | Description |
|---|
/resume, /sessions, /session | Browse and resume previous sessions. |
/active | Live sessions: which are working vs ready. |
/catchup [next], /back | Jump into finished sessions, then return. |
/save [label], /unsave | Bookmark or unbookmark the current session. |
/rename <name>|--clear | Set or clear the session name. |
/fork [prompt] (alias /split) | Fork the conversation into a new window. |
/transfer | Open a fresh session with only compacted context and copied todos. |
/workspace [status|on|off|add] | Niri-style session workspace. |
/desktop | Open 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), /merge | Make logical commits; push; merge into main. |
/transcript | Open the current session transcript file. |
Memory, swarm and autonomy#
| Command | Description |
|---|
/memory [on|off] | Toggle memory features. |
/skills | Loaded skills plus the endorsed catalog. |
/swarm [on|off] | Toggle swarm features. |
/swarm-prompt | Open the swarm routing prompt in your editor. |
/ssh | Connect to a remote machine using system SSH. |
/remote | Reach this session from another machine. |
/telegram-bot | Link, check or disconnect Telegram. |
/disconnect-telegram | Unlink the Telegram chat from this host. |
/telegram-remote-uninstall | Allow or refuse remote uninstall from Telegram. Terminal only. |
/voice | Voice input: speak, then send (Ctrl+Space). |
/dictate (alias /dictation) | Run configured external dictation. |
Account, usage and support#
| Command | Description |
|---|
/login | Sign in with a Rayu account or API key. |
/logout | Log out of the current provider. |
/auth | Authentication status. |
/account (alias /accounts) | Account picker; /account rayu status for plan and credits. |
/usage | Usage limits for connected providers. |
/info | Session info and token usage. |
/version | Version and build details. |
/changelog | Recent changes in this build. |
/telemetry | Show or change what rayu sends. |
/feedback | Send feedback about rayu. |
/support | Email support with diagnostics prefilled. |
/config | Show the active configuration; /config init, /config edit. |
/log | Mark the current location in the rayu logs. |
/reset | Review a banked usage-limit reset (builds with third-party providers). |
System and lifecycle#
| Command | Description |
|---|
/reload | Reload into the newest available binary. |
/restart | Restart with the current binary. |
/rebuild | Background rebuild and auto-reload (self-dev). |
/update | Background update and auto-reload. |
/selfdev | Open a new self-dev session. |
/onboarding-preview, /onboarding-sim | Preview or rehearse first-run onboarding. |
/update-sim | Preview the update UI safely. |
/update-rehearsal | Rehearse an update against the real release path. |
/quit, /exit | Exit rayu. |
/continue (aliases /resumeall, /resume-all) | Continue interrupted live sessions. |
/client-reload, /server-reload | Force 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.
| Command | Description |
|---|
/fast-release (aliases /cut-release, /commit-push-release) | Publish Linux immediately from the warm self-dev cache; CI adds other platforms. |
/fast-macos-release | Publish a prepared macOS arm64 build. |
/remote-release, /merge-remote-release | Push the release tag, or merge, validate and push first. CI builds every platform. |
/triage | Triage 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.
Two prefixes on the prompt line are not slash commands but change what sending
does:
| Prefix | Effect |
|---|
! | 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 →