Updated on 2026-08-03 GMT+08:00

Slash Commands

You can enter codearts in the CMD, PowerShell, or terminal and press Enter to enter the TUI development mode.

Figure 1 TUI development mode

In TUI development mode, you can enter a slash (/) followed by a command name to quickly perform an operation.

Table 1 Slash commands supported by TUI

Command

Description

/help

Displays the help dialog box.

NOTE:

After the dialog box is displayed, click ok, esc, or Enter to use shortcut keys to view shortcut operation prompts.

/mcps

Displays the list of MCPs. You can press the space key to enable or disable an MCP.

NOTE:

If an MCP is disabled, it cannot be used by LLMs.

/compact

Compresses the current session.

/exit

Exits the TUI and returns to the PowerShell or CMD interface.

/q

/quit

/logout

/init

Scans a project, learns its purpose, and generates an AGENTS.md file.

NOTE:

If your project does not have source code, configuration, or build files, TUI will advise you to create an AGENTS.md file in a project with code or on your working disk.

/models

Checks and switches models.

/new

Starts a new session.

/undo

Cancels the last message in the session. You can edit the task again or cancel it directly.

CAUTION:

Any file changes will also be undone.

/redo

Re-executes the message that was canceled. This command can be used only after /undo is executed.

CAUTION:

All file changes will also be restored.

/sessions

Lists sessions and switches between them.

After selecting a session, you can perform the following operations:

  • Press Ctrl+D to delete the session. After confirmation, the session will be deleted.
  • Press Ctrl+R to rename the session. After changing the session name, press Enter to apply the change.

/resume

/continue

/themes

Lists available themes.

/thinking

Whether to display the dialog inference process. It is enabled by default, which means you can view the inference details of the models with deep thinking capabilities.

NOTE:

This command only controls whether to display the thinking block and does not enable or disable the inference capability of models.

/privacy

Views the privacy policy.

/docs

Views the documentation.

/lsp-toggle

Enables or disables the LSP service, or views the LSP service status.

/sdd-new

Creates SDD requirement specifications.

/sdd-design

Creates an SDD technical design.

/sdd-tasks

Creates an SDD encoding task.

/sdd-apply

Applies SDD encoding.

/run-mode

Switches or views the sandbox run mode.

/bugfix

Automatically invokes the repair expert agent to fix code issues based on the descriptions in the trouble tickets submitted by users.

/schedule

Creates a scheduled task.

For details, see Creating a Scheduled Task on the TUI.

/agents

Checks and switches agents.

/codebase/init

Creates repository indexes.

Run this command in the project directory to create repository indexes.

/codebase/detail

Queries the repository indexing progress.

/codebase/update

Incrementally updates repository indexes.

/codebase/delete

Deletes repository indexes.

/editor

Opens the text editor.

/review

Reviews code changes.

/skills

Queries skills.

/status

Checks the status.