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.

commands
9
tools
6

/resume

session-management

Antigravity CLI

Resume or switch to a past conversation session. Aliases: /switch, /conversation.

resumesessionsswitch
view command →

/clear

session-management

Claude Code

Start a new conversation with empty context. The previous conversation stays available in /resume. Optionally name the previous conversation.

clearnew-sessioncontext-reset
view command →

/goal

planning

Claude Code

Set a persistent goal — Claude keeps working across turns until the condition is met. View, pause, resume, or clear with subcommands.

goalautonomouslong-runningagentic
view command →

/resume

session-management

Claude Code

Resume a previous conversation by ID or name, or open the session picker.

resumesessionshistory
view command →

/goal

planning

Codex CLI

Set a persistent task goal (max 4,000 chars). Codex tracks it across turns. Subcommands: pause, resume, clear, view.

goalautonomouslong-runningtarget
view command →

/resume

session-management

Codex CLI

Resume a saved conversation from your session list. Continue work from a previous CLI session without starting over.

resumesessionshistory
view command →

/resume

session-management

Cursor CLI

Resume a previous chat session by folder name.

resumesessionshistory
view command →

/resume

session-management

Gemini CLI

Browse auto-saved sessions and manage manual checkpoints. Conversations are auto-saved; use tags for manual checkpoints.

resumesessionscheckpointshistory
view command →

/sessions

session-management

OpenCode

List and switch sessions. Aliases: /resume, /continue. Keybind: Ctrl+x l.

sessionsresumehistory
view command →