Now inviting automation leaders: publish your playbook as a skill, under your own name. Publish yours →
Automation Skills
All skills/Waves codex/Adaptation-notes
Reference · Waves codex

Adaptation-notes

Part of Waves codex. Install the skill and your agent reads this page when it needs the depth.

Adaptation Notes

These notes record how the Cursor skill was translated into Codex-native terms. They are part of the skill so future edits do not accidentally reintroduce Cursor plumbing.

Verified Codex Sources

Checked on 2026-06-14 with web search, Ref, Exa, current local codex exec --help, and the active tool registry:

The active tool registry in this session exposed spawn_agent, wait_agent, send_input, and close_agent, but not spawn_agents_on_csv, even though official docs describe it as experimental.

Re-checked on 2026-07-03 against the Codex Config Reference (https://developers.openai.com/codex/config-reference) and changelog (https://developers.openai.com/codex/changelog):

Re-checked on 2026-07-19 against the subagents doc, config reference, Codex changelog, the Responses API multi-agent guide, and the openai/codex source tree (a parallel verification wave with per-claim evidence):

Native-delegation deep dive, checked 2026-07-19 against codex-rs source at main (commit-level evidence), official docs, and July field reports:

What Stayed Portable

Cursor-to-Codex Swaps

Cursor source idea Codex-native replacement
Task tool with subagent_type (backgrounded where the surface supports it) Explicit Codex subagent delegation: spawn one agent per slice, usually in one manager turn, then wait/synthesize. Current V2 tool names: spawn_agent, send_message, followup_task, wait_agent, interrupt_agent, list_agents (legacy V1 on old resumed threads: send_input, resume_agent, close_agent). The stable user-facing contract is "spawn N agents, wait for all, consolidate."
Parallel background Task fan-out (formerly labeled "Multitask Mode") Codex subagent workflows in the app/CLI. Current docs say Codex waits for all requested subagent results and returns one consolidated response.
explore Built-in explorer for read-heavy exploration. Unlike Cursor's original note, do not assume this is offline/no-MCP; Codex subagents inherit sandbox/tooling, and custom agents can set sandbox_mode = "read-only".
generalPurpose Built-in default, built-in worker, or a custom agent such as docs_researcher depending on the task.
shell Usually built-in worker with shell access inherited from the session, or a custom shell-heavy worker.
best-of-n-runner Codex app Worktree mode, or plain git worktree plus one codex exec run per attempt. There is no exact local built-in named best-of-n-runner in the verified Codex docs.
TodoWrite Codex update_plan.
Frontmatter disable-model-invocation: true Included for the cross-vendor opt-in default (Cursor and Claude Code read it to require explicit /waves-codex invocation, since a run spawns more agents than usual). Codex itself discovers skills by metadata and only spawns subagents when explicitly asked, so the field is inert there but harmless.
~/.cursor/skills/<name>/ Current Codex docs document repo .agents/skills, user $HOME/.agents/skills, admin /etc/codex/skills, and system bundled skills. Ray's local memory shows ~/.codex/skills may exist as a symlink/plugin compatibility path, but $HOME/.agents/skills is the better global authoring target.
"End your turn and wait for completion notifications" Ask Codex to spawn, wait for all requested workers, and consolidate. In direct tool mode, continue useful manager-side work and wait only when blocked; do not busy-poll.
"Stage remote data because read-only workers are offline" Reconciled. Codex workers may have full tool/MCP/network access depending on session config, so staging is an optimization and safety move, not always a requirement.
"Local workers share one filesystem, so parallel writes are dangerous" Reconciled. Codex can use isolated sandboxes/worktrees and manager-mediated merging, making parallel writes safer. Still avoid overlapping edits unless using worktrees or isolated codex exec runs.
/orchestrate cloud plugin via Cursor SDK codex exec fleets for scripts/CI, Codex app worktrees for local parallel code, and the Symphony pattern for always-on issue-tracker orchestration.
Data-chunk fan-out by many background Task calls spawn_agents_on_csv when each row maps to one worker and the experimental tool is available; otherwise normal explorer waves.
Dedicated verifier worker Custom Codex verifier agent, normal explorer/default verifier prompts, or spawn_agents_on_csv verifier-per-row batch when available.
Missing subagent_type fallback: custom .cursor/agents/ files register only after a Cursor restart, so an unregistered role runs as generalPurpose with its instructions inlined Unknown agent_type fails the spawn (no silent fallback) and .codex/agents/ loads in trusted projects only, so an unavailable role runs as default/worker/explorer with its instructions inlined. Either way, a missing role is not permission to skip it.
Re-task a failed/partial worker by resuming its agent ID (context preserved) before re-spawning V2: send_message to pass info without triggering a turn, followup_task to assign a new turn to the same worker (V1 threads: send_input / resume_agent); re-spawn fresh only when the context itself is the problem. Same-slice continuation only -- a re-tasked worker keeps its old context.
"Verify before you trust" Codex manager runs pre-fan-out gates, cheap handoff checks, separate verifier waves, and final deliverable validation.
Recursive subplanner idea Dropped from the default. Current docs say agents.max_depth defaults to 1; raise it only for explicit recursive delegation.
Entropy-first decomposition (dig locally then attached resources then ask only if it pays; scouting wave then execution wave; least-to-most) Portable as-is; update_plan replaces TodoWrite for the living plan.
"Route scouting/read waves to Composer 2.5 (fast) via the model field" Route scouting/read waves to gpt-5.6-terra at low effort (or short-context gpt-5.6-luna; gpt-5.3-codex-spark / gpt-5.4-mini as lighter fallbacks) via custom-agent TOML or the per-spawn reasoning_effort field. model_reasoning_effort is the config/TOML key. service_tier / /fast is a user-enabled speed tier, not a forced default.

Things That Do Not Translate Exactly

Why the Final Skill Is Opinionated

This port keeps the original orchestration discipline, but changes the local gotchas:

Publish your skill

Copy this prompt into Claude Code, Codex or any agent. It walks you through your first skill in about 20 minutes, with you as the author.

Click to copy.