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. 6 commands indexed.
/clear
session-management
Start a new conversation with empty context. The previous conversation stays available in /resume. Optionally name the previous conversation.
/goal
planning
Set a persistent goal — Claude keeps working across turns until the condition is met. View, pause, resume, or clear with subcommands.
/goal
planning
Set a persistent task goal (max 4,000 chars). Codex tracks it across turns. Subcommands: pause, resume, clear, view.
/new
session-management
Start a new conversation inside the same CLI session without clearing the terminal view.
/clear
session-management
Clear the terminal screen and visible history (same as Ctrl+L).
/new
session-management
Start a new session. Aliases: /clear. Keybind: Ctrl+x n.