parallel-subagents
Skill0 starsChanged 10 days agoMITView on GitHub
Split authorized parallel work into independent sub-agent tasks that do not collide or duplicate. Use whenever delegating to multiple agents, background tasks, or parallel exploration. Teaches artifact-based partitioning, exclusive write ownership, contract-first splitting, and self-contained prompts so parallel agents never interact or redo each other's work.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- vindreshsingh/engineering-skillstheir own version, first seen Oct 20, 2026
- aromanarguello/roman-skillstheir own version, first seen May 5, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- aromanarguello/roman-skills★ 18same name
- vindreshsingh/engineering-skills★ 0same name
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 repository34 other files it gives its agents.
- chatgpt/AGENTS.mdAGENTS.md
- opencode/AGENTS.mdAGENTS.md
- zcode/AGENTS.mdAGENTS.md
- claude/CLAUDE.mdCLAUDE.md
- agent-doc-authoringSkill
- agent-experienceSkill
- ai-image-promptsSkill
- api-behavior-flowSkill
- architecture-and-performanceSkill
- behavioral-testingSkill
- behavior-auditSkill
- browser-tabs-uiSkill
- code-qualitySkill
- context-compactSkill
- design-principlesSkill
- design-to-deliverySkill
- design-validationSkill
- e2e-test-authoringSkill
- engineering-reviewSkill
- excalidrawSkill
- external-ai-consultSkill
- google-omni-videoSkill
- llm-agent-tool-disciplineSkill
- qa-test-scenariosSkill
- reliable-executionSkill
- research-and-reuseSkill
- server-security-hardeningSkill
- session-handoffSkill
- shadcn-librarySkill
- sudo-handoffSkill
- task-intakeSkill
- tauri-v2-docsSkill
- test-failure-triageSkill
- user-behavior-flowSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
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 31
Define contracts first: If outputs must connect (a function and its caller), fix the contract signature before launch — agents then never …
- Distinctive: line 37
No two agents may own write access to the same file.
- Distinctive: line 39
Never launch a sub-agent whose prompt ends in a question — it must complete from its prompt alone.
- Distinctive: line 50
No piece of work was done twice — run the duplicate check across the merged outputs.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Parallel Sub-Agents — Universal
Purpose
Split a large task into sub-agent tasks that run in parallel without conflicting or duplicating work. Each agent does exactly one job; no two agents share write ownership of the same artifact; no two agents re-derive the same decision.
When to use
- The task can be divided into several independent pieces (multiple files, searches, services).
- The work is large enough that one agent would serially take too long.
- Launching several agents or background tasks at once.
Preconditions
- Delegation tools are available and the current instructions authorize delegation. If not, follow the same partitioned workflow sequentially; do not stop solely because subagents are unavailable.
- Goal, constraints and acceptance criteria are known; use
task-intakeonly if material context is missing, not as a mandatory extra stage for a clear task. - The interfaces between pieces (signatures, data shapes, file paths) are defined before splitting.
Workflow
- Decompose by artifact. List the outputs (files, answers, artifacts). Assign one agent per output.
- Check for interaction. For each pair of agents ask: would both decide something about the same file? would both write to the same path? If yes — merge them, or give one ownership and the other read-only access.
- Resolve shared unknowns once. Any fact or decision two agents would both need (a design choice, an API shape, a convention) is settled now, before launching, and embedded in every affected prompt.
- Define contracts first. If outputs must connect (a function and its caller), fix the contract signature before launch — agents then never coordinate mid-flight.
- Write self-contained prompts. Each prompt carries: the deliverable, the source facts (file paths, exact requirements), the constraints (what not to touch), the acceptance criteria, and the verification. A sub-agent must be able to complete from its prompt alone.
- Launch within available concurrency limits. Batch scopes rather than exceeding the client's slots. Merge results only where the contracts say they connect; keep confidential work on approved local surfaces.
- Verify per artifact. Each sub-agent verifies its own deliverable; cross-check integration points yourself.
Rules
- No two agents may own write access to the same file. Reading overlap is fine; writing or deciding overlap is not.
- Give each agent its own search scope (directories, keywords, questions) so explorations do not duplicate.
- Never launch a sub-agent whose prompt ends in a question — it must complete from its prompt alone.
- Merging and conflict resolution belong to the main agent, never to the sub-agents.
Common mistakes
- Two agents fixing the "same" bug in different files because the duplication was not detected before splitting.
- Parallel exploration answering the same question twice with two different results.
- Overlapping write ownership — last-writer-wins silently loses work.
- Sub-agent prompts that require mid-task coordination ("wait until agent B finishes X").
Validation
- The combined result contains each artifact exactly once, written by exactly one agent.
- No piece of work was done twice — run the duplicate check across the merged outputs.
- Each sub-agent completed without asking the main agent a question.
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.

