← ClaudeAtlas

codex-cli-runtimelisted

Internal contract for invoking the Codex companion runtime.
okisdev/claude-code-fusion · ★ 3 · AI & Automation · score 79
Install: claude install-skill okisdev/claude-code-fusion
# Codex runtime Primary helper: - `node "${CLAUDE_PLUGIN_ROOT}/scripts/codex-companion.mjs" <subcommand> [flags]` Subcommand surface: - `task [--prompt-file <path>] [--output-schema <path>] [--write] [--background] [--resume <thread-id>|--resume-last|--fresh] [--model <id>] [--effort <level>] [--web] [--network] [--cwd <dir>] [--json] [--] [prompt]` - `review [--scope <auto|working-tree|branch>] [--base <ref>] [--focus <text>] [--background] [--model <id>] [--effort <level>] [--cwd <dir>] [--json]` - `adversarial-review [--scope <auto|working-tree|branch>] [--base <ref>] [--focus <text>] [--background] [--model <id>] [--effort <level>] [--cwd <dir>] [--json]` - `status [job-id] [--all] [--cwd <dir>] [--json]` - `history [--json]` - `result <job-id> [--wait] [--wait-timeout-ms <ms>] [--cwd <dir>] [--json]` - `cancel <job-id> [--cwd <dir>] [--json]` - `setup [--cwd <dir>] [--json]` Execution rules: - Programmatic orchestrators pass the complete opaque raw request through stdin with `node "${CLAUDE_PLUGIN_ROOT}/scripts/codex-companion.mjs" task --request-stdin`. A write default uses `task --transport-default-write --request-stdin`. The fixed argv contains no request bytes, and stdin must close after the complete request is written. The same ingress option works with review, status, result, cancel, history, and setup. Slash commands whose Bash tool has no stdin field keep using the private token staging compatibility path: `transport-create`, one Read of the allocated empty