원클릭으로
codex-cli
OpenAI Codex CLI reference. Use when running codex in interactive_shell overlay or when user asks about codex CLI options.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
OpenAI Codex CLI reference. Use when running codex in interactive_shell overlay or when user asks about codex CLI options.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Long-running iterative development loops with pacing control and verifiable progress. Use when tasks require multiple iterations, many discrete steps, or periodic reflection with clear checkpoints; avoid for simple one-shot tasks or quick fixes.
Long-running iterative development loops with pacing control and verifiable progress. Use when tasks require multiple iterations, many discrete steps, or periodic reflection with clear checkpoints; avoid for simple one-shot tasks or quick fixes.
Check all open PRs for a GitHub repo against a target branch (default: upstream/master) and report which ones have merge conflicts, are mergeable, or have failing CI. Use when asked to check PR conflict status, triage open PRs, or find PRs needing rebase/merge conflict resolution.
Cheat sheet + workflow for launching interactive coding-agent CLIs (Claude Code, Gemini CLI, Codex CLI, Cursor CLI, and pi itself) via the interactive_shell overlay or headless dispatch. Use for TUI agents and long-running processes that need supervision, fire-and-forget delegation, or headless background execution. Regular bash commands should use the bash tool instead.
Pulls the latest Android screen recording from the attached ADB device to the Desktop, recompresses it under 10 MB (or falls back to GIF if needed), and can be used to attach polished media to a GameNative PR. Use after recording a GameNative test or when the user asks to grab the latest device screen recording, prep it for sharing, or attach it to a PR.
Shrink a GIF or video file under a target file size, defaulting to 10 MB, using ffmpeg/ffprobe. Use when the user wants media small enough for upload limits like Discord, GitHub comments, chat apps, or email.
| name | codex-cli |
| description | OpenAI Codex CLI reference. Use when running codex in interactive_shell overlay or when user asks about codex CLI options. |
| Command | Description |
|---|---|
codex | Start interactive TUI |
codex "prompt" | TUI with initial prompt |
codex exec "prompt" | Non-interactive (headless), streams to stdout. Supports --output-schema <file> for structured JSON output |
codex e "prompt" | Shorthand for exec |
codex login | Authenticate (OAuth, device auth, or API key) |
codex login status | Show auth mode |
codex logout | Remove credentials |
codex mcp | Manage MCP servers |
codex completion | Generate shell completions |
| Flag | Description |
|---|---|
-m, --model <model> | Switch model (default: gpt-5.3-codex). Options include gpt-5.4 (newer, more thorough) and gpt-5.3-codex (faster) |
-c <key=value> | Override config.toml values (dotted paths, parsed as TOML) |
-p, --profile <name> | Use config profile from config.toml |
-s, --sandbox <mode> | Sandbox policy: read-only, workspace-write, danger-full-access |
-a, --ask-for-approval <policy> | untrusted, on-failure, on-request, never |
--full-auto | Alias for -a on-request --sandbox workspace-write |
--search | Enable live web search tool |
-i, --image <file> | Attach image(s) to initial prompt |
--add-dir <dir> | Additional writable directories |
-C, --cd <dir> | Set working root directory |
--no-alt-screen | Inline mode (preserve terminal scrollback) |
read-only - Can only read filesworkspace-write - Can write to workspacedanger-full-access - Full system access (use with caution)Config file: ~/.codex/config.toml
Key config values (set in file or override with -c):
model -- model name (e.g., gpt-5.3-codex)model_reasoning_effort -- low, medium, high, xhighmodel_reasoning_summary -- detailed, concise, nonemodel_verbosity -- low, medium, highprofile -- default profile nametool_output_token_limit -- max tokens per tool outputDefine profiles for different projects/modes with [profiles.<name>] sections. Override at runtime with -p <name> or -c model_reasoning_effort="high".
Do NOT pass -s / --sandbox flags. Codex's read-only and workspace-write sandbox modes apply OS-level filesystem restrictions that break basic shell operations inside the PTY -- zsh can't even create temp files for here-documents, so every write attempt fails with "operation not permitted." The interactive shell overlay already provides supervision (user watches in real-time, Ctrl+Q to kill, Ctrl+T to transfer output), making Codex's sandbox redundant.
Use explicit flags to control model and behavior per-run.
For delegated fire-and-forget runs, prefer mode: "dispatch" so the agent is notified automatically when Codex completes.
// Delegated run with gpt-5.4 (recommended for thorough work)
interactive_shell({
command: 'codex -m gpt-5.4 -a never "Review this codebase for security issues"',
mode: "dispatch"
})
// Faster run with gpt-5.3-codex
interactive_shell({
command: 'codex -m gpt-5.3-codex -a never "Quick refactor task"',
mode: "dispatch"
})
// Override reasoning effort for complex tasks
interactive_shell({
command: 'codex -m gpt-5.4 -c model_reasoning_effort="xhigh" -a never "Complex architecture review"',
mode: "dispatch"
})
// Headless - use bash instead
bash({ command: 'codex exec "summarize the repo"' })