parallel-agents
Skill19 starsChanged 7 months agoMITView on GitHub
Use when multiple agents can work on independent tasks simultaneously
18 other projects use a version of this.
Adopted by
Most recently taken up by
- satoh-y-0323/claude-code-conductortheir own version, first seen Sep 28, 2026
- bablsoft/accessflowtheir own version, first seen Sep 9, 2026
- strikersam/autonomous-ai-agencytheir own version, first seen Aug 30, 2026
- jssblck/agentstheir own version, first seen Aug 27, 2026
- VoDaiLocz/kilo-kit-mcptheir own version, first seen Aug 21, 2026
- hnikoloski/imlazytheir own version, first seen Jul 23, 2026
Used with
Projects with it also use vulnerability-scanner, seo-fundamentals and 10 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.
xfstudioSkillvulnerability-scanner
Advanced vulnerability analysis principles. OWASP 2025, Supply Chain Security, attack surface mapping, risk prioritization.
Also in 3 projects that use this
xfstudioSkillseo-fundamentals
Core principles of SEO including E-E-A-T, Core Web Vitals, technical foundations, content quality, and how modern search engines evaluate pages. This skill explains *why* SEO works, not how to execute specific optimizations.
Also in 3 projects that use this
CloudAI-XSkilldatabase-design
Designs database schemas, indexing strategies, query optimization, and migration patterns for SQL and NoSQL databases. Use when designing tables, optimizing queries, fixing N+1 problems, planning migrations, or when asked about database performance, normalization, ORMs, or data modeling.
Also in 3 projects that use this
OpenAISkillreact-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
Also in 3 projects that use this
lodetomasiSkilltdd-workflow
Test-Driven Development workflow with red-green-refactor pattern and best practices
Also in 3 projects that use this
AnthropicSkillarchitecture
Create or evaluate an architecture decision record (ADR). Use when choosing between technologies (e.g., Kafka vs SQS), documenting a design decision with trade-offs and consequences, reviewing a system design proposal, or designing a new component from requirements and constraints.
Also in 3 projects that use this
- +6 more from xfstudio
Other versions18 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 18
- parcadei/Continuous-Claude-v3★ 3.9ksame name
- kumaran-is/claude-code-onboarding★ 36same name
- georgekhananaev/claude-skills-vault★ 28same name
- Fandry96/k3-agentic-skills★ 27same name
- VoDaiLocz/kilo-kit-mcp★ 27same name
- bablsoft/accessflow★ 9same name
- strikersam/autonomous-ai-agency★ 9same name
- xfstudio/skills★ 9same name
- KhaledSaeed18/dotclaude★ 5same name
- SKB3002/agenthub★ 4same name
8 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 repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- adding-adaptersSkill
- adding-adaptersSkill
- agent-handoffSkill
- brainstormingSkill
- broker-collaborationSkill
- code-reviewSkill
- debuggingSkill
- multi-agent-workflowSkill
- test-driven-developmentSkill
- token-efficient-contextSkill
- using-skillsSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 6 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 17 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Independent: No task depends on another's output
- Very specific: line 82
Use wait=false to launch without blocking:
- Distinctive: line 139
All parallel agents should write to shared memory:
- Distinctive: line 156
Don't have parallel agents:
- Distinctive: line 158
Write to the same artifact key
- Very specific: line 163
Use run_workflow with wait=false:
- Distinctive: line 176
Monitor resource usage: Don't overload the system
- Distinctive: line 177
Cache results: Avoid re-running the same analysis
“Common” is measured: kept by at least 6 in 10 of the 17 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 Agent Execution
Maximize efficiency by running independent agent tasks concurrently.
When to Use Parallelization
Parallelize when tasks are:
- Independent: No task depends on another's output
- Non-conflicting: Tasks won't modify the same files
- Separable: Work can be cleanly divided
Parallel Patterns
Pattern 1: Parallel Reviews
Multiple reviewers examine the same code:
┌─ Bug Reviewer ───────┐
Code to Review ─┼─ Security Reviewer ──┼─ Combined Findings
└─ Performance Reviewer┘Implementation:
# Launch all three in parallel (async mode)
delegate_task role="review" adapter="claude-code" wait=false message="Review for bugs..."
delegate_task role="review-security" adapter="gemini-cli" wait=false message="Security audit..."
delegate_task role="review-performance" adapter="codex-cli" wait=false message="Performance review..."
# Check status of each
check_task_status terminalId="..."Pattern 2: Divide and Conquer
Split a large task into smaller independent pieces:
Large Codebase
├─ Agent 1: src/auth/
├─ Agent 2: src/api/
└─ Agent 3: src/utils/Implementation:
# Each agent works on a different directory
delegate_task role="implement" message="Refactor src/auth/..." wait=false
delegate_task role="implement" message="Refactor src/api/..." wait=false
delegate_task role="implement" message="Refactor src/utils/..." wait=falsePattern 3: Parallel Research
Multiple agents research different aspects:
Question: "How should we implement caching?"
├─ Agent 1: Research Redis options
├─ Agent 2: Research in-memory caching
└─ Agent 3: Research CDN cachingImplementation Guide
Step 1: Identify Independent Tasks
Ask yourself:
- Does Task B need Task A's output? → Sequential
- Can Task A and B modify the same file? → Sequential
- Are Task A and B completely separate? → Parallel
Step 2: Launch Tasks Asynchronously
Use wait=false to launch without blocking:
// Launch all tasks
const tasks = [
{ role: 'review', adapter: 'claude-code', message: '...' },
{ role: 'review-security', adapter: 'gemini-cli', message: '...' },
{ role: 'review-performance', adapter: 'codex-cli', message: '...' }
];
// All start in parallel
for (const task of tasks) {
delegate_task({ ...task, wait: false });
}Step 3: Collect Results
Poll for completion:
// Check each task status
for (const terminalId of terminalIds) {
const status = await check_task_status({ terminalId });
if (status === 'completed') {
const output = await get_terminal_output({ terminalId });
results.push(output);
}
}Step 4: Combine Findings
Merge outputs from all agents:
# All findings stored in shared memory
get_shared_findings taskId="review-session-123"
# Returns combined findings from all agentsBest Practices
1. Set Appropriate Timeouts
Different tasks need different timeouts:
# Quick review
delegate_task timeout="simple" ... # 3 min
# Deep analysis
delegate_task timeout="complex" ... # 30 min2. Use Shared Memory
All parallel agents should write to shared memory:
share_finding taskId="common-task-id" type="bug" content="..."3. Handle Failures Gracefully
Some agents may fail or timeout:
# Check status before using output
if (status === 'failed') {
// Retry or skip
}4. Avoid Resource Conflicts
Don't have parallel agents:
- Edit the same file
- Write to the same artifact key
- Depend on each other's output
Predefined Parallel Workflows
Use run_workflow with wait=false:
# Parallel code review (3 agents)
run_workflow workflow="code-review" wait=false message="Review src/..."
# Returns terminal IDs for all three agentsPerformance Tips
- Batch similar tasks: Group by agent type
- Use lightweight agents first: Get quick wins early
- Monitor resource usage: Don't overload the system
- Cache results: Avoid re-running the same analysis
Example: Comprehensive Code Review
// 1. Launch parallel reviews
const reviews = await Promise.all([
delegate_task({ role: 'review', adapter: 'claude-code', wait: false, message }),
delegate_task({ role: 'review-security', adapter: 'gemini-cli', wait: false, message }),
delegate_task({ role: 'review-performance', adapter: 'codex-cli', wait: false, message })
]);
// 2. Wait for all to complete
await Promise.all(reviews.map(r => waitForCompletion(r.terminalId)));
// 3. Collect findings
const findings = await get_shared_findings({ taskId: reviewTaskId });
// 4. Prioritize and fix
const critical = findings.filter(f => f.severity === 'critical');
for (const issue of critical) {
await delegate_task({ role: 'fix', message: issue.content });
}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.

