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

Cmd. /copy

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

Key takeaways

  • Pick a whole Codex response, code block, or blockquote and copy it as Markdown.
  • Check the input surface and availability before using the examples below.

Purpose

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

/copy

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

/copy

When to use it

  1. Copy a complete plan into an issue, pull request, or team message.
  2. Select only the reusable code block or blockquote from a long response.

Choosing related commands

CommandDifferenceChoose It When
/copySelects a whole response, code block, or blockquoteYou want to reuse part or all of a result
/rawSimplifies terminal scrollbackYou need to select parts of multiple turns or logs
/diffShows working-tree changesYou need code changes rather than response text

Effects and persistence

Copies the selected response or supported content to the clipboard. Check the selected scope before pasting elsewhere.

/copy selects the whole completed response, a code block, or a blockquote and copies it to the clipboard.

copy behavior

/copy also supports status output and individual session fields. Response copies preserve formatting in rich-text applications. Choose the required item from the installed picker.

official changelog · 2026-09-12 KST

Update

  • The old whole-response flow now opens a picker for the full response, individual code blocks, and blockquotes.

Changelog ahead of command reference

The 0.150.0 official changelog is the source for the picker. The current detailed Developer Commands section still describes the pre-picker “latest completed output” flow, including the before-first-response, in-progress-turn, rollback, and Ctrl+O edge cases. This page combines the new release behavior with those still-applicable reference constraints instead of pretending the two official pages were updated at the same time.

Cautions

  • It does not copy partial output from the active turn.
  • It is unavailable without a completed response or immediately after rollback.
  • Check for secrets before sharing clipboard contents externally.

Official sources

  • Developer Commands
  • Changelog
  • Rust V0.105.0

Complete command list · Verification scope · History for this command

Related docs

Cmd. /copy

Claude Code Command Master · Copy a recent assistant response or selected code block.

Cmd. /export

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

Core Command Group

The most frequently used Codex commands, including full conversation export, in one page.

Cmd. /export

Claude Code Command Master · Copy or save the current conversation as plain text.

Cmd. /terminal-setup

Claude Code Command Master · Configure multiline input and clipboard behavior by terminal.

Cmd. /compact

Summarize a long conversation to free context.

Cmd. /memories

Configure memory use and generation for Codex sessions.

On this page

PurposeAvailabilityExamplesWhen to use itChoosing related commandsEffects and persistencecopy behaviorUpdateCautionsOfficial sources