Dispatching parallel agents
Skill pgoell/pgoell-claude-tools/plugins/workbench/skills/dispatching-parallel-agents
Collection of my personal claude skills
npx -y skills add pgoell/pgoell-claude-tools --skill dispatching-parallel-agentsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use when facing two or more independent tasks that can be worked on concurrently without shared state or sequential dependencies.
SKILL.md
2.9 KB, 567 tokens by cl100k_base, as published. Nobody here has run it
Dispatching Parallel Agents
Delegate independent problem domains to separate agents so they can run concurrently while the main session coordinates scope, integration, and verification.
When To Use
Use this skill when all of these are true:
- There are two or more independent failures, investigations, or edits.
- Each task can be understood with its own focused context.
- Each task has a disjoint write scope, or is read-only.
- The result of one task is not needed before another can start.
Common cases:
- Different failing test files with different likely root causes.
- Independent package or module updates.
- Multiple read-only codebase surveys.
- Separate documentation updates in unrelated directories.
Do not use when
- Failures are likely symptoms of one shared root cause.
- Tasks edit the same files, generated artifacts, shared schemas, lockfiles, or global configuration.
- One task depends on another task's result.
- You need a single coherent system diagnosis before splitting work.
When in doubt, do one short local pass to classify the work before dispatching agents.
Process
- Identify independent domains. Name the task, files, and expected output for each domain.
- Confirm disjoint write scopes. If two tasks might touch the same file, run them sequentially or merge them into one task.
- Dispatch agents in parallel. Give each agent only the context it needs.
- Keep the main session as coordinator. Do not duplicate the delegated work locally.
- Review returned summaries and diffs.
- Run the combined verification command after integration.
Prompt Shape
Each agent prompt should include:
- The exact problem domain.
- Files or directories the agent owns.
- Files or directories it must not edit.
- Relevant failure output or acceptance criteria.
- Expected final report format.
Example:
Investigate and fix failures in tests/unit/test-calendar-skill.sh.
Ownership: tests/unit/test-calendar-skill.sh and plugins/google-workspace/skills/calendar/SKILL.md.
Do not edit Gmail, Jira, Confluence, or Workbench files.
Return:
- Root cause.
- Files changed.
- Verification command and result.
Runtime Mapping
Claude Code: dispatch multiple Agent calls in one message when scopes are independent.
Codex: use spawn_agent for independent sidecar work, or execute sequentially when subagents are unavailable. For code edits, give each worker a disjoint write set and tell it not to revert other workers' edits.
Integration Checklist
- Read every returned summary before committing.
- Inspect
git statusandgit diff. - Resolve conflicts in the main session.
- Run the full relevant test set after all agent work lands.
- If one agent's result changes another agent's assumptions, re-verify the affected task.