Codex 명령어 마스터
Codex CLI 슬래시 명령어를 기본 묶음과 심화 페이지로 정리한 실전 핸드북
최근 수정된 챕터
가장 자주 쓰는 Codex 기본 명령어를 한 번에 정리합니다.
가장 최근에 완료된 Codex 응답을 Markdown으로 클립보드에 복사하는 명령. 실행 중 응답과 rollback 직후의 제약, Ctrl+O 단축키를 함께 설명합니다.
Codex TUI의 ambient terminal pet을 선택하거나 숨기는 개인화 명령. picker, 인라인 이름, off 옵션과 터미널 지원 범위를 설명합니다.
현재 Codex 채팅의 저장 이름을 transcript 변경 없이 지정하거나 바꾸는 명령. 인라인 이름과 대화형 prompt 사용법을 다룹니다.
Windows의 degraded restricted-token sandbox를 elevated agent sandbox로 설정하는 관리자 온보딩 명령. 노출 조건과 권한 preset 변경을 설명합니다.
이 핸드북은 Codex CLI 명령어를 빠르게 선택하고 정확히 적용하기 위한 실무 가이드입니다. 기본 명령어는 묶어서 설명하고, 실무 영향이 큰 명령어는 개별 심화 페이지로 분리했습니다.
2026-07-12 디자인 워크플로우 추가
공식 Codex use case를 기준으로 Figma MCP, $imagegen, $playwright, Build Web Apps를
/plugins, /skills, /mcp, /ide, /diff, /review와 연결하는 디자인 흐름을 추가했습니다.
별도의 /design 명령이 아니라 Skill·Plugin·MCP 조합이라는 경계도 함께 정리했습니다.
기준 출처
OpenAI Codex 공식 slash commands 페이지를 기본 기준으로 삼고, slash docs보다 먼저 반영된 최신
명령은 official changelog/release로 보강했습니다. 2026-08-03 KST 검증 기준, 공식 최신 stable/latest CLI,
로컬 CLI, npm latest는 v0.146.0 (2026-07-29) 입니다. 0.145.0~0.146.0의 thread lifecycle,
import, Agent Plugins/marketplace, remote Code Mode, proxy·MCP/App refresh 변경을 반영했습니다.
npm alpha=0.147.0-alpha.4는 실험 채널로만 기록합니다.
2026-08-03 공식 명령 목록 재검증
최신 stable은 0.146.0으로 유지됩니다. 공식 slash reference에 등재된 /copy, /rename,
/pets(/pet), Windows 전용 /setup-default-sandbox를 개별 페이지로 보강했고,
/agent의 /subagents, /side의 /btw 별칭과 /app의 공식 등재 상태도 동기화했습니다.
v0.145.0~v0.146.0 기준 (2026-08-01)
- 최신 stable/latest — GitHub release, 로컬 CLI, npm
latest는 0.146.0; npmalpha=0.147.0-alpha.4 - thread lifecycle — named
/new·/clear, pinning, side 전환, paginated history/fork와 replay 보존 - migration/extensions — 확장
/import, Agent Plugins, workspace publish, Bedrock·Claude Code marketplace - runtime — remote Code Mode host, custom-provider web search, executor-provided skills, proxy·MCP/App refresh
v0.144.0 기준 (2026-07-10)
- 최신 stable/latest — GitHub latest release와 npm
latest는 0.144.0 - 0.143.0~0.144.0 — remote plugin 기본 활성화,
remote-control pair, MCP tool search/auth, app approvalwrites, reset-credit 상세/선택,/review성능·자동 리뷰 보강 - 안정성 — retired-model compaction 복구, Windows sandbox writable-root 삭제, terminal control sanitization, connector auth refresh
- alpha 채널 — npm
alpha=0.145.0-alpha.1은 실험 채널로만 기록
v0.140.0~v0.142.0 업데이트 (2026-06-25)
- 새 공식 명령 3개 추가 —
/delete,/import,/usage를 공식 slash commands 표와 changelog 기준으로 개별 페이지에 반영 - 세션 삭제/보존 분리 —
/delete는 current transcript와 spawned descendant session을 영구 삭제하므로/archive와 보존 정책을 분리 - Claude Code import —
/import로 Claude Code 설정·프로젝트 파일·최근 채팅을 Codex configuration/local files로 가져오되, import 후/diff와/debug-config를 필수 점검 - 사용량 점검 —
/usage daily|weekly|cumulative와 earned rate-limit reset을 장기/goal·multi-agent 실행 전 점검 루틴에 추가 - 운영 변화 반영 — indexed web search mode, plugin organization, rollout token budgets, multi-agent delegation modes, UTC scheduled reminders/current-time handling, TUI disconnect 복구를 overview/검증 기준에 반영
v0.138.0~v0.139.0 업데이트 (2026-06-12)
/app추가 — 0.138.0 changelog 기준 현재 CLI thread를 macOS/Windows Codex Desktop으로 넘기는 release-tracked command를 개별 페이지로 추가- code mode/MCP 호환성 보강 — 0.139.0의 standalone web search 호출, MCP tool input schema의
oneOf/allOf보존, 큰 schema compaction 개선을 exec/MCP 운영 기준에 반영 - 진단 표준 갱신 —
codex doctor가 editor/pager environment를 로컬 리포트에 포함하고 JSON에서는 raw value를 redaction하는 흐름을 setup/검증 기준에 추가 - plugin marketplace 자동화 보강 — plugin add/remove/marketplace 명령의
--json,codex plugin list --available --json, marketplace source JSON,marketplace install/upgrade흐름을/plugins에 반영 - app-server/debug 보강 — account token usage 조회, ChatGPT v2 personal access token,
codex debug app-server send-message-v2복구를 자동화/검증 문맥에 반영 - 모델/입력 UX 보강 — reasoning effort fallback shortcuts, 모델이 광고한 effort 순서 반영, 이미지 첨부/생성 파일 path 노출을
/model과 앱/exec 운영에 연결 - 안전/상태 보강 — sandbox
-Ppermissions profile alias, network proxy enforcement,/debug-configeffective sandbox mode 표시,resume/fork --lastprompt 처리, MCP startup warning scoping, cloud-managed requirement 보존 반영
v0.133.0~v0.137.0 업데이트 (2026-06-08)
/archive추가 — 0.136.0 release 기준 TUI/archive와 CLIcodex archive/codex unarchive를 개별 페이지로 추가- 권한/프로필 갱신 —
/permissions가 named permission profiles와 custom profiles를 표시하고,--profile은 별도 profile file 기반으로 전환 - app-server/remote 보강 —
codex app-server --stdio, thread archive/unarchive events, remote-control pairing/grant RPC 반영 - 플러그인/멀티에이전트 보강 —
codex plugin list --json, cached remote catalog suggestions, Multi-agent v2 runtime metadata 반영 - 운영 UX 보강 — richer
codex doctor, remote/status, F13-F24 keybindings, searchable menu paste, reasoning-only status/title item 반영
v0.131.0~v0.132.0 업데이트 (2026-05-21)
- 공식 slash inventory 보강 —
/approve,/ide,/memories,/raw,/skills,/theme,/vim을 공식 문서 기준 개별 페이지로 추가 /vim승격 — 0.129.0 changelog-only preview에서 공식 slash commands 표준 명령으로 승격- CLI 0.132.0 —
codex exec resume --output-schema, Python SDK auth/turn API, original-resolution image fidelity, goal continuation guardrail 반영 - CLI 0.131.0 —
codex doctor, 통합@picker(files/directories/plugins/skills), data-driven service-tier commands, remote-control daemon/API, plugin marketplace CLI와 version-aware sharing 반영 - 모델 기준 갱신 —
gpt-5.5가 ChatGPT 로그인과 API-key 인증 모두에서 Codex CLI/SDK·App/IDE에 지원되는 최신 frontier 기본값으로 재정리
v0.128.0~v0.130.0 업데이트 (2026-05-10)
/goal— 긴 작업의 persisted goal을 설정/조회/pause/resume/clear하는 공식 명령으로 반영/keymap— TUI shortcut을 context별로 점검하고config.toml에 저장하는 명령 추가/side— 공식 slash docs에 등재되어 임시 side conversation 표준 명령으로 승격/stop— background terminal 중지 명령 추가,/clean은 alias로 유지/hooks— 공식 slash docs와 2026-05-14 Hooks GA 기준으로 정식 명령 페이지 추가- changelog 우선 surface —
/vim은 2026-05-21 재검증에서 공식 slash 표준 명령으로 승격
빠른 진입
명령어 체계 먼저 보기
명령어 분류와 선택 기준
기본 묶음 먼저 익히기
/status, /clear, /copy, /new 같은 공통 기본기
심화 명령 바로 적용
권한/샌드박스/에이전트 운영부터 심화
디자인 워크플로우
Figma·ImageGen·Playwright로 UI 설계, 구현, 검증
참고 링크
- Codex slash commands: https://developers.openai.com/codex/cli/slash-commands
- Codex CLI features: https://developers.openai.com/codex/cli/features
- Codex changelog: https://developers.openai.com/codex/changelog
- Codex releases: https://github.com/openai/codex/releases
- Figma designs to code: https://learn.chatgpt.com/use-cases/figma-designs-to-code
- User stories to UI mocks: https://learn.chatgpt.com/use-cases/user-stories-to-ui-mocks
릴리즈 타임라인 확인
명령어별 “최초 추가 시점”과 “최초 언급 시점”은
/books/codex-command-master/verification에서 릴리즈 링크와 함께 확인할 수 있습니다.