Skip to main content
reopt Handbook
reopt Handbook
Codex Command MasterLabels and command selectionHow to read a detail guideComplete command listTerminal CLI Commands and Options

Task guides

Core Command GroupSession Command GroupCustom Command GuideMCP Command and Integration GuideDesign Workflows

Conversation and context

Cmd. /clearCmd. /renameCmd. /archiveCmd. /deleteCmd. /compactCmd. /copyCmd. /memoriesCmd. /importCmd. /initCmd. /mentionCmd. /forkCmd. /sideCmd. /resumeCmd. /newCmd. /cdCmd. /exportCmd. /recap

Planning and execution

Cmd. /planCmd. /goalCmd. /psCmd. /stopCmd. /app

Review and verification

Cmd. /review

Models and settings

Cmd. /modelCmd. /fast

Permissions and integrations

Cmd. /permissionsCmd. /ideCmd. /setup-default-sandboxCmd. /sandbox-add-read-dirCmd. /pluginsCmd. /hooksCmd. /approveCmd. /skillsCmd. /mcp

Status and diagnostics

Cmd. /agentCmd. /appsCmd. /diffCmd. /feedbackCmd. /personalityCmd. /rawCmd. /statusCmd. /debug-configCmd. /title

Display and input

Cmd. /keymapCmd. /vimCmd. /experimentalCmd. /statuslineCmd. /themeCmd. /petsCmd. /voiceCmd. /worktree

Account and usage

Cmd. /exitCmd. /logoutCmd. /quitCmd. /usage

Legacy

Cmd. /approvals

Verification and history

Current verification scopeHandbook updatesRelease coverage historyEarlier verification recordsCommand change history
Handbook›Codex Command Master›Cmd. /memories
한국어English

Cmd. /memories

Configure memory use and generation for Codex sessions.

Key takeaways

  • Configure memory use and generation for Codex sessions.
  • Check the input surface and availability before using the examples below.

Purpose

Configure memory use and generation for Codex sessions.

/memories

Availability

FieldValue
Input surfaceRunning CLI prompt
KindBuilt-in
StatusCurrent reference
Aliases—
Documented minimumNot specified
Reviewed against2026-09-22 · Codex CLI 0.155.1

The installed command menu and account or organization settings determine availability.

Examples

/memories

When to use it

  1. Disable memory behavior before working with sensitive external context.
  2. Verify memory settings when a long-running project depends on team preferences.

Choosing related commands

CommandDifferenceChoose It When
/memoriesControls memory use and generationLong-term context boundaries matter
/compactSummarizes the current transcriptYou only need to reduce current context
/clearStarts fresh visible chat flowYou want a new conversation surface

Effects and persistence

Manages memory settings for future sessions; it does not erase the current conversation or all previously stored memories.

/memories controls whether Codex uses existing memories and whether new sessions contribute to memory generation.

Cautions

  • Treat memories as a convenience layer with explicit privacy rules.
  • Be conservative when web, MCP, or browser context is involved.

Official sources

  • Developer Commands
  • Memories

Complete command list · Verification scope · History for this command

Related docs

Cmd. /memory

Claude Code Command Master · Manages CLAUDE.md and auto memory. Saved project instructions can affect later sessions.

Memories

Advanced Codex Usage · Operate Codex memories and persistent facts without accumulating stale context.

Cmd. /new

Start a new conversation inside the current CLI session.

Cmd. /compact

Summarize a long conversation to free context.

Cmd. /web-setup

Claude Code Command Master · Connect Claude Code web using local gh credentials.

Cmd. /copy

Pick a whole Codex response, code block, or blockquote and copy it as Markdown.

Cmd. /import

Import supported Claude Code setup, project files, and recent chats into Codex.

On this page

PurposeAvailabilityExamplesWhen to use itChoosing related commandsEffects and persistenceCautionsOfficial sources