x9-codex-delegation
Delegate from Claude Code to Codex
Use x9-browser-session for browser routing. Use the plugin route when it is available; the raw CLI remains a fallback for an explicitly requested delegation.
When Claude and OpenAI/Codex are backed by separate subscriptions or usage pools, delegation can distribute substantial work instead of exhausting only the Claude allowance. Treat that as a user-specific routing benefit, not a promise of lower cost: API billing, plan limits, and available runtimes vary.
Choose the route
- Implementation or fixes: use the installed
codex:codex-rescuesubagent when available. It is write-capable; the active project's local-change authority applies. - Read-only review or one-shot analysis: use the plugin route when callable, otherwise raw
codex exec. - Logged-in browsing: delegate the whole bounded browse-and-return task and follow the browser adapter. Shell read-only mode does not change the separately approved browser authority.
- Plugin commands marked user-only: report the exact command for the user; do not pretend it was invoked programmatically.
Raw fallback
Read references/codex-cli.md and use its one-shot or resume recipe after checking the current command help. That reference owns exact flags and known differences between exec and resume; this skill owns the delegation contract, not the volatile command surface. Prefer the model configured in ~/.codex/config.toml unless the user explicitly chooses another.