codex-cli-runtime
Internal helper contract for calling the codex-companion runtime from Claude Code
Skill by KenSuh
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/kensuh-codex-cli-runtime
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: documents, 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-runtime
What's inside
- Skill name
codex-cli-runtime- Description
- Internal helper contract for calling the codex-companion runtime from Claude Code
- License
- MIT
- Instructions
- 39 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# 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 `task` once 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`, or `cancel` from `codex:codex-rescue`.
- Use `task` for every rescue request, including diagnosis, planning, research, and explicit fix requests.
- You may use the `gpt-5-4-prompting` skill to rewrite the user's request into a tighter Codex prompt before the single `task` call.
- 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 `--effort` unset unless the user explicitly requests a specific effort.
- Leave model unset by default. Add `--model` only when the user explicitly asks for one.
- Map `spark` to `--model gpt-5.3-codex-spark`.
- Default to a write-capable Codex run by adding `--write` unless the user explicitly asks for read-only behavior or only wants review, diagnosis, or research without edits.
Command selection:
- Use exactly one `task` invocation per rescue handoff.
- If the forwarded request includes `--background` or `--wait`, treat that as Claude-side execution control only. Strip it before calling `task`, and do not treat it as part of the natural-language task text.
- If the forwarded request includes `--model`, normalize `spark` to `gpt-5.3-codex-spark` and pass it through to `task`.
- If the forwarded request includes `--effort`, pass it through to `task`.
- 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 use `task --resume-last`, even if the request text is ambiguous.
- `--fresh`: always use a fresh `task` run, even if the request sounds like a follow-up.
- `--effort`: accepted values are `none`, `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-rescue` unless 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 `task` command exactly as-is.
- If the Bash call fails or Codex cannot be invoked, return nothing.From KenSuh/open-agent-harness, MIT.
More from KenSuh/open-agent-harness
- 0.606score
gpt-5-4-prompting
KenSuh
Internal guidance for composing Codex and GPT-5.4 prompts for coding, review, diagnosis, and research tasks inside the Codex Claude Code plugin
SkillAFreshness: A★ 3Claude Code +9 - 0.605score
humanize-korean
KenSuh
AI(ChatGPT·Claude·Gemini 등)가 쓴 한글 텍스트를 "사람이 쓴 글처럼" 윤문해주는 오케스트레이터 스킬.
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
computer-use
KenSuh
Drives the GUI of a visible local app window through `orca computer`: accessibility tree, clicks, typing, menus, dialogs, and screenshots in native apps and…
SkillAFreshness: A★ 3Claude Code +9 - 0.601score
humanize-redo
KenSuh
가장 최근 윤문 결과를 2차로 다시 다듬는다 — 특정 카테고리·문단·강도 조정도 가능.
SkillAFreshness: A★ 3Claude Code +9 - 0.601score
humanize
KenSuh
AI가 쓴 한글 텍스트를 자연스럽게 윤문하는 진입 명령.
SkillAFreshness: A★ 3Claude Code +9 - 0.601score
humanize-scan
KenSuh
한글 글에 AI 티가 얼마나 있는지 재고, 실제로 고치면 어떻게 되는지 표본으로 보여주는 정찰 스킬.
SkillAFreshness: A★ 3Claude Code +9 - 0.593score
codex-result-handling
KenSuh
Internal guidance for presenting Codex helper output back to the user
SkillAFreshness: A★ 3Claude Code +9 - 0.579score
codebase-design
KenSuh
Shared vocabulary for designing deep modules.
SkillAFreshness: A★ 3Claude Code +9 - 0.579score
prototype
KenSuh
Build a throwaway prototype to answer a design question.
SkillAFreshness: A★ 3Claude Code +9 - 0.579score
domain-modeling
KenSuh
Build and sharpen a project's domain model.
SkillAFreshness: A★ 3Claude Code +9
Signals
- Stars
- 3
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 23, 2026 (5 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/KenSuh/open-agent-harness
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from KenSuh
- 0.606score
gpt-5-4-prompting
KenSuh
Internal guidance for composing Codex and GPT-5.4 prompts for coding, review, diagnosis, and research tasks inside the Codex Claude Code plugin
SkillAFreshness: A★ 3Claude Code +9 - 0.605score
humanize-korean
KenSuh
AI(ChatGPT·Claude·Gemini 등)가 쓴 한글 텍스트를 "사람이 쓴 글처럼" 윤문해주는 오케스트레이터 스킬.
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
computer-use
KenSuh
Drives the GUI of a visible local app window through `orca computer`: accessibility tree, clicks, typing, menus, dialogs, and screenshots in native apps and…
SkillAFreshness: A★ 3Claude Code +9 - 0.601score
humanize-redo
KenSuh
가장 최근 윤문 결과를 2차로 다시 다듬는다 — 특정 카테고리·문단·강도 조정도 가능.
SkillAFreshness: A★ 3Claude Code +9 - 0.601score
humanize
KenSuh
AI가 쓴 한글 텍스트를 자연스럽게 윤문하는 진입 명령.
SkillAFreshness: A★ 3Claude Code +9 - 0.601score
humanize-scan
KenSuh
한글 글에 AI 티가 얼마나 있는지 재고, 실제로 고치면 어떻게 되는지 표본으로 보여주는 정찰 스킬.
SkillAFreshness: A★ 3Claude Code +9
Cite this page
codex-cli-runtime skill. Agent Mart. https://agentmart.dev/skills/kensuh-codex-cli-runtime (last updated 2026-10-24)