Finishing a Development Branch
obra/superpowers
Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.
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.
$ npx skills add scarletkc/agents --skill codex-cli -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install scarletkc/agents codex-cli --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/scarletkc/agents.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/codex-cli .claude/skills/codex-cli && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "codex-cli" agent skill from https://github.com/scarletkc/agents/tree/main/skills/codex-cli into .claude/skills/codex-cli/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex-cli", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/scarletkc/agents/tree/main/skills/codex-cliType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add scarletkc/agents --skill codex-cli -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install scarletkc/agents codex-cli --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/scarletkc/agents.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/codex-cli .agents/skills/codex-cli && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "codex-cli" agent skill from https://github.com/scarletkc/agents/tree/main/skills/codex-cli into .agents/skills/codex-cli/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex-cli", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add scarletkc/agents --skill codex-cli -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install scarletkc/agents codex-cli --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/scarletkc/agents.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/codex-cli .cursor/skills/codex-cli && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "codex-cli" agent skill from https://github.com/scarletkc/agents/tree/main/skills/codex-cli into .cursor/skills/codex-cli/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex-cli", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/scarletkc/agents.git --path skills/codex-cli--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add scarletkc/agents --skill codex-cli -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install scarletkc/agents codex-cli --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/scarletkc/agents.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/codex-cli .gemini/skills/codex-cli && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "codex-cli" agent skill from https://github.com/scarletkc/agents/tree/main/skills/codex-cli into .gemini/skills/codex-cli/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex-cli", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install scarletkc/agents codex-cliInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add scarletkc/agents --skill codex-cli -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/scarletkc/agents.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/codex-cli .github/skills/codex-cli && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "codex-cli" agent skill from https://github.com/scarletkc/agents/tree/main/skills/codex-cli into .github/skills/codex-cli/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex-cli", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add scarletkc/agents --skill codex-cli -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install scarletkc/agents codex-cli --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/scarletkc/agents.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/codex-cli .opencode/skills/codex-cli && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "codex-cli" agent skill from https://github.com/scarletkc/agents/tree/main/skills/codex-cli into .opencode/skills/codex-cli/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex-cli", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
codex-cliWhen 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.
Codex CLI is an agent skill from scarletkc/agents. 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.
Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development. The repository describes itself as: Shared standards and reusable skills for Claude Code, Codex CLI, and other AI coding agents. The licence is Apache-2.0.
Read from SKILL.md and the folder at commit eb55005. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
codexgitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Codex CLI loads about 2.8k tokens when it runs. Until then it costs about 112 tokens; SKILL.md has 1,640 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from scarletkc/agents at commit eb55005, republished under its Apache-2.0 licence (© scarletkc). 1,640 words, ~2,805 tokens.
.claude/skills/codex-cli/SKILL.md (or your agent's skills folder).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.
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.
scoped-change,
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.ux-writing.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.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.
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.
This is the step that most often turns a delegated run into a wasted one.
codex exec is sandboxed, and its own default — before the user's config is
applied — is read-only: the model reads the repository, plans the change,
and every write is refused. Failures inside the sandbox are handed back to the
model rather than raised to you, so what returns is a fluent description of a
change that never reached disk.
-s mainly to
narrow. Their config.toml already encodes the permission level they are
willing to run at, and on many machines it is the setting that actually
works. -s read-only is a sound narrowing for a review or an
investigation, since nothing should be written anyway.
--ignore-user-config discards their settings wholesale and is rarely what
you want.-s workspace-write
asks for a writable workspace; whether it is granted depends on the
platform's sandbox backend and on any .rules policy in effect, and on a
host without a working backend the writes are refused anyway. So confirm
with git status on the target tree rather than with the run's summary.
When the answer is "nothing changed", the fix lives in the user's
configuration or their host setup — say so, rather than rerunning the same
command or escalating the flag yourself.--add-dir makes another
directory writable, which matters when the work spans a worktree and its
main checkout; -C sets the working root; --skip-git-repo-check allows
running outside a repository. workspace-write does not imply network
access — that is a separate setting
(sandbox_workspace_write.network_access), so dependency installs inside
it fail until it is enabled.-s danger-full-access and
--dangerously-bypass-approvals-and-sandbox remove the boundary that keeps
a delegated agent inside the task. Some users configure exactly that
globally and are happy with it; inheriting their setting is different from
escalating to it yourself on a task they scoped narrowly.A Codex run is a proposal, not a merge. You asked for a second model precisely because a single model's confidence is not evidence, and that cuts both ways.
© scarletkc, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/codex-cli of scarletkc/agents.
Open the folder on GitHubat commit eb55005
Codex CLI next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Codex CLI this skillscarletkc/agents | 224 | — | ~2.8k | Automated safety check: Pass | Apache-2.0 | |
| Finishing a Development Branchobra/superpowers | 296k | 5 repos | ~1.9k | Automated safety check: Pass | MIT | |
| Typescript Advanced Typesrolling-scopes/rsschool-app | 10k | 24 repos | ~4.2k | Automated safety check: Pass | MPL-2.0 | |
| PR Babysitteropeninterpreter/openinterpreter | 69k | 3 repos | ~4.2k | Automated safety check: Pass | Apache-2.0 | |
| Code Review ChecklistshareAI-lab/learn-claude-code | 78k | 5 repos | ~1.1k | Automated safety check: Pass | MIT | |
| Greplooponyx-dot-app/onyx | 32k | 4 repos | ~3.3k | Automated safety check: Pass | MIT |
obra/superpowers
Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.
rolling-scopes/rsschool-app
Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.
openinterpreter/openinterpreter
Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.
shareAI-lab/learn-claude-code
Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.
onyx-dot-app/onyx
Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.
akash-network/node
Behavioral guidelines to reduce common LLM coding mistakes. An agent skill from akash-network/node.
scarletkc/agents
Delegate bounded investigation, review, or implementation tasks to Antigravity CLI from a supervising agent.
scarletkc/agents
Delegate bounded tasks to Grok Build from a supervising agent such as Codex.
scarletkc/agents
按 scarletkc 本人的自然表达习惯代写、改写、润色和翻译文本,适用于推文、评论、聊天消息、模型或工具体验文、项目介绍、GitHub 文本和正式通信。用户要求撰写可直接使用的成稿、去除 AI 腔,或在翻译中保留本人语气和立场时使用,无需明确点名本 skill。单纯的事实问答、技术分析、代码审查和任务讨论不触发。
scarletkc/agents
Guide a user from an unclear idea to an actionable plan through the agent harness's native ask tool and clickable choices.
scarletkc/agents
Write outbound promotional copy for a product or project: launch and update posts for community platforms and social media, store page descriptions and short blurbs, landing page headlines and calls…
scarletkc/agents
Judgment rules for locating the correct boundary of a requested change: staying inert outside it while completing every required site inside it.
Categories
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. Codex CLI is an agent skill from scarletkc/agents. 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.
Codex CLI fits situations like: the user asks for Codex; A change is complex; high-stakes enough that an independent reviewer would change the outcome; A delegated run needs its model.
Run `npx skills add scarletkc/agents --skill codex-cli -a claude-code`. Or copy the skill folder (skills/codex-cli in scarletkc/agents) into .claude/skills/codex-cli in your project. Claude Code loads it when a task matches its description.
Run `npx skills add scarletkc/agents --skill codex-cli -a codex`. Or copy the skill folder (skills/codex-cli in scarletkc/agents) into .agents/skills/codex-cli in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add scarletkc/agents --skill codex-cli -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/codex-cli, .gemini/skills/codex-cli, .github/skills/codex-cli and .opencode/skills/codex-cli in your project.
Going by SKILL.md and its folder, Codex CLI needs the command-line tools its instructions call (codex and git).
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Codex CLI is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Codex CLI: Finishing a Development Branch (obra/superpowers, 296k stars), Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars), PR Babysitter (openinterpreter/openinterpreter, 69k stars) and Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
scarletkc (a GitHub user) maintains it in scarletkc/agents, which has 224 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on September 21, 2026.
Source: scarletkc/agents on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.