Skip to content

Commands

List available contexts or switch to a different one.

  • No arguments — shows a paginated list of contexts. The current context is marked with a bullet.
  • With name — switches to the named context. If a session exists for that context, you’re prompted to resume or start fresh.
/context # list contexts
/context myproject # switch to myproject

Start a completely fresh session. Clears all state: session history, model overrides, edit approvals, and cancels any running tasks.

/clear

Show or change the model for the current session.

  • No arguments — shows the current model and any active override.
  • With name — sets a session-scoped model override. The current session is closed; the next message starts a new session with the new model.
  • reset — clears the override and reverts to the context’s default model.
/model # show current model
/model opus # switch to Opus
/model reset # revert to default

Short names are supported: sonnet, opus, haiku. You can also use a full model ID.

List recent sessions or resume a specific one.

  • No arguments — shows a paginated list of recent sessions for the current context, with metadata (title, summary, creation time, size).
  • With ID or prefix — resumes the specified session.
/resume # list recent sessions
/resume abc123 # resume by ID prefix

Abort the currently running Claude task. Also clears any queued setup messages.

/cancel

List active background tasks with their elapsed time and description.

/tasks

List and manage scheduled tasks. Scheduled tasks are cron-like recurring or one-shot Claude prompts that run automatically.

/schedule

Show current state: context name and directory, active model, session ID, running status, and any active background tasks.

/status

Show Claude API quota and usage statistics for your account, including tier information and usage bars.

/usage

Open the Review Mini App — a web-based diff viewer for the current context’s working directory. Shows one button per directory if the context has additional directories.

Requires review.public_url or review.tunnel to be configured.

/review

Open the VNC viewer Mini App for computer-use contexts. Only available when the context has computer_use: true and the sandbox is running with a desktop environment.

/vnc

Open the authentication Mini App for token-based login. Used to re-authenticate Claude Code access for Mini Apps.

/login

List and manage MCP (Model Context Protocol) servers.

  • No arguments — lists all MCP servers with their connection status, tool counts, and version info.
  • reset <name> — reconnect a failed MCP server.
  • enable <name> — enable a disabled MCP server.
  • disable <name> — disable an MCP server.
/mcp # list servers
/mcp reset github # reconnect the github server
/mcp disable slack # disable the slack server

Restart the OpenShrimp process. The bot sends a confirmation message after it comes back online.

/restart