slash commands / reference
COMMAND REFERENCE▌
Slash commands for every AI coding tool — Claude Code, Cursor, Codex CLI, Gemini CLI, and OpenCode. Find the right command for your workflow. 16 commands indexed.
/ask
exploration
Switch to Ask mode for read-only exploration — the agent searches and answers questions without editing any files.
/auto-run
configuration
Toggle auto-run (default) or set explicitly on/off/status. Controls whether tools run without asking for confirmation.
/commands
setup
Create or edit custom slash commands for repetitive workflows.
/compress
context-management
Summarize conversation to free context window space while keeping a high-level record of what happened.
/feedback
diagnostics
Share feedback with the Cursor team directly from the CLI.
/logout
configuration
Sign out from Cursor.
/max-mode
configuration
Toggle max mode on models that support it — enables extended reasoning and capability.
/mcp
integrations
Browse, enable, and configure MCP servers. Subcommands: list, enable <name>, disable <name>.
/model
configuration
Set or list available models for the current session.
/new-chat
session-management
Start a new chat session with empty context.
/plan
planning
Switch to Plan mode — the agent researches your codebase, asks clarifying questions, and produces a reviewable implementation plan before writing code.
/quit
session-management
Exit the Cursor CLI.
/resume
session-management
Resume a previous chat session by folder name.
/rules
setup
Create new rules or edit existing rules in .cursor/rules (.mdc files) for persistent project guidance.
/sandbox
configuration
Configure sandbox mode and network access settings for the current session.
/usage
diagnostics
View Cursor streaks and usage statistics for the current session.