parallel-agents
Skill19 starsChanged 8 months agoMITView on GitHub
Concurrent agent dispatch for independent problems. Use when facing multiple independent tasks that can be worked on simultaneously. Reduces total time by parallelizing work that has no shared state.
23 other projects use a version of this.
Adopted by
Most recently taken up by
- Viltrumlik/parallel-agentstheir own version, first seen Nov 8, 2026
- sentimony/skillstheir own version, first seen Nov 1, 2026
- satoh-y-0323/claude-code-conductortheir own version, first seen Oct 31, 2026
- sid-lakhani/agents-configtheir own version, first seen Oct 20, 2026
- parcadei/Continuous-Claudetheir own version, first seen Oct 17, 2026
- xfstudio/skillstheir own version, first seen Oct 13, 2026
Used with
Projects with it also use nextjs-react-expert, intelligent-routing and 2 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
SKB3002Skillnextjs-react-expert
React and Next.js performance optimization from Vercel Engineering. Use when building React components, optimizing performance, eliminating waterfalls, reducing bundle size, reviewing code for performance issues, or implementing server/client-side optimizations.
Also in 3 projects that use this
SKB3002Skillintelligent-routing
Automatic agent selection and intelligent task routing. Analyzes user requests and automatically selects the best specialist agent(s) without requiring explicit user mentions.
Also in 3 projects that use this
xfstudioSkillrust-pro
Master Rust 1.75+ with modern async patterns, advanced type system
Also in 3 projects that use this
VercelSkillweb-design-guidelines
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
Also in 3 projects that use this
Other versions23 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 23
- vudovn/ag-kit★ 8.2ksame name
- vudovn/antigravity-kit★ 8.2ksame name
- parcadei/Continuous-Claude★ 3.9ksame name
- parcadei/Continuous-Claude-v2★ 3.9ksame name
- parcadei/Continuous-Claude-v3★ 3.9ksame name
- xenitV1/Antigravity-Workflows★ 130same name
- kumaran-is/claude-code-onboarding★ 35same name
- georgekhananaev/claude-skills-vault★ 28same name
- VoDaiLocz/kilo-kit-mcp★ 28same name
- Fandry96/k3-agentic-skills★ 27same name
13 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository16 other files it gives its agents.
- AGENTS.mdAGENTS.md
- brainstormingSkill
- documenting-decisionsSkill
- finishing-workSkill
- git-worktreesSkill
- implementing-plansSkill
- receiving-code-reviewSkill
- researching-codebaseSkill
- research-plan-implementSkill
- reviewing-codeSkill
- security-reviewSkill
- synthesizing-researchSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- verification-before-completionSkill
- writing-plansSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 9 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 22 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Use parallel agents when:
- Distinctive: line 55
If any answer suggests dependency, work sequentially instead.
- Distinctive: line 108
Use Task tool with multiple invocations in a single message:
- Distinctive: line 155
Self-contained context: All info agent needs
- Distinctive: line 211
Use during implementation when:
- Distinctive: line 214
Test failures span unrelated subsystems
- Distinctive: line 228
When agents modify overlapping code:
- Distinctive: line 257
Right: Verify independence before parallelizing
- Distinctive: line 272
Right: Keep to 3-5 agents for manageability
“Common” is measured: kept by at least 6 in 10 of the 22 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Parallel Agents
Dispatch multiple agents concurrently for independent problems.
Purpose
Sequential investigation of independent problems wastes time. When multiple issues have different root causes and don't affect each other, dispatching agents in parallel reduces total resolution time significantly.
When to Use
Use parallel agents when:
- 3+ test files failing with different root causes
- Multiple subsystems broken independently
- Independent tasks in a plan that don't share state
- Bulk operations across unrelated files
Do NOT use when:
- Failures might be related (fixing one might fix others)
- Tasks have sequential dependencies
- Changes could conflict with each other
- Shared state exists between tasks
Decision Framework
Before parallelizing, ask:
1. Are these problems truly independent?
- Different files?
- Different subsystems?
- No shared data or state?
2. Could fixing one affect another?
- Shared dependencies?
- Common configuration?
- Overlapping code paths?
3. Will changes conflict?
- Same file modifications?
- Related API changes?
- Interconnected tests?If any answer suggests dependency, work sequentially instead.
The Parallel Process
Step 1: Identify Independent Problems
Group failures or tasks by independence:
Test failures example:
- auth.test.js: Login validation errors (auth subsystem)
- api.test.js: Endpoint routing issues (api subsystem)
- db.test.js: Connection pool exhaustion (database subsystem)
Assessment: Independent subsystems, can parallelizeStep 2: Create Focused Agent Prompts
Each agent needs a self-contained, focused prompt:
Good prompt structure:
- ONE clear problem to solve
- ALL necessary context included
- SPECIFIC about expected output
- NO dependencies on other agentsExample prompts:
Agent 1 - Auth fixes:
"Fix the login validation errors in auth.test.js.
The tests expect [specific behavior].
Current error: [error message].
Do not modify files outside src/auth/."
Agent 2 - API fixes:
"Fix the endpoint routing issues in api.test.js.
Routes should map to [expected handlers].
Current error: [error message].
Do not modify files outside src/api/."
Agent 3 - Database fixes:
"Fix the connection pool exhaustion in db.test.js.
Pool should handle [expected load].
Current error: [error message].
Do not modify files outside src/db/."Step 3: Dispatch Concurrently
Use Task tool with multiple invocations in a single message:
Task tool invocations (all in one message):
1. Agent for auth fixes
2. Agent for API fixes
3. Agent for database fixes
All agents run concurrently.Step 4: Review Results
When agents complete:
For each agent result:
1. Read the summary
2. Verify the claimed fix
3. Check for conflicts with other agents
4. Run affected testsStep 5: Integrate Changes
If no conflicts:
1. Accept all changes
2. Run full test suite
3. Verify no regressionsIf conflicts exist:
1. Identify conflicting changes
2. Resolve conflicts manually
3. Run full test suite
4. Verify resolution is correctAgent Prompt Requirements
Must Have
- Focused scope: One problem domain only
- Self-contained context: All info agent needs
- Clear deliverable: What success looks like
- Boundary constraints: What NOT to touch
Must Avoid
- Overly broad scope: "Fix all the tests"
- Missing context: Assuming agent knows background
- Vague deliverable: "Make it work"
- No boundaries: Free rein to change anything
Example: Multiple Test Failures
Situation: 6 failures across 3 test files
Analysis:
- tests/auth.test.js: 2 failures (login, logout)
- tests/api.test.js: 3 failures (GET, POST, DELETE)
- tests/db.test.js: 1 failure (connection timeout)
Independence check:
- Auth tests: Isolated authentication logic
- API tests: Isolated route handling
- DB tests: Isolated database operations
Decision: Parallelize - no shared dependenciesAgent dispatch:
Agent 1: "Fix auth.test.js failures. Login should [spec].
Logout should [spec]. Error: [message]."
Agent 2: "Fix api.test.js failures. GET should [spec].
POST should [spec]. DELETE should [spec]. Error: [message]."
Agent 3: "Fix db.test.js failure. Connection should [spec].
Current timeout at [duration]. Error: [message]."Results:
Agent 1: Fixed login validation, logout token cleanup
Agent 2: Fixed route registration order
Agent 3: Increased pool size and added retry logic
Conflict check: No overlapping files
Integration: All changes accepted
Final tests: All passingIntegration with Implement Phase
Use during implementation when:
- Multiple plan steps are independent
- Test failures span unrelated subsystems
- Bulk changes across independent files
Plan step identifies parallelizable work
→ Verify independence
→ Create focused agent prompts
→ Dispatch concurrently
→ Review and integrate
→ Continue with next plan stepConflict Resolution
When agents modify overlapping code:
1. Identify the conflict
- Same file?
- Same function?
- Incompatible changes?
2. Determine precedence
- Which change is more correct?
- Which aligns with requirements?
- Which has fewer side effects?
3. Merge carefully
- Take best of both if compatible
- Choose one if mutually exclusive
- Test merged result
4. Verify resolution
- Run affected tests
- Check for regressions
- Document the resolutionAnti-Patterns
Parallelizing Related Problems
Wrong: Dispatch agents for potentially related failures Right: Verify independence before parallelizing
Overly Broad Agent Prompts
Wrong: "Fix all failing tests in this area" Right: "Fix specific failure X with context Y"
Ignoring Conflicts
Wrong: Accept all agent outputs without checking Right: Review for conflicts before integrating
Too Many Parallel Agents
Wrong: Dispatch 10+ agents simultaneously Right: Keep to 3-5 agents for manageability
No Boundary Constraints
Wrong: Let agents modify any file Right: Constrain each agent to relevant files
Checklist Before Dispatching
- Problems verified as independent
- No shared state between tasks
- Changes won't conflict
- Each agent prompt is focused
- Each agent prompt is self-contained
- Boundaries specified for each agent
- Expected output is clear
Checklist After Completion
- All agent results reviewed
- Conflicts identified and resolved
- Full test suite passes
- No regressions introduced
- Changes integrated cleanly
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

