Skip to content

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

CommandAliasesDefault shortcutDescription
/new/clear<leader>nStart a new session.
/sessions/resume, /continue<leader>lList previous sessions to resume one.
/rename—ctrl+rRename the current session.
/compact/summarize<leader>cSummarize the session to free up context.
/undo—<leader>uUndo the last message and its file changes.
/redo—<leader>rRestore what was undone.
/fork—noneStart a new session from a chosen message.
/timeline—<leader>gJump to a specific message in the session.
/search—<leader>fSearch the session messages.
/copy——Copy the session transcript.
/export—<leader>xExport 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

CommandAliasesDefault shortcutDescription
/models—<leader>mView and switch models.
/agents—<leader>aOpen 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

CommandAliasesDefault shortcutDescription
/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>sShow system status.
/language/lang, /langue—Switch the interface between English and French.
/themes—<leader>tSwitch theme.
/editor—<leader>eWrite the message in your external editor ($VISUAL or $EDITOR).
/help——Open help.
/exit/quit, /qctrl+c, ctrl+d, <leader>qQuit Argy Code.

Session commands

These commands are handled by the Argy Code engine and start work on the project.

CommandDescription
/initCreate 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.
/missionManage 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-projectLink the working directory to an Argy Platform project, or import a share URL into the knowledge base.
/shareGenerate a portable /import-project command to share the project with colleagues.
/unshareMake the project private again and unlink the local cache; project memories are no longer available to other members.
/promote-memoryList 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 command key of argy.json, or as .md files 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

InputEffect
@fileSearch for a file and attach it to the message.
@agent-nameHand the request to a specialized sub-agent (e.g. @reviewer, @auditor).
!commandRun a shell command (e.g. !ls -la).
Drag and drop an imageAdd the image to the context.
ctrl+vPaste an image from the clipboard.
shift+enter, ctrl+enter, alt+enter, ctrl+jInsert a newline.
ctrl+cClear the input; twice on an empty input, quit.
escInterrupt the current response.

Keyboard shortcuts

The leader key is ctrl+x by default: <leader>n means ctrl+x, then n.

ShortcutAction
ctrl+pCommand palette.
tab / shift+tabNext / previous primary agent.
<leader>1 to <leader>9Jump straight to an agent tab.
ctrl+tCycle the model's reasoning variants.
f2 / shift+f2Next / previous recent model.
<leader>bShow or hide the sidebar.
<leader>vToggle between the Cockpit (default) and Classic layouts.
<leader>hShow or hide code blocks.
<leader>yCopy the last assistant message.
<leader>upGo to the parent session.
<leader>downDive into a sub-agent's session.
<leader>left / <leader>rightPrevious / next child session.
pageup / pagedownScroll the history by one page.
ctrl+g or home / ctrl+alt+g or endStart / end of the conversation.
ctrl+lRepaint the screen.
ctrl+zSuspend 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).

See also