| name | codex |
| description | Use when the user asks to run Codex CLI (codex exec, codex resume) or references OpenAI Codex for code analysis, refactoring, or automated editing. "codex", "์ฝ๋ฑ์ค", "codex ์คํ", "codex exec", "์ฝ๋ ๊ฒ์ฆ", "AI ๋ฆฌ๋ทฐ" ํค์๋์ ๋ฐ์. |
Codex CLI Skill
Codex CLI๋ฅผ ํตํ ์ฝ๋ ๋ถ์, ๋ฆฌํฉํ ๋ง, ์๋ ํธ์ง ์คํ.
Available Models
| Model | Description | Use Case |
|---|
gpt-5.2-codex | ์ต์ ์์ด์ ํฑ ์ฝ๋ฉ ๋ชจ๋ธ (๊ธฐ๋ณธ๊ฐ) | ์ผ๋ฐ ์ฝ๋ฉ, ๋ฆฌํฉํ ๋ง, ๋ถ์ |
gpt-5.1-codex-mini | ๊ฒฝ๋ ๋น์ฉ ํจ์จ ๋ชจ๋ธ | ๋น ๋ฅธ ๋ฆฌ๋ทฐ, ๊ฐ๋จํ ์์
|
gpt-5.1-codex-max | ํ์ฅ ์์ด์ ํฑ ์ฝ๋ฉ ๋ชจ๋ธ | ๋๊ท๋ชจ ๋ฆฌํฉํ ๋ง, ์ฅ์๊ฐ ์์
|
Running a Task
| Step | Action |
|---|
| 1 | ask the user: model (gpt-5.2-codex (Recommended), gpt-5.1-codex-mini, gpt-5.1-codex-max) |
| 2 | ask the user: reasoning effort (low, medium, high) |
| 3 | Select sandbox mode (default: read-only) |
| 4 | Assemble and run command |
| 5 | Capture output, summarize for user |
Command Flags
| Flag | Purpose |
|---|
-m, --model <MODEL> | Model selection |
--config model_reasoning_effort="<level>" | Reasoning effort |
--sandbox <mode> | Sandbox mode |
--full-auto | Full automation |
-C, --cd <DIR> | Working directory |
--skip-git-repo-check | Skip git check |
Sandbox Modes
| Use Case | Mode | Flags |
|---|
| Read-only review | read-only | --sandbox read-only |
| Apply local edits | workspace-write | --sandbox workspace-write --full-auto |
| Network/broad access | danger-full-access | --sandbox danger-full-access --full-auto |
| Resume session | Inherited | echo "prompt" | codex exec resume --last |
Resume: Cannot specify flags โ inherits all from original session.
Follow-Up
- After every
codex command โ ask the user for next steps
- Resume:
echo "new prompt" | codex exec resume --last
- Restate model/effort/sandbox when proposing follow-up
Error Handling
| Situation | Action |
|---|
| Non-zero exit | Stop, report, ask direction |
| High-impact flags | ask the user for permission first |
| Warnings/partial results | Summarize, ask how to adjust |