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

Cmd. /agent

Switch between spawned Codex subagent threads to inspect each agent transcript, status, model, and reasoning effort before merging their work.

Key takeaways

  • Switch between spawned Codex subagent threads to inspect each agent transcript, status, model, and reasoning effort before merging their work.
  • Check the input surface and availability before using the examples below.

Purpose

Switch between spawned Codex subagent threads to inspect each agent transcript, status, model, and reasoning effort before merging their work.

/agent

Availability

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

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

Examples

/agent

When to use it

  1. After spawning a subagent, use /agent to inspect the subagent transcript and current status.
  2. In long multi-agent work, combine /agent, /status, and /diff before deciding what to integrate.

Choosing related commands

CommandDifferenceChoose It When
/agentSwitches among spawned agent threadsYou need to inspect an agent's work
/sideOpens a temporary side conversationYou need a short separate question
/forkBranches the current conversationYou need a longer alternate path

Effects and persistence

Switches the visible thread and conversation target to the selected agent.

/agent (/subagents) switches the active thread so you can inspect or continue work in a spawned subagent.

Session cleanup in 0.155.0

The agents overview supports task hiding, archiving, and deletion, worktree ownership details, and confirmed deletion of clean managed worktrees. Distinguish these lifecycle actions from /agent thread switching.

Official changelog

Cautions

  • Do not treat subagent output as merged work until you review diffs and tests.
  • Use /status if you are unsure which thread is active.

Official sources

  • Developer Commands
  • Cli

Complete command list · Verification scope · History for this command

Related docs

Cmd. /side

Start an ephemeral side conversation from the current thread.

Cmd. /fork

Branch the current conversation into a new thread.

Cmd. /fork

Claude Code Command Master · Copy the conversation into a new background session.

Cmd. /tasks

Claude Code Command Master · Manage current-session background work (/bashes).

Cmd. /effort

Claude Code Command Master · Set or inspect model-specific reasoning effort.

Cmd. /mcp

List configured MCP tools and inspect server diagnostics.

Cmd. /apps

Browse apps and connectors, then insert app mentions into the prompt.

On this page

PurposeAvailabilityExamplesWhen to use itChoosing related commandsEffects and persistenceSession cleanup in 0.155.0CautionsOfficial sources