parallel-agents
Skill3 starsChanged 4 months agoMITView on GitHub
Dispatch multiple subagents in parallel for independent tasks. Cache-friendly dispatch pattern — identical system prompts let the Anthropic prompt cache (5-min TTL) make 2nd-Nth dispatches nearly free
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
- KhaledSaeed18/dotclaudetheir own version, first seen Jul 4, 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
- suyashb734/cliagents★ 19same name
- bablsoft/accessflow★ 9same name
- strikersam/autonomous-ai-agency★ 9same name
- xfstudio/skills★ 9same name
- KhaledSaeed18/dotclaude★ 5same 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 repository27 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- docs/llms.txtllms.txt
- imlazySkill
- imlazy-api-designSkill
- imlazy-backendSkill
- imlazy-bootstrapSkill
- brainstormingSkill
- code-reviewSkill
- debuggingSkill
- imlazy-evalSkill
- imlazy-finish-branchSkill
- imlazy-frontendSkill
- learnSkill
- imlazy-planningSkill
- imlazy-receive-reviewSkill
- imlazy-request-reviewSkill
- imlazy-routerSkill
- imlazy-securitySkill
- imlazy-standardsSkill
- imlazy-strategic-saveSkill
- imlazy-subagentsSkill
- tddSkill
- imlazy-verifySkill
- imlazy-wordpressSkill
- worktreesSkill
- imlazy-write-plansSkill
- imlazy-write-skillsSkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 11 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 17 edited versions we read keep these.
11
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 10
Use when you have 2+ independent problems that can each be solved without knowing the others' results.
- Distinctive: line 16
No shared state between investigations (no editing the same files)
- Distinctive: line 29
Dispatch in parallel: All agents run concurrently.
- Distinctive: line 31
Review and integrate: When agents return: read each summary, verify fixes don't conflict, run full test suite.
- Distinctive: line 54
No context: "Fix the race condition" → Paste the error messages and test names
- Distinctive: line 55
No constraints → "Do NOT change production code" / "Fix tests only"
- Distinctive: line 60
When dispatching N parallel subagents, construct N requests with identical system prompts.
- Distinctive: line 65
Do not put task-specific context in the system prompt — it breaks cache hits.
- Distinctive: line 71
Read each summary — understand what changed and why
- Distinctive: line 72
Check for conflicts — did any agents edit the same code?
- Distinctive: line 73
Run full test suite — verify all fixes work together
“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-agents
When to use
Use when you have 2+ independent problems that can each be solved without knowing the others' results.
Use when:
- 3+ test files failing with different root causes
- Multiple subsystems broken independently
- Each problem can be understood without context from the others
- No shared state between investigations (no editing the same files)
Do not use when:
- Failures are related (fix one might fix others — investigate together first)
- Need to understand full system state before starting
- Agents would edit the same files (conflicts)
The pattern
- Identify independent domains. Group failures by what's broken. Each domain is its own agent scope.
- Create focused agent tasks. Each agent gets: specific scope (one file or subsystem), clear goal (make these tests pass), constraints (don't change other code), expected output (summary of root cause and changes).
- Dispatch in parallel. All agents run concurrently.
- Review and integrate. When agents return: read each summary, verify fixes don't conflict, run full test suite.
Good agent prompt structure
Fix the 3 failing tests in src/agents/agent-tool-abort.test.ts:
1. "should abort tool with partial output capture" — expects 'interrupted at' in message
2. "should handle mixed completed and aborted tools" — fast tool aborted instead of completed
3. "should properly track pendingToolCount" — expects 3 results but gets 0
These are likely timing/race condition issues. Your task:
1. Read the test file and understand what each test verifies
2. Identify root cause — timing issues or actual bugs?
3. Fix — replace arbitrary timeouts with event-based waiting if needed
Do NOT just increase timeouts — find the real issue.
Return: summary of root cause and what you fixed.Common mistakes:
- Too broad: "Fix all the tests" — agent gets lost → Too specific: "Fix agent-tool-abort.test.ts"
- No context: "Fix the race condition" → Paste the error messages and test names
- No constraints → "Do NOT change production code" / "Fix tests only"
- Vague output: "Fix it" → "Return summary of root cause and changes"
Cache-friendly dispatch (imlazy pattern)
When dispatching N parallel subagents, construct N requests with identical system prompts. The Anthropic prompt cache TTL is ~5 minutes — requests within the same dispatch batch will hit the cache, making dispatches 2 through N roughly 10× cheaper on input tokens.
What varies per dispatch: the user message (task-specific content). What stays identical: the system prompt (role, constraints, output format).
Do not put task-specific context in the system prompt — it breaks cache hits.
Real-world impact: In a debugging session with 6 failures across 3 files, dispatching one agent per file solved all problems concurrently in the time of one sequential investigation, with zero conflicts between the agents' changes.
Verification after agents return
- Read each summary — understand what changed and why
- Check for conflicts — did any agents edit the same code?
- Run full test suite — verify all fixes work together
- Spot-check — agents can make systematic errors; sample the actual diffs
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.

