Updated on 2026-09-15 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 bar to switch between Enabled and Disabled for 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, the TUI will advise you to create an AGENTS.md file in a project that has code or on your working disk.

/models

Views 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.

NOTE:
  • The session list shows only sessions created within the last 30 days. Sessions older than 30 days are not displayed.
  • Session data is stored in the opencode.db file under the local %USERPROFILE%/.codeartsdoer/cli-data directory.

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

Toggles whether the conversation reasoning process is displayed. It is enabled by default. When it is enabled, you can view the full reasoning details of models with deep-thinking capabilities.

NOTE:

This command only controls whether the thinking block is displayed or hidden. It does not enable or disable the model's reasoning capability.

/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 submitted trouble tickets.

/schedule

Creates a scheduled task.

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

/agents

Views and switches agents.

/codebase/init

Creates a cloud index.

/codebase/detail

Queries the cloud indexing progress.

/codebase/update

Incrementally updates a cloud index.

/codebase/delete

Deletes a cloud index.

/codebase-local/status

Views the local index status.

/codebase-local/index

Starts local indexing.

/codebase-local/sync

Incrementally updates a local index.

/codebase-local/disable

Disables local indexing.

/codebase-local/enable

Enables local indexing.

/editor

Opens the text editor.

/review

Reviews code changes.

/skills

Queries skills.

/status

Checks the status.

/variants

Switches the model's thinking intensity. Choose an appropriate thinking intensity level based on what the GUI shows.

This command works only with models that support thinking intensity.