codex-cli
When handing work to the Codex CLI earns its cost, and how to size the run: second-model review, bounded implementation hand-offs, sandbox permissions, model…
Skill by scarletkc
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/scarletkc-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: 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
- When handing work to the Codex CLI earns its cost, and how to size the run: second-model review, bounded implementation hand-offs, sandbox permissions, model and reasoning effort. Use when the user asks for Codex or `codex exec`, when a change is complex or high-stakes enough that an independent reviewer would change the outcome, or when a delegated run needs its model, effort, or permissions chosen. For agents other than Codex itself.
- License
- Apache-2.0
- Metadata
- author: scarletkc · source: https://github.com/scarletkc/agents · summary: Reach for the Codex CLI when a task is hard enough to earn it: second-model review, bounded hand-offs, sandbox permissions, and a model and effort matched to the difficulty.
- Instructions
- 186 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Codex CLI Codex is a second agent on the same machine, with its own model behind it. That is the entire reason to reach for it: a model that did not write the code has no memory of intending it to work. Everything below follows from that one asymmetry — who wrote it, who reads it, and how much thinking each step is worth paying for. This skill is for the supervising agent, not for Codex. If you *are* Codex, this does not apply — calling yourself buys nothing but a second opinion from the same mind. Claude Code is the intended caller. It also assumes the machine is already set up: `codex` on `PATH`, the user logged in, and whatever MCP servers and tools they want available configured in `~/.codex/config.toml`. If the binary is missing, auth has expired, or a run dies on permissions, report that plainly and stop — quietly falling back to doing it yourself hides the fact that the review the user asked for never happened. Concrete flags belong to `codex --help`, which is authoritative and moves faster than this file. What follows is the judgment. ## When to reach for it Every invocation is a second model spending the user's money and your wall-clock time. It earns that when the problem is hard enough that another model changes the outcome — not as a reflex after every edit. Doing the work yourself and checking it with the project's own tests remains the normal path. - **When the user asks for it.** They have already made the call; don't re-litigate it. Match the model and effort to the task and go. - **After writing something complex or expensive to get wrong.** Your own review of your own diff is the weakest review available, because you are checking the code against the intent you already have in your head rather than against what it says. That weakness only matters when the defect would be costly — concurrency, migrations, security-adjacent paths, platform assumptions, anything on a compatibility surface. A routine edit that the suite already covers is not worth a review pass. *Counter-example: an agent changed one side of a path comparison to a normalized form and left the other side platform-native; every test it wrote passed, because it wrote them against the same wrong mental model.* - **When a demanding change is bounded well enough to describe in a prompt.** A hand-off is worth it when you can state the goal, the files, and the acceptance check in a paragraph. That paragraph is also the honest test of whether *you* understand the change — if you cannot write it, delegating it just moves the confusion downstream. What "bounded" means is [`scoped-change`](https://github.com/scarletkc/agents/blob/main/skills/scoped-change/SKILL.md), and it binds Codex exactly as it binds you: pass the boundary along in the prompt, because Codex cannot infer where the user drew it. - **When the work is long, mechanical, and verifiable.** Wide renames, repetitive migrations, and mass edits with a green suite proving them buy throughput rather than insight, and they are cheap to check. - **When you are stuck.** After two failed attempts on the same defect, a third attempt from the same context tends to repeat the second. A fresh agent with the symptom and the reproduction, and none of your accumulated theory, is a better use of the next few minutes. ## When to keep it - **Ordinary work you can verify yourself.** Most changes are this. Writing the prompt, waiting for the run, and reading the diff costs more than the edit, and a delegated pass over a small change mostly returns items you already knew. Absent a reason above, just do it. - **Judgment about words.** User-facing copy, documentation, naming, and release notes need the taste and the context of the session that has been talking to the user, and they survive delegation badly. See [`ux-writing`](https://github.com/scarletkc/agents/blob/main/skills/ux-writing/SKILL.md). - **Anything you cannot check afterwards.** Delegating work you have no way to verify converts an unknown into a confident-sounding report, which is worse than the unknown. Establish the check first. - **Decisions the user reserved.** Choosing the approach, committing, pushing, opening or merging a PR — those stay where the user put them. A permissive sandbox makes it *possible* for a delegated run to do all of them, which is a reason to scope the prompt tightly, not a licence to let it decide. ## Choosing the model Pick from the task's difficulty, not from habit. Reaching for the strongest model every time wastes the user's money on renames; reaching for the cheapest on a subtle bug wastes the user's afternoon. - **`gpt-5.6-sol`** — the frontier model. Worth it for reviews that must not miss anything, root-cause hunts, concurrency and lock-ordering questions, cross-platform semantics, and any change whose failure mode is silent. - **`gpt-5.6-terra`** — balanced, and the sane default for ordinary feature work inside a boundary you have already defined. - **`gpt-5.6-luna`** — fast and cheap with a lower ceiling. Right when a test suite or a compiler, not the model, is what actually decides whether the result is correct. ## Choosing the effort Reasoning effort buys deliberation, not knowledge, and it multiplies both latency and cost. Scale it with how subtle the failure would be: - **`medium`** — mechanical work with an immediate, objective check. - **`high`** — real implementation work and routine reviews. The usual pick. - **`xhigh`** — subtle bugs, unfamiliar subsystems, anything one attempt has already failed at. - **`max`** — the hardest problems, when a wrong answer costs far more than the extra minutes. Deliberate, not habitual. The pairing that matters most: **review the code at least as high as you wrote it.** A cheap review of an expensive change finds the typos and misses the reason you delegated it. ## Running it Drive the non-interactive surface — `codex exec` for work, `codex exec review` for review. Model and effort are per invocation: `-m <model>` and `-c model_reasoning_effort=<level>`, both overriding the user's `config.toml` defaults for that run only. Prefer `codex exec review` over the top-level `codex review`, which is equally non-interactive but takes the model through `-c model="..."` rather than `-m`. Review scope is `--base <branch>` for a branch, `--uncommitted` for the working tree, `--commit <sha>` for one commit. Everything else — `--json`, output files, resuming a session — is in `codex --help`.
From scarletkc/agents, Apache-2.0.
More from scarletkc/agents
- 0.798score
devin-cli
scarletkc
Delegate bounded coding tasks to the local Devin CLI over ACP from a supervising agent such as Claude Code or Codex.
SkillAFreshness: A★ 225Claude Code +9 - 0.794score
talk-like-scarletkc
scarletkc
按 scarletkc 本人的自然表达习惯代写、改写、润色和翻译文本,适用于推文、评论、聊天消息、模型或工具体验文、项目介绍、GitHub 文本和正式通信。用户要求撰写可直接使用的成稿、去除 AI 腔,或在翻译中保留本人语气和立场时使用,无需明确点名本 skill。单纯的事实问答、技术分析、代码审查和任务讨论不触发。
SkillAFreshness: A★ 225Claude Code +9 - 0.794score
x-content
scarletkc
为 X(Twitter)寻找值得发的素材、筛选选题、撰写和改进帖文或串,并从读者视角重读,改善吸引力、阅读连贯性和真实讨论空间。用户问 X 最近有什么可以发、想写一条有流量的帖文,或反馈 X 帖文太复杂、读不下去时使用。只调整个人语气或忠实翻译已有文本时不触发。
SkillAFreshness: A★ 225Claude Code +9 - 0.752score
grok-cli
scarletkc
Delegate bounded tasks to Grok Build from a supervising agent such as Codex.
SkillBFreshness: B★ 225Claude Code +9 - 0.748score
antigravity-cli
scarletkc
Delegate bounded investigation, review, or implementation tasks to Antigravity CLI from a supervising agent.
SkillBFreshness: B★ 225Claude Code +9 - 0.746score
ask-to-plan
scarletkc
Guide a user from an unclear idea to an actionable plan through the agent harness's native ask tool and clickable choices.
SkillBFreshness: B★ 225Claude Code +9 - 0.746score
ux-writing
scarletkc
Judgment rules for user-facing text and docs: CLI and diagnostic output, error and help text, README and docs structure, code comments, titles, and generated…
SkillBFreshness: B★ 225Claude Code +9 - 0.746score
worktree-pr
scarletkc
Decide whether a task deserves its own git worktree and, if chosen, run it end to end: branch from the integration branch rather than the current tree, keep…
SkillBFreshness: B★ 225Claude Code +9 - 0.746score
marketing-copy
scarletkc
Write outbound promotional copy for a product or project: launch and update posts for community platforms and social media, store page descriptions and short…
SkillBFreshness: B★ 225Claude Code +9 - 0.746score
scoped-change
scarletkc
Judgment rules for locating the correct boundary of a requested change: staying inert outside it while completing every required site inside it.
SkillBFreshness: B★ 225Claude Code +9 - 0.742score
product-writing
scarletkc
Write, edit, or review UI copy, CLI messages, help text, code comments, and technical documentation covering product behavior, errors, status, setup…
SkillBFreshness: B★ 225Claude Code +9
Signals
- Stars
- 225
- Forks
- 12
- Open issues
- 1
- Last commit (this folder)
- Aug 24, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/scarletkc/agents
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from scarletkc
- 0.798score
devin-cli
scarletkc
Delegate bounded coding tasks to the local Devin CLI over ACP from a supervising agent such as Claude Code or Codex.
SkillAFreshness: A★ 225Claude Code +9 - 0.795score
vexor-cli
scarletkc
Semantic file discovery via `vexor`.
SkillAFreshness: A★ 246Claude Code +9 - 0.794score
x-content
scarletkc
为 X(Twitter)寻找值得发的素材、筛选选题、撰写和改进帖文或串,并从读者视角重读,改善吸引力、阅读连贯性和真实讨论空间。用户问 X 最近有什么可以发、想写一条有流量的帖文,或反馈 X 帖文太复杂、读不下去时使用。只调整个人语气或忠实翻译已有文本时不触发。
SkillAFreshness: A★ 225Claude Code +9 - 0.794score
talk-like-scarletkc
scarletkc
按 scarletkc 本人的自然表达习惯代写、改写、润色和翻译文本,适用于推文、评论、聊天消息、模型或工具体验文、项目介绍、GitHub 文本和正式通信。用户要求撰写可直接使用的成稿、去除 AI 腔,或在翻译中保留本人语气和立场时使用,无需明确点名本 skill。单纯的事实问答、技术分析、代码审查和任务讨论不触发。
SkillAFreshness: A★ 225Claude Code +9 - 0.770score
Vexor
scarletkc
A semantic search engine for files and code.
ConnectorAFreshness: ALocal★ 246↓ 123/wkClaude Code +5 - 0.752score
grok-cli
scarletkc
Delegate bounded tasks to Grok Build from a supervising agent such as Codex.
SkillBFreshness: B★ 225Claude Code +9
Cite this page
codex-cli skill. Agent Mart. https://agentmart.dev/skills/scarletkc-codex-cli (last updated 2026-10-24)