codex-cli
Operate OpenAI Codex CLI (terminal coding agent) to accomplish software engineering tasks.
Skill by zkl2333
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/zkl2333-codex-cli
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: productivity, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/codex-cli
What's inside
- Skill name
codex-cli- Description
- Operate OpenAI Codex CLI (terminal coding agent) to accomplish software engineering tasks. Use when the user asks to: run codex commands, use codex for coding tasks, execute codex exec for automation, do code review with codex, manage codex sessions (resume/fork), configure codex (config.toml, approval modes, sandbox), use codex cloud, set up MCP servers in codex, or any task involving the `codex` command-line tool. Triggers: codex, codex exec, codex review, codex cloud, codex mcp, codex resume, codex sandbox, openai codex.
- License
- MIT
- Instructions
- 145 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- config-reference.md · references/
SKILL.md (first lines)
# Codex CLI OpenAI's terminal coding agent. Reads, edits, and runs code locally with configurable sandbox and approval controls. Built in Rust, open source. ## Quick Reference \`\`\`bash # Interactive session codex "your prompt here" # Non-interactive (scripting/CI) codex exec "your prompt here" codex exec --json "prompt" # JSONL output codex exec -o result.txt "prompt" # Save last message # Code review codex review # Review current branch vs main codex review --uncommitted # Review all uncommitted changes codex review --base develop # Review against specific branch codex review --commit abc123 # Review a specific commit # Session management codex resume # Pick from recent sessions codex resume --last # Continue most recent codex fork --last # Fork most recent into new thread # Cloud tasks (experimental) codex cloud exec --env ENV_ID "task" codex cloud list codex cloud apply TASK_ID codex cloud diff TASK_ID \`\`\` ## Key Flags | Flag | Short | Purpose | |------|-------|---------| | \`--model\` | \`-m\` | Select model (e.g. \`gpt-5.3-codex\`, \`o3\`) | | \`--sandbox\` | \`-s\` | \`read-only\` / \`workspace-write\` / \`danger-full-access\` | | \`--ask-for-approval\` | \`-a\` | \`untrusted\` / \`on-failure\` / \`on-request\` / \`never\` | | \`--full-auto\` | | Shortcut: \`-a on-request -s workspace-write\` | | \`--image\` | \`-i\` | Attach image(s) to prompt | | \`--search\` | | Enable live web search | | \`--cd\` | \`-C\` | Set the working directory for the \`codex\` command. This directory will be used as the base for operations by subcommands like \`exec\`, \`review\`, \`cloud exec\`, etc. This flag should be passed directly to the \`codex\` command. For example: \`codex --cd /path/to/project review\`. | | \`--add-dir\` | | Grant additional writable directories | | \`--config\` | \`-c\` | Override config value (e.g. \`-c model="o3"\`) | | \`--profile\` | \`-p\` | Load named config profile | | \`--oss\` | | Use local model provider (LM Studio / Ollama) | | \`--json\` | | (exec only) JSONL output | | \`--output-last-message\` | \`-o\` | (exec only) Write last message to file | | \`--yolo\` | | Bypass all approvals and sandbox (DANGEROUS) | ## Approval Modes - **untrusted** (default): Only trusted commands (ls, cat, sed…) run without asking. Others prompt user. - **on-failure**: Run all commands freely. Only prompt if a command fails. - **on-request**: Model decides when to ask. - **never**: Never prompt. Failures go straight back to model. ## Sandbox Modes - **read-only**: No file writes, no network. - **workspace-write**: Write only in workspace + specified dirs. Configurable network access. - **danger-full-access**: Unrestricted. Use only in isolated environments. ## Slash Commands (Interactive) | Command | Purpose | |---------|---------| | \`/model\` | Switch model mid-session | | \`/permissions\` | Adjust approval/sandbox settings | | \`/review\` | Run code review | | \`/diff\` | Show git diff including untracked files | | \`/compact\` | Summarize conversation to free tokens | | \`/mention\` | Attach file to conversation | | \`/new\` | Start new conversation in same session | | \`/resume\` | Resume saved conversation | | \`/fork\` | Fork current conversation | | \`/init\` | Generate AGENTS.md scaffold | | \`/mcp\` | List MCP tools | | \`/status\` | Show session config and token usage | | \`/ps\` | Show background terminals | | \`/quit\` | Exit | ## Common Patterns ### CI/CD Automation \`\`\`bash # Run task non-interactively with JSON output codex exec --json --full-auto "fix all lint errors" | process_results.sh # Structured output with schema codex exec --output-schema schema.json "analyze this codebase" \`\`\` ### Code Review in CI \`\`\`bash codex review --base main --title "PR #42: Add auth" \`\`\` ### Multi-Directory Projects \`\`\`bash codex --cd ./backend --add-dir ./shared "update the API" \`\`\` ### Image-Driven Development \`\`\`bash codex -i mockup.png "implement this UI exactly" \`\`\` ### Local OSS Models \`\`\`bash codex --oss --CPA ollama -m codellama "refactor this function" \`\`\`
From zkl2333/skills, MIT.
More from zkl2333/skills
- 0.502score
pr-precheck
zkl2333
Pre-submission due diligence for upstream PRs to public/large repositories.
SkillCFreshness: C★ 1Claude Code +9 - 0.437score
commit
zkl2333
Generate conventional commit messages following git-cz style by default (emoji between type and subject).
SkillDFreshness: D★ 1Claude Code +9 - 0.437score
bark
zkl2333
Send Bark (day.app) push notifications via HTTP.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
zread
zkl2333
Search and read GitHub repository docs via the Zhipu CodePlan MCP zread server.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
caiyun-weather
zkl2333
Get weather data via Caiyun (彩云天气) API through MCP.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
home-assistant
zkl2333
Control and query Home Assistant smart home devices via MCP.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
web-search-prime
zkl2333
Search the web via the Zhipu CodePlan MCP web-search-prime server.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
zai-mcp-server
zkl2333
Use Zhipu CodePlan MCP vision server for screenshot/UI understanding: OCR, error screenshot diagnosis, and UI→artifact conversion.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
web-reader
zkl2333
Read and extract readable content from a URL via the Zhipu CodePlan MCP web-reader server.
SkillDFreshness: D★ 1Claude Code +9 - 0.429score
amap-maps
zkl2333
高德地图 API(通过 MCP)。地理编码(地址↔坐标)、IP 定位、天气、POI 搜索、路线规划(骑行/步行/驾车/公交)、距离测量。Triggers: '高德', 'amap', '地理编码', 'geocoding', '经纬度', 'POI', '路线规划', '导航'.
SkillDFreshness: D★ 1Claude Code +9 - 0.426score
check-updates
zkl2333
检查 OpenClaw 版本更新。当用户说"检查更新"、"有没有新版本"、"update"、"升级"时使用。执行标准三步检查:当前版本、npm 最新版、GitHub 最新版,并给出更新内容摘要和是否建议更新的判断。
SkillDFreshness: D★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Feb 27, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/zkl2333/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from zkl2333
- 0.502score
pr-precheck
zkl2333
Pre-submission due diligence for upstream PRs to public/large repositories.
SkillCFreshness: C★ 1Claude Code +9 - 0.437score
bark
zkl2333
Send Bark (day.app) push notifications via HTTP.
SkillDFreshness: D★ 1Claude Code +9 - 0.437score
commit
zkl2333
Generate conventional commit messages following git-cz style by default (emoji between type and subject).
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
caiyun-weather
zkl2333
Get weather data via Caiyun (彩云天气) API through MCP.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
home-assistant
zkl2333
Control and query Home Assistant smart home devices via MCP.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
web-reader
zkl2333
Read and extract readable content from a URL via the Zhipu CodePlan MCP web-reader server.
SkillDFreshness: D★ 1Claude Code +9
Cite this page
codex-cli skill. Agent Mart. https://agentmart.dev/skills/zkl2333-codex-cli (last updated 2026-10-24)