TUI slash commands and shortcuts
Slash commands, session commands, input syntax and keyboard shortcuts of the Argy Code terminal interface.
The terminal interface (TUI) opens when you run argy. You talk to it in plain language and drive it with slash commands, the command palette and keyboard shortcuts. This page lists all of them, with their aliases.
For TUI launch options, see the CLI reference.
Entering a command
Type / at the start of the input to open the command list, then keep typing to filter it. The command palette (ctrl+p) also lists every available action, including those without a slash command. Every command can also be invoked through its aliases.
Interface commands
These commands act on the interface itself and are not sent to the model.
Session
| Command | Aliases | Default shortcut | Description |
|---|---|---|---|
/new | /clear | <leader>n | Start a new session. |
/sessions | /resume, /continue | <leader>l | List previous sessions to resume one. |
/rename | — | ctrl+r | Rename the current session. |
/compact | /summarize | <leader>c | Summarize the session to free up context. |
/undo | — | <leader>u | Undo the last message and its file changes. |
/redo | — | <leader>r | Restore what was undone. |
/fork | — | none | Start a new session from a chosen message. |
/timeline | — | <leader>g | Jump to a specific message in the session. |
/search | — | <leader>f | Search the session messages. |
/copy | — | — | Copy the session transcript. |
/export | — | <leader>x | Export the conversation as Markdown to your editor. |
/timestamps | /toggle-timestamps | — | Show or hide message timestamps. |
/undo and /redo are scoped to each session and stay reliable while sub-agents work in parallel.
Models, agents and integrations
| Command | Aliases | Default shortcut | Description |
|---|---|---|---|
/models | — | <leader>m | View and switch models. |
/agents | — | <leader>a | Open the full agent picker (see Agents and modes). |
/mcps | — | — | Enable or disable configured MCP servers. |
/skills | — | — | List available skills. |
/run | — | — | Open the run configurations panel. |
/run-status | — | — | Show run configuration status. |
MCP servers and skills are configured as described in Extensions; run configurations in Configuration.
Account, preferences and help
| Command | Aliases | Default shortcut | Description |
|---|---|---|---|
/connect | /login | — | Sign in to Argy. |
/org | /organization, /orgs | — | Switch organization when your account belongs to several. |
/profile | /memory, /identity | — | Show your collaboration profile. |
/status | — | <leader>s | Show system status. |
/language | /lang, /langue | — | Switch the interface between English and French. |
/themes | — | <leader>t | Switch theme. |
/editor | — | <leader>e | Write the message in your external editor ($VISUAL or $EDITOR). |
/help | — | — | Open help. |
/exit | /quit, /q | ctrl+c, ctrl+d, <leader>q | Quit Argy Code. |
Session commands
These commands are handled by the Argy Code engine and start work on the project.
| Command | Description |
|---|---|
/init | Create or update the project's ARGY.md (rules and conventions shared by the team). |
/review [commit|branch|pr] | Review changes; uncommitted changes by default. The review is delegated to the reviewer agent. |
/mission | Manage the session mission, a persistent goal that guides every action: set, confirm, clear, done, fail, report. Handled locally and never sent to the model. |
/import-project | Link the working directory to an Argy Platform project, or import a share URL into the knowledge base. |
/share | Generate a portable /import-project command to share the project with colleagues. |
/unshare | Make the project private again and unlink the local cache; project memories are no longer available to other members. |
/promote-memory | List your personal memories or explicitly promote some of them to the linked project. |
Projects and the knowledge base are described in Projects and modules and the RAG API.
/init
/review branch
/mission set Migrate the billing module to the new API, tests included
Custom commands
Three sources add to the built-in commands:
- commands defined under the
commandkey ofargy.json, or as.mdfiles in.argy/command/(or.argy/commands/); - prompts exposed by your MCP servers;
- skills (
SKILL.md).
In a command template, $ARGUMENTS receives all arguments, $1, $2… the positional ones, and a !`command` directive (for example !`git status`) runs the shell command and injects its output. Without the exclamation mark, text in backticks is passed through as is. A command can set its own agent and model and run as a sub-task (subtask).
A third-party source (MCP, skill) never overrides a built-in command or one you defined: on a name collision it is ignored. The full format is covered in Configuration and Extensions.
Input: files, shell and agents
| Input | Effect |
|---|---|
@file | Search for a file and attach it to the message. |
@agent-name | Hand the request to a specialized sub-agent (e.g. @reviewer, @auditor). |
!command | Run a shell command (e.g. !ls -la). |
| Drag and drop an image | Add the image to the context. |
ctrl+v | Paste an image from the clipboard. |
shift+enter, ctrl+enter, alt+enter, ctrl+j | Insert a newline. |
ctrl+c | Clear the input; twice on an empty input, quit. |
esc | Interrupt the current response. |
Keyboard shortcuts
The leader key is ctrl+x by default: <leader>n means ctrl+x, then n.
| Shortcut | Action |
|---|---|
ctrl+p | Command palette. |
tab / shift+tab | Next / previous primary agent. |
<leader>1 to <leader>9 | Jump straight to an agent tab. |
ctrl+t | Cycle the model's reasoning variants. |
f2 / shift+f2 | Next / previous recent model. |
<leader>b | Show or hide the sidebar. |
<leader>v | Toggle between the Cockpit (default) and Classic layouts. |
<leader>h | Show or hide code blocks. |
<leader>y | Copy the last assistant message. |
<leader>up | Go to the parent session. |
<leader>down | Dive into a sub-agent's session. |
<leader>left / <leader>right | Previous / next child session. |
pageup / pagedown | Scroll the history by one page. |
ctrl+g or home / ctrl+alt+g or end | Start / end of the conversation. |
ctrl+l | Repaint the screen. |
ctrl+z | Suspend the terminal and return to the shell. |
Customizing shortcuts
Every shortcut can be redefined in the keybinds section of argy.json. The value none disables a shortcut, and several keys are separated by commas.
{
"$schema": "https://argy.cloud/config.json",
"keybinds": {
"leader": "ctrl+space",
"session_fork": "<leader>k",
"sidebar_toggle": "none"
}
}
The leader must be a real key: a bare modifier (ctrl, alt) emits nothing in a terminal. ctrl+space or a function key such as f12 are conflict-free alternatives. Other interface settings (tui, theme, notifications) are described in Configuration.
Notifications
You receive a desktop notification when a task finishes while the terminal is not in the foreground, and when the agent is waiting on you (permission, question, MCP authorization). The notifications key of argy.json controls this behavior (enabled, sound, channel).