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

Cmd. /export

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

Key takeaways

  • Export the complete TUI conversation as Markdown to the clipboard or a new file.
  • Check the input surface and availability before using the examples below.

Purpose

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

/export

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.148.0

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

Examples

/export

Choose the clipboard or a new Markdown file as the destination.

When to use it

  1. Preserve a long investigation as evidence for a team document or issue.
  2. Save a reproducible work record as a Markdown artifact.
  3. Export a migration or incident-response conversation for retrospective review.

Choosing related commands

CommandDifferenceChoose It When
/exportExports the complete TUI conversationYou need the whole work record
/copyCopies the latest completed responseYou only need the latest result
/rawSimplifies terminal scrollbackYou want to select part of the visible transcript manually

Effects and persistence

Exports conversation content to the supported destination. Code and local paths in the conversation may be included.

/export exports the complete current TUI conversation as Markdown to the clipboard or a new file.

Cautions

  • The exported file contains conversation content; check its destination and whether it belongs in the repository.
  • Remove secrets, access tokens, customer data, and local absolute paths before external sharing.
  • Do not treat conversation export as a replacement for structured audit logs or retention policy.

Official sources

  • Changelog
  • Rust V0.148.0

Complete command list · Verification scope · History for this command

Related docs

Cmd. /export

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

Cmd. /tui

Claude Code Command Master · Switch TUI renderer while preserving the conversation.

Cmd. /terminal-setup

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

Cmd. /new

Start a new conversation inside the current CLI session.

Cmd. /copy

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

Cmd. /cd

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

Cmd. /recap

Manual task recaps and the automatic recap setting

On this page

PurposeAvailabilityExamplesWhen to use itChoosing related commandsEffects and persistenceCautionsOfficial sources