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. /cd
한국어English

Cmd. /cd

Track the 0.149.0 working-directory commands and verify their live behavior in the installed slash-command help.

Key takeaways

  • Track the 0.149.0 working-directory commands and verify their live behavior in the installed slash-command help.
  • Check the input surface and availability before using the examples below.

Purpose

Track the 0.149.0 working-directory commands and verify their live behavior in the installed slash-command help.

/cd <path>

Availability

FieldValue
Input surfaceRunning CLI prompt
KindBuilt-in
StatusRelease-tracked
Aliases—
Documented minimumNot specified
Reviewed against2026-09-22 · Codex CLI 0.155.1
Release evidencev0.150.0

This entry is absent from the current command table or tracked separately through releases. Check the evidence and installed build.

Examples

/cd ../shared

When to use it

  1. Inspect /cd in the installed slash picker before moving a live monorepo task.
  2. Inspect /pwd and /cwd separately and record the reported cwd before resuming or queueing work.

Choosing related commands

CommandDifferenceChoose It When
/cd <path>Changes the active directoryThe same task must move to another work root
/pwd, /cwdRelease-note companions; exact relationship is not yet specified in the referenceYou need to inspect the live build's directory context
/new [name]Starts a new taskBoth directory and conversation context should split

Effects and persistence

Changes the session's working directory. Check the resulting path and project settings.

The 0.149.0 release note says /cd, /pwd, and /cwd manage the working directory. It does not document each command's exact syntax, output, or alias relationship, and the current Developer Commands reference has not caught up. In a 0.149.0+ build, open the slash-command picker and follow its inline signature before moving a live task.

Cautions

  • Prefer an absolute path when ambiguity matters; the current reference does not publish relative-path resolution details.
  • Moving directories does not bypass trust or managed deny-read policy.
  • On 0.151.0+, regression tests should confirm the same deny-read and writable-root boundaries before and after /cd.
  • A new project's AGENTS.md becomes an instruction source only after the project is trusted.
  • Do not automate against a presumed /pwd or /cwd output format until the reference documents it.

Documentation status

This page intentionally separates release evidence from reference evidence. The 0.149.0 changelog confirms the command group; the current Developer Commands inventory does not yet list these three entries. The installed slash picker is therefore the final source for build-specific behavior.

Official sources

  • Changelog
  • Developer Commands

Complete command list · Verification scope · History for this command

Related docs

Cmd. /add-dir

Claude Code Command Master · Add a working directory for file access in this session.

Cmd. /resume

Claude Code Command Master · Resume by ID, name, or picker (/continue).

Cmd. /sandbox-add-read-dir

Grant sandbox read access to an additional absolute directory path.

Cmd. /agents

Claude Code Command Master · On current versions, explain how to manage subagents.

Session Command Group

Commands for keeping long Codex sessions continuous and readable.

Cmd. /new

Start a new conversation inside the current CLI session.

Cmd. /export

Export the complete TUI conversation as Markdown to the clipboard or a new file.

On this page

PurposeAvailabilityExamplesWhen to use itChoosing related commandsEffects and persistenceCautionsOfficial sources