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.
try a prefix — filtering follows the same rule as `nearest_command`
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
| Command | What it does |
|---|---|
/setup | Keys-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 · demo | Text-to-Image evals. See Augur. |
/git [status | branches | log | merge <branch> | resolve | abort] | Branches, commits, merges and conflicts. |
/studio | Open 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
| Command | What it does |
|---|---|
/clear | Clear the screen and start a new session. |
/resume | Resume a past conversation. |
/rename <title> | Rename the current conversation. |
/status | Session, backend and context status. |
/repos | Pick 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. |
/artifacts | Browse 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
| Command | What 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. |
/model | Model info. |
/usage | Ask AI token usage against your budget. |
/tools | The platform's AI tool catalog. |
/mcp | The configured MCP servers. |
/doctor | Diagnose CLI setup, auth and MCP health. |
/config | CLI configuration. See Configuration. |
/login [token tr_mcp_…] | Log in or switch account. See Authentication. |
/logout confirm | Log out and clear the saved credentials on this computer. |
Display
| Command | What it does |
|---|---|
/theme [auto | dark | light | ascii] | Switch the colour theme. |
/fullscreen | Toggle full-screen mode, with a scrollable transcript inside the app. |
/vim | Toggle vim editing mode for the composer. |
/keybindings | Customize keybindings (a JSON file). |
/help | All commands and shortcuts. |
/exit | Quit 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 -5Keybindings (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, andAlt+Y. Esc— interrupt a streaming turn and stash the draft to history.- Vim mode —
/vimenables NORMAL/VISUAL with motions, operators, text objects, counts, undo, and dot-repeat. - Custom keybindings —
/keybindings; custom statusline viatestrelic config set statusLine <cmd>.
Next steps
Augur — text-to-image evals
Judge your image-generation pipeline's output against approved references, compare multiple models side by side, and ground prompt phrases to image regions — all from testrelic augur.
Artifacts & headless output
How the CLI renders dashboards, reports, and test plans in the terminal, plus the artifacts subcommand and the print-mode output formats for scripts and CI.