Commands
Session commands
Section titled “Session commands”/context [name]
Section titled “/context [name]”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/clear
Section titled “/clear”Start a completely fresh session. Clears all state: session history, model overrides, edit approvals, and cancels any running tasks.
/clear/model [name|reset]
Section titled “/model [name|reset]”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 defaultShort names are supported: sonnet, opus, haiku. You can also use a full model ID.
/resume [session_id]
Section titled “/resume [session_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 prefixTask commands
Section titled “Task commands”/cancel
Section titled “/cancel”Abort the currently running Claude task. Also clears any queued setup messages.
/cancel/tasks
Section titled “/tasks”List active background tasks with their elapsed time and description.
/tasks/schedule
Section titled “/schedule”List and manage scheduled tasks. Scheduled tasks are cron-like recurring or one-shot Claude prompts that run automatically.
/scheduleInformation commands
Section titled “Information commands”/status
Section titled “/status”Show current state: context name and directory, active model, session ID, running status, and any active background tasks.
/status/usage
Section titled “/usage”Show Claude API quota and usage statistics for your account, including tier information and usage bars.
/usageMini App commands
Section titled “Mini App commands”/review
Section titled “/review”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.
/reviewOpen 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/login
Section titled “/login”Open the authentication Mini App for token-based login. Used to re-authenticate Claude Code access for Mini Apps.
/loginServer commands
Section titled “Server commands”/mcp [subcommand] [server-name]
Section titled “/mcp [subcommand] [server-name]”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
Section titled “/restart”Restart the OpenShrimp process. The bot sends a confirmation message after it comes back online.
/restart