TestRelic AI
Go to App
CLI

Slash commands, context & keys

Reference for the CLI's slash commands, @-context attachments, ! shell mode, and Claude-Code-parity keybindings including vim mode and history search.

Terminal~/shop-e2e

try a prefix — filtering follows the same rule as `nearest_command`

> /re▏
/resumeresume a previous conversation
/renamerename this conversation (/rename <title>)
/repospick a repo to add as context

A hand-recreated composer — try a prefix to see the command palette filter, or switch to the @ context and ! shell tabs.

Slash commands

Type / in the interactive UI to open the command menu.

Set up and work on the repo

CommandWhat it does
/setupKeys-only onboarding: configures every supported framework.
/init [instructions…]Set up TestRelic for this repo and make the first run.
/map [instructions…]Analyze this repo and save a Project Map to cloud memory.
/upload <path>Import a third-party report (Allure, JUnit) to the cloud. See Upload.
/augur run · match · demoText-to-Image evals. See Augur.
/git [status | branches | log | merge <branch> | resolve | abort]Branches, commits, merges and conflicts.
/studioOpen this repo in the TestRelic Studio desktop app, installing it if needed. See Studio.
/remote [on | off | status]Let the TestRelic web app drive this session (web control), or stop it. See Web control.

Conversation and context

CommandWhat it does
/clearClear the screen and start a new session.
/resumeResume a past conversation.
/rename <title>Rename the current conversation.
/statusSession, backend and context status.
/reposPick a repo to add as context.
/context [clear]Recap the conversation and show the stored context and memory.
/memory [add <file>]Show the repo memory digest, or add a data file.
/artifactsBrowse and view any artifact in full. See Artifacts.
/export [path]Save the conversation as markdown.
/copy [n]Copy the last response (or the nth most recent) to the clipboard.

Engine, tools and account

CommandWhat it does
/engine [cloud | claude-code | codex | ollama | cursor]Pick the agent engine. See Modes & engines.
/mode [cloud | local]Pick the data boundary.
/permission [plan | default | acceptEdits | bypassPermissions]Claude Code's permission mode.
/modelModel info.
/usageAsk AI token usage against your budget.
/toolsThe platform's AI tool catalog.
/mcpThe configured MCP servers.
/doctorDiagnose CLI setup, auth and MCP health.
/configCLI configuration. See Configuration.
/login [token tr_mcp_…]Log in or switch account. See Authentication.
/logout confirmLog out and clear the saved credentials on this computer.

Display

CommandWhat it does
/theme [auto | dark | light | ascii]Switch the colour theme.
/fullscreenToggle full-screen mode, with a scrollable transcript inside the app.
/vimToggle vim editing mode for the composer.
/keybindingsCustomize keybindings (a JSON file).
/helpAll commands and shortcuts.
/exitQuit the CLI.

/cost (for /usage) and /quit (for /exit) still work when typed.

@ context

Press @ to attach org data as context chips: repos, runs, branches, test cases, environments, suites, or tags.

❯ @checkout-repo @run:4891 @branch:main summarize the regressions

! shell mode

Press ! to run a local command. Its output lands in the transcript and attaches to your next message, so the cloud agent can see it.

❯ ! git log --oneline -5

Keybindings (Claude Code parity)

  • Ctrl+R — reverse history search, persistent across sessions.
  • Message queueing — press Enter while a turn streams to queue input (FIFO auto-submit).
  • Kill-ring editing — Ctrl+K / Ctrl+U / Ctrl+W / Ctrl+Y, and Alt+Y.
  • Esc — interrupt a streaming turn and stash the draft to history.
  • Vim mode — /vim enables NORMAL/VISUAL with motions, operators, text objects, counts, undo, and dot-repeat.
  • Custom keybindings — /keybindings; custom statusline via testrelic config set statusLine <cmd>.

Next steps

→ Artifacts & headless output · Configuration

Was this page helpful?

On this page