mzored/superpowers-cc-to-codex/dispatching-parallel-agents-codex
- community
Checking that the SKILL.md file is still in the repository.
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
Install
npx vskill@latest install mzored/superpowers-cc-to-codex/dispatching-parallel-agents-codexSKILL.md
Dispatching Parallel Agents
Overview
When you have multiple unrelated tasks (different subsystems, different bugs), working them sequentially wastes time. Each thread is independent and can happen in parallel.
Core principle: Dispatch one codex_implement per independent problem domain. Let them work concurrently.
<HARD-GATE> Parallel execution MUST use codex_implement calls. You cannot implement tasks yourself. This skill dispatches Codex workers — Claude orchestrates, Codex executes. </HARD-GATE>
When to Use
Use when:
- 3+ failing test files with different root causes
- Multiple subsystems broken independently
- Each problem can be understood without context from others
- No shared state between threads (no same-file edits)
Don't use when:
- Failures are related (fix one might fix others)
- Need to understand full system state first
- Threads would edit the same files
The Pattern
1. Identify Independent Domains
Group tasks by what's being changed:
- Thread A: Agent forwarding contract in
scripts/ - Thread B: Test fixture updates in
tests/fixtures/ - Thread C: Schema validation in
schemas/
Each domain is independent — Thread A doesn't touch Thread B's files.
2. Create Focused Task Prompts
Each codex_implement call gets:
- Specific scope: One file or subsystem
- Clear goal: What done looks like
- Constraints: Don't change other code
- Expected output: Summary of what was found and fixed
3. Dispatch in Parallel
Call multiple codex_implement tools in a single message so they run concurrently:
4. Review and Integrate
When all threads return, each response includes a sessionId — capture it for follow-up:
- Read each summary
- Verify fixes don't conflict (check for same-file edits)
- Run full test suite
- Use
codex_resumewith the returnedtaskIdandsessionIdif any thread needs follow-up
Writing Good Prompts
Good prompts are:
- Focused - One clear problem domain
- Self-contained - All context needed to understand the problem
- Specific about constraints - Name files they must NOT touch
- Clear about output - Summary of root cause and changes made
Bad:
Good:
Common Mistakes
Too broad: Agent gets lost in unrelated code. No constraints: Agent refactors everything. Vague output: You don't know what changed. Overlapping scope: Threads edit same files, creating conflicts.
When NOT to Use
Related failures: Investigate together, fixing one might fix others. Need full context: Understanding requires seeing the whole system. Exploratory debugging: You don't know what's broken yet — use codex_debug first. Shared state: Threads would interfere (editing same files).
After All Threads Return
- Review each summary — understand what changed
- Check for conflicts — did any threads edit the same file?
- Run full suite —
npm test - Resume if needed — use
codex_resumewith the appropriatetaskIdandsessionId - Spot check — Codex can make systematic errors; read the diff
Key Benefits
- Parallelization — multiple threads work simultaneously
- Focus — each thread has narrow scope
- Independence — threads don't interfere
- Speed — N problems solved in time of 1
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/dispatching-parallel-agents-codex/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/mzored/superpowers-cc-to-codex/dispatching-parallel-agents-codex)