Updated on 2026-10-22 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.

/codebase-knowledge/init

Generates the CodebaseWiki documentation.

/codebase-knowledge/update

Incrementally updates the CodebaseWiki documentation, syncing only the code changes.

/report-center

Lets you report non-compliant content and provide feedback on issues.

/skill-evolver

Creates or iterates a skill in the skill iteration workspace based on user intent. The progress can be viewed using the /skill-status command.

/skill-evolver-auto

Starts the skill auto-iteration daemon, which automatically iterates a specified skill or all skills in the skill iteration workspace.

Before running this command, you must first run the /skill-evolver-auto-set on command to enable skill auto-iteration.

/skill-evolver-auto-stop

Stops the skill auto-iteration daemon.

/skill-status

Displays the progress of skill auto-iteration tasks.

/skill-log

Displays the iteration report for the latest version of a specified skill in the skill iteration workspace.

/skill-ver

Displays the content of the latest version of a specified skill in the skill iteration workspace.

/skill-spaces

Displays the current skill iteration workspace and its active status.

/skill-selection

Activates a specified version of a skill in the skill iteration workspace. For example, /skill-selection my-skill --v10.

/skill-rollback

Rolls back the active version of a specified skill in the skill iteration workspace. Rollback to the previous version or a specified version is supported. For example, to roll back to version v3, use the /skill-rollback my-skill --to v3 command.

/skill-evolver-auto-set on|off Iteration period

Toggles skill auto-iteration on or off.

  • on|off: Mandatory parameter. on: indicates that the function is enabled. off: indicates that the function is disabled.
  • Iteration period: Optional parameter. It indicates the time window during which the daemon runs skill auto-iteration. The daemon only runs iteration tasks within the time window you specify. The value ranges from 0 to 23.

For example, to run skill auto-iteration every day between 21:00 and 05:00, use the command /skill-evolver-auto-set on 21 5.

CAUTION:

Enabling skill auto-iteration consumes additional tokens. Once cumulative consumption reaches 2 million tokens, skill auto-iteration will automatically pause.