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. 24 commands indexed.
/background
parallel-agents
Detach the current session to run as a background agent and free this terminal. Optionally pass a final instruction before detaching.
/fork
parallel-agents
Spawn a forked subagent that inherits the full conversation and works on a directive while you keep going in the main session.
/loop
automation
Run a prompt repeatedly on a schedule while the session stays open. Omit the interval and Claude self-paces between iterations.
/model
configuration
Switch the AI model and save it as your default for new sessions. Adjust effort level with left/right arrows on models that support it.
/resume
session-management
Resume a previous conversation by ID or name, or open the session picker.
/tasks
parallel-agents
View and manage everything running in the background in the current session.
/usage
diagnostics
Show session cost, plan usage limits, and activity stats. Includes breakdown by skill, subagent, plugin, and MCP server on paid plans.
/archive
session-management
Archive the current session and exit. Removes it from active session lists; transcript kept locally. Restore with 'codex unarchive <SESSION>'.
/model
configuration
Choose the active model (and reasoning effort when available). Opens a picker; press s to switch for the current session only.
/new
session-management
Start a new conversation inside the same CLI session without clearing the terminal view.
/permissions
configuration
Set what Codex can do without asking first — switch between Auto, Read Only, or custom permission profiles mid-session.
/resume
session-management
Resume a saved conversation from your session list. Continue work from a previous CLI session without starting over.
/status
diagnostics
Display session configuration and token usage — active model, approval policy, writable roots, and context capacity.
/model
configuration
Set or list available models for the current session.
/new-chat
session-management
Start a new chat session with empty context.
/resume
session-management
Resume a previous chat session by folder name.
/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.
/resume
session-management
Browse auto-saved sessions and manage manual checkpoints. Conversations are auto-saved; use tags for manual checkpoints.
/stats
diagnostics
Detailed usage statistics — session totals, per-model breakdown, and tool call counts.
/compact
context-management
Summarize the current session to save tokens. Alias: /summarize.
/new
session-management
Start a new session. Aliases: /clear. Keybind: Ctrl+x n.
/sessions
session-management
List and switch sessions. Aliases: /resume, /continue. Keybind: Ctrl+x l.
/share
session-management
Share the current session publicly.