# OpenCode's commands in Moontors

## Works in Moontors

### Sent to the agent

- `/automation`: Create an automation, or list, pause, resume and delete the project's automations.
- `/goal`: Keep working until an objective is met; or pause, resume or clear it.

### A Moontors view

- `/diff`: Moontors' /diff shows this session's changes.
- `/help`: Moontors' /help lists the session's commands, with what each does.
- `/mcps`: Moontors' /mcp shows the MCP servers and switches them.
- `/plugins`: Moontors' /plugins shows the plugins and switches them.
- `/skills`: Moontors' /skills shows the skills and switches them.
- `/status`: Moontors' /status shows the session's agent, account, context and usage.
- `/usage`: /status shows the usage and its limits.

### An action

- `/btw`: Moontors' /btw asks a side question that leaves the conversation as it is.
- `/clear`: Moontors' /clear starts a new conversation.
- `/compact`: Moontors' /compact summarizes the conversation to free up context.
- `/export`: Moontors' /export saves the transcript as a Markdown file.
- `/init`: Moontors' /init writes the AGENTS.md file, in OpenCode's own words.
- `/new`: Moontors' /clear starts a new conversation.
- `/rename`: Moontors' /rename renames the session.
- `/restart`: Moontors' /restart ends the session's agent and starts it again on its conversation, reading your environment again, so what you installed since is found; it asks first where that ends work under way.
- `/review`: Moontors' /review reviews this session's changes.
- `/undo`: Moontors' /rewind goes back to before one of your prompts.

## Depends on your account

These work only where your account, OpenCode's features or your settings turn them on; what decides each is named with it. Moontors shows each as your session has it.

- `/automation`: automations, on by default.

## Not in Moontors

### Only in the terminal

They need OpenCode's own terminal, which Moontors doesn't show.

- `/cd`: Change the working directory. Only OpenCode's own terminal can run it; Moontors talks to OpenCode over ACP, which doesn't offer it.
- `/copy`: Copy the last assistant message. Select text in the transcript to copy it.
- `/debug`: View debug info. It changes OpenCode's terminal, which Moontors doesn't show.
- `/editor`: Write the prompt in an editor. Moontors writes the prompt in its own composer.
- `/exit`: Exit the app. A session runs until you archive it. Also `/quit`, `/q`.
- `/highlights`: Show the release's highlights. Only OpenCode's own terminal can run it; Moontors talks to OpenCode over ACP, which doesn't offer it.
- `/redo`: Redo what undo took back. Only OpenCode's own terminal can run it; Moontors talks to OpenCode over ACP, which doesn't offer it.
- `/reload`: Reload the configuration. OpenCode reads its config again by itself as its files change.
- `/settings`: Open its terminal's settings. It changes OpenCode's terminal, which Moontors doesn't show.
- `/stats`: Usage statistics across sessions. Only OpenCode's own terminal can run it; Moontors talks to OpenCode over ACP, which doesn't offer it.
- `/themes`: Switch the theme. It changes OpenCode's terminal, which Moontors doesn't show.
- `/timeline`: Jump to a message. It changes OpenCode's terminal, which Moontors doesn't show.

### Handed off elsewhere

They hand the session to another app or to OpenCode's cloud.

- `/pair`: Pair a browser or an app with its server. The session runs in Moontors, which doesn't hand it to another app. Also `/web`.

### Moontors has its own way

Moontors does the same from its own screens, named with each.

- `/agents`: Switch the agent. The permission mode picker beside the composer switches to Plan.
- `/connect`: Connect an integration. Moontors' sign-in signs in to OpenCode. Also `/login`, `/auth`.
- `/fork`: Fork the session. The session's Fork button forks it into a new session.
- `/models`: Switch the model. The model picker beside the composer sets the model and effort.
- `/open`: Open a session or a project. Each session on the board keeps its conversation; open it to go on. Also `/projects`, `/project`.
- `/sessions`: Switch to another session. Each session on the board keeps its conversation; open it to go on. Also `/resume`, `/continue`.
- `/speed`: Switch the model's speed. The model picker beside the composer sets the model and effort. Also `/fast`.
- `/terminal`: Open a new terminal. The session's terminal opens a shell in its folder.
- `/variants`: Switch the model's variant. The model picker beside the composer sets the model and effort. Also `/thinking`, `/effort`.
- `/worktrees`: Manage workspaces. Create Session can run a new session in a worktree of its own.

### Changes your own setup

They change setup outside Moontors that your own OpenCode uses too.

- `/update`: Update OpenCode. Moontors runs its own pinned OpenCode, which Moontors' updates move.

## Moontors' own commands

Moontors runs these itself with OpenCode, which has no command of the name: `/rewind`, `/mcp`, `/memory`, `/add-dir`, `/logout`, `/context`, `/tasks`, `/archive`, `/delete`, `/subtask`. What each does is in Moontors' conversation commands guide.

Not with OpenCode, as it can't do them:

- `/approve`, which Claude Code, Codex and Grok Build have
- `/apps`, which Codex has
- `/branch`, which Claude Code and Codex have
- `/commands`, which Gemini CLI has
- `/context-window`, which Grok Build has
- `/daybreak`, which Codex has
- `/experimental`, which Codex has
- `/feedback`, which Codex has
- `/hooks`, which Claude Code, Codex, Gemini CLI and Grok Build have
- `/memories`, which Codex and Grok Build have
- `/output-style`, which Claude Code has
- `/policies`, which Gemini CLI has
- `/recap`, which Codex has
- `/sandbox`, which Claude Code has
- `/security-review`, which Claude Code has
- `/setup-default-sandbox`, which Codex has
- `/tools`, which Gemini CLI has

## Not supported yet

A command OpenCode reports that this page doesn't know yet, as a newer release brings, shows in the `/` list as "not supported yet" and can't be run until a Moontors update adds it.