Codex: update parallel-execution skills for collab agents + FD hygiene #362
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Refactors several SKILL.md files to better align with Codex collab multi-agents when enabled, while providing a clean sequential fallback when collab is disabled.
Motivation
Codex supports an experimental
/experimentalfeature called “Multi-agents” (aka “collab”). When enabled, Codex can spawn subagents (spawn_agent+wait). The current skills were written with Claude’s subagent toolingassumptions and can mislead Codex users.
This PR updates the instructions to:
Changes
Updated SKILL.md files:
skills/dispatching-parallel-agents/SKILL.mdskills/subagent-driven-development/SKILL.mdskills/executing-plans/SKILL.mdskills/writing-skills/SKILL.mdKey changes include:
spawn_agent,wait,close_agent)/experimentalif users want subagentsCompatibility / Risk
These edits are Codex-specific. They may not be appropriate for Claude users until the project supports agent-specific SKILL.md variants (e.g., per-agent skill overlays).
This PR is meant as a reference implementation to discuss whether agent-specific skill definitions should be introduced.
Testing
Tested in Codex with collab enabled and disabled to verify correct behavior in both scenarios. Added FD guidance because the default
ulimit -n 256can cause “too many open files” errors if Codex does not clean up old sessionsand agent handles.
Summary by CodeRabbit
Documentation
✏️ Tip: You can customize this high-level summary in your review settings.