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. 21 commands indexed.
/approve
configuration
Approve one retry of a recent auto review denial — lets Codex attempt a blocked action once under current policy.
/archive
session-management
Archive the current session and exit. Removes it from active session lists; transcript kept locally. Restore with 'codex unarchive <SESSION>'.
/compact
context-management
Summarize the visible conversation to free tokens. Use after long runs so Codex retains key points without blowing the context window.
/diff
code-review
Show the Git diff including files Git isn't tracking yet. Review Codex's edits before committing or running tests.
/fast
configuration
Toggle the Fast service tier for the current model/thread, or check current state.
/fork
session-management
Fork the current conversation into a new thread with a fresh ID, leaving the original transcript untouched for parallel exploration.
/goal
planning
Set a persistent task goal (max 4,000 chars). Codex tracks it across turns. Subcommands: pause, resume, clear, view.
/ide
context-management
Include open files, current selection, and other IDE context in the next prompt without re-explaining what's open.
/init
setup
Generate an AGENTS.md scaffold in the current directory for persistent repo instructions.
/mcp
integrations
List configured Model Context Protocol (MCP) tools. Pass 'verbose' for server diagnostics.
/mention
context-management
Attach a file or folder to the conversation via popup picker so Codex references it directly in the next turn.
/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.
/personality
configuration
Choose a communication style for responses — friendly, pragmatic, or none — without rewriting your instructions.
/plan
planning
Switch to plan mode and optionally send a prompt. Codex proposes an execution plan before implementation starts.
/resume
session-management
Resume a saved conversation from your session list. Continue work from a previous CLI session without starting over.
/review
code-review
Ask Codex to review your working tree — summarizes issues, focusing on behavior changes and missing tests.
/side
context-management
Start an ephemeral side conversation for a focused detour — the parent thread keeps running and its status stays visible.
/skills
configuration
Browse and use local skills to improve task-specific behavior by loading relevant skill context.
/status
diagnostics
Display session configuration and token usage — active model, approval policy, writable roots, and context capacity.