codex-cli-runtime
Skill2 starsChanged 8 months agoApache-2.0View on GitHub
Internal helper contract for calling the codex-companion runtime from Claude Code
3 other projects use a version of this, 1 of them edited.
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Most recently taken up by
- JorgeMenaDev/skillstheir own version, first seen Oct 20, 2026
- doctorplastic79-cmd/claude-skillsedited, first seen Oct 15, 2026
- openai/codex-plugin-ccword for word, first seen Mar 30, 2026
Other versions3 projects use a version of this.
Word for word · 1
- openai/codex-plugin-cc★ 33k100% same
Edited · 1
- doctorplastic79-cmd/claude-skills★ 095% same
Wrote their own version · 1
- JorgeMenaDev/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository2 other files it gives its agents.
- codex-result-handlingSkill
- gpt-5-4-promptingSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. About 0 are common, 3 are distinctive, and 13 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
13
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 9
Use this skill only inside the codex:codex-rescue subagent.
- Distinctive: line 16
Prefer the helper over hand-rolled git, direct Codex CLI strings, or any other Bash activity.
- Very specific: line 17
Do not call setup, review, adversarial-review, status, result, or cancel from codex:codex-rescue.
- Very specific: line 18
Use task for every rescue request, including diagnosis, planning, research, and explicit fix requests.
- Very specific: line 21
Leave --effort unset unless the user explicitly requests a specific effort.
- Very specific: line 22
Leave model unset by default.
- Very specific: line 24
Default to a write-capable Codex run by adding --write unless the user explicitly asks for read-only behavior or only wants review, …
- Very specific: line 27
Use exactly one task invocation per rescue handoff.
- Very specific: line 28
If the forwarded request includes --background or --wait, treat that as Claude-side execution control only.
- Very specific: line 29
If the forwarded request includes --model, normalize spark to gpt-5.3-codex-spark and pass it through to task.
- Very specific: line 30
If the forwarded request includes --effort, pass it through to task.
- Very specific: line 31
If the forwarded request includes --resume, strip that token from the task text and add --resume-last.
- Very specific: line 32
If the forwarded request includes --fresh, strip that token from the task text and do not add --resume-last.
- Very specific: line 39
Default to write-capable Codex work in codex:codex-rescue unless the user explicitly asks for read-only behavior.
- Distinctive: line 41
Do not inspect the repository, read files, grep, monitor progress, poll status, fetch results, cancel jobs, summarize output, or do any …
- Distinctive: line 43
If the Bash call fails or Codex cannot be invoked, return nothing.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Codex Runtime
Use this skill only inside the codex:codex-rescue subagent.
Primary helper:
node "${CLAUDE_PLUGIN_ROOT}/scripts/codex-companion.mjs" task "<raw arguments>"
Execution rules:
- The rescue subagent is a forwarder, not an orchestrator. Its only job is to invoke
taskonce and return that stdout unchanged. - Prefer the helper over hand-rolled
git, direct Codex CLI strings, or any other Bash activity. - Do not call
setup,review,adversarial-review,status,result, orcancelfromcodex:codex-rescue. - Use
taskfor every rescue request, including diagnosis, planning, research, and explicit fix requests. - You may use the
gpt-5-4-promptingskill to rewrite the user's request into a tighter Codex prompt before the singletaskcall. - That prompt drafting is the only Claude-side work allowed. Do not inspect the repo, solve the task yourself, or add independent analysis outside the forwarded prompt text.
- Leave
--effortunset unless the user explicitly requests a specific effort. - Leave model unset by default. Add
--modelonly when the user explicitly asks for one. - Map
sparkto--model gpt-5.3-codex-spark. - Default to a write-capable Codex run by adding
--writeunless the user explicitly asks for read-only behavior or only wants review, diagnosis, or research without edits.
Command selection:
- Use exactly one
taskinvocation per rescue handoff. - If the forwarded request includes
--backgroundor--wait, treat that as Claude-side execution control only. Strip it before callingtask, and do not treat it as part of the natural-language task text. - If the forwarded request includes
--model, normalizesparktogpt-5.3-codex-sparkand pass it through totask. - If the forwarded request includes
--effort, pass it through totask. - If the forwarded request includes
--resume, strip that token from the task text and add--resume-last. - If the forwarded request includes
--fresh, strip that token from the task text and do not add--resume-last. --resume: always usetask --resume-last, even if the request text is ambiguous.--fresh: always use a freshtaskrun, even if the request sounds like a follow-up.--effort: accepted values arenone,minimal,low,medium,high,xhigh.task --resume-last: internal helper for "keep going", "resume", "apply the top fix", or "dig deeper" after a previous rescue run.
Safety rules:
- Default to write-capable Codex work in
codex:codex-rescueunless the user explicitly asks for read-only behavior. - Preserve the user's task text as-is apart from stripping routing flags.
- Do not inspect the repository, read files, grep, monitor progress, poll status, fetch results, cancel jobs, summarize output, or do any follow-up work of your own.
- Return the stdout of the
taskcommand exactly as-is. - If the Bash call fails or Codex cannot be invoked, return nothing.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

