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. 9 commands indexed.
/btw
context-management
Ask a quick side question without adding it to the main conversation history.
/init
setup
Initialize project with a CLAUDE.md guide covering repo conventions, commands, and agent instructions.
/quit
session-management
Exit the Cursor CLI.
/rules
setup
Create new rules or edit existing rules in .cursor/rules (.mdc files) for persistent project guidance.
/agents
parallel-agents
Manage subagents — list built-in, local, and remote subagents; enable, disable, or configure.
/exit
session-management
Exit OpenCode. Aliases: /quit, /q. Keybind: Ctrl+x q.
/init
setup
Guided AGENTS.md setup for the current project.
/themes
configuration
List available themes and switch the visual theme. Keybind: Ctrl+x t.
/undo
session-management
Remove the last message and its responses, and revert any file changes made. Git-backed — requires a git repository. Keybind: Ctrl+x u.