Claude-skill-registry codex-parallel-subagents
[DEPRECATED] Run multiple AI agent threads in parallel with bounded concurrency. Use evolving-workflow instead.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/codex-parallel-subagents" ~/.claude/skills/majiayu000-claude-skill-registry-codex-parallel-subagents && rm -rf "$T"
manifest:
skills/data/codex-parallel-subagents/SKILL.mdsource content
Codex Parallel Subagents
DEPRECATED: This skill is deprecated. Use evolving-workflow instead, which provides a declarative workflow API with built-in parallel execution support via
..concurrency(n)
Run multiple AI agent threads concurrently with bounded parallelism and collect results safely.
When to use this skill
- Running multiple agent tasks in parallel
- Fan-out work across files, packages, or repositories
- Batch processing with rate limiting
- Streaming progress from concurrent tasks
- Collecting structured outputs from multiple agents
Quick navigation
| Need | Resource |
|---|---|
| New to Codex SDK | references/codex-basics.md |
| Advanced options | references/codex-advanced.md |
| Async patterns | references/async-basics.md |
| Troubleshooting | references/troubleshooting.md |
Production-ready assets
Copy these to jumpstart your implementation:
| Asset | Description | Run |
|---|---|---|
| parallel_batch | Reentrant batch processing with stdin/file input, offset/limit, JSON output | |
| package_analyzer | Discover and summarize all MoonBit packages | |
How to use these assets
- Copy the asset directory to your project
- Customize
(or the main processing function) for your use caserun_task() - Adjust structs (
, etc.) if you need additional fieldsTaskInput - Set environment variables as needed (
,CODEX_WORKDIR
)PARALLELISM
See each asset's README for detailed usage and options.
Key rules
- One thread per task - never share threads across concurrent tasks
- Use semaphores - guard parallel runs with
to avoid rate limits@async.Semaphore::new(n) - Set working directory - use
for task isolationThreadOptions::new(working_directory=...) - Allow failures - use
and capture errors per taskallow_failure=true - Avoid conflicts - for tasks that modify shared resources (e.g., building software, editing same files), use git worktrees or separate directories to isolate each agent