multi-agent-mode
Skill15 starsChanged 14 days agoApache-2.0View on GitHub
Activate multi-agent mode: the lead agent still works directly but delegates independent helper slices when useful. Trigger on /multi-agent-mode, "multi-agent mode", "use helper agents", "work with subagents", or "parallelize if useful". Use orchestrate-mode instead when the lead agent must dispatch only and not execute.
In this repository95 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- agent-mailboxSkill
- agent-outputSkill
- ask-gateSkill
- ask-meSkill
- audit-coupled-constantSkill
- budget-checkSkill
- build-prototypeSkill
- caller-optionsSkill
- cold-reviewSkill
- debug-taskSkill
- define-termsSkill
- defuddleSkill
- design-an-interfaceSkill
- diff-recapSkill
- directives-auditSkill
- domain-checkSkill
- double-checkSkill
- extract-signalSkill
- freshness-contractSkill
- github-syncSkill
- handoff-executeSkill
- handoffSkill
- headless-claudeSkill
- headless-codexSkill
- headless-geminiSkill
- headless-grokSkill
- headless-modelsSkill
- headless-update-modelsSkill
- headless-usageSkill
- human-drawSkill
- human-mergeSkill
- human-outputSkill
- human-rewriteSkill
- implement-taskSkill
- improve-codebase-architectureSkill
- insight-adversarialSkill
- insight-anglesSkill
- insight-assessSkill
- insight-critiqueSkill
- insight-cross-examineSkill
- insight-exploreSkill
- insight-premortemSkill
- insight-reference-classSkill
- insight-retroSkill
- insight-root-causeSkill
- insight-skill-gapSkill
- insight-test-assumptionSkill
- insight-value-of-informationSkill
- investigateSkill
- json-canvasSkill
- map-checkSkill
- map-initSkill
- map-maintainSkill
- map-rulesSkill
- map-thisSkill
- monorepo-depsSkill
- next-skillsSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
19 rules. About 0 are common, 14 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈14
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 30
When invoked, immediately announce:
- Very specific: line 41
If the user invokes orchestrate-mode, announce the switch: the lead agent is now dispatch-only and must not execute concrete work directly.
- Distinctive: line 42
If the user exits multi-agent mode without choosing another mode, return to the session's default delegation behavior.
- Distinctive: line 54
Run or request final verification for the integrated result.
- Distinctive: line 68
Do not delegate when:
- Distinctive: line 78
MUST keep the lead agent responsible for final outcome, integration, and verification.
- Distinctive: line 79
MUST give each helper a self-contained brief: goal, scope, owned files, non-goals, context, acceptance criteria, verification, and expected …
- Distinctive: line 80
MUST tell helpers they are not alone in the codebase and must not revert or overwrite others' changes.
- Distinctive: line 81
MUST keep helper ownership disjoint.
- Distinctive: line 82
MUST resolve and state the runtime's actual workspace boundary before code-changing delegation.
- Distinctive: line 83
MUST, when helpers share a filesystem or working tree, restrict parallel code changes to disjoint paths with explicit shared-state …
- Distinctive: line 84
MUST inspect helper output, diffs, or changed paths before accepting.
- Distinctive: line 85
MUST NOT spawn more than 3 helpers without explicit user confirmation.
- Distinctive: line 86
MUST NOT recurse beyond depth 1.
- Distinctive: line 87
MUST NOT delegate urgent blocking work when the lead's next action depends on the answer.
- Very specific: line 108
Use orchestrate-mode when the lead agent should stop executing and only coordinate.
- Very specific: line 109
Use cold-review when the goal is independent outside review of work artifacts.
- Very specific: line 110
Use verify for a formal self-gate against intent, plan, and execution artifacts.
- Very specific: line 111
Use double-check for same-agent adversarial re-reading of a specific target.
≈ “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
/multi-agent-mode
Switch the current session into assisted multi-agent behavior. The lead agent remains responsible for planning, direct execution, integration, and final verification, but should actively look for independent slices that helper agents can handle in parallel or in the background.
Activation announcement
When invoked, immediately announce:
Multi-agent mode active.
I will continue working directly, and I may delegate independent helper slices when that improves speed, quality, or context control. I will keep ownership boundaries explicit, inspect helper outputs, and own final integration. Max 3 helpers without confirmation; no recursive subagents.
Then continue with the user's work item if provided.
Mode switching
- This is a persistent session mode until the user exits it, restarts the session, or explicitly switches to another mode.
- If the user invokes
orchestrate-mode, announce the switch: the lead agent is now dispatch-only and must not execute concrete work directly. - If the user exits multi-agent mode without choosing another mode, return to the session's default delegation behavior.
- Latest explicit mode wins. Do not maintain a hidden mode stack.
Core behavior
The lead agent should do the first decomposition pass locally:
- Identify the immediate critical-path work the lead should do directly.
- Identify independent helper slices that do not block the next lead action.
- Delegate only slices with clear ownership and acceptance criteria.
- Resolve whether helpers have isolated workspaces or share the lead's filesystem. Keep working locally only on work that cannot collide with their reads, writes, branch selection, staging, or cleanup.
- Inspect helper outputs before integrating or relying on them.
- Run or request final verification for the integrated result.
Before dispatch, bind the worker and total invocation to finite deadlines and resource limits, with a named monitoring owner, observable progress, a cancellation handle and terminal success/failure/timeout outcomes. Use native controls; include read-only scope and no-child instructions in research briefs. On failure or timeout, cancel owned work and report retained partial results and unchecked coverage. If these controls are unavailable, do not dispatch. When safe delegation is unavailable, the lead may continue the bounded task inline under this mode.
When to delegate
Delegate when a slice is independent and materially useful, such as:
- Separate failing test files or unrelated failures.
- Independent subsystem investigations.
- Bounded implementation work in disjoint files.
- A focused review or research question that can run while the lead continues.
- UI, backend, docs, or migration slices with clear non-overlapping ownership.
Do not delegate when:
- The task is small enough that delegation overhead exceeds benefit.
- The root cause is likely shared across all failures.
- The work needs one coherent global design decision first.
- Helpers would edit the same files or tightly coupled files.
- The helper brief would be longer or harder than the task.
Guardrails
- MUST keep the lead agent responsible for final outcome, integration, and verification.
- MUST give each helper a self-contained brief: goal, scope, owned files, non-goals, context, acceptance criteria, verification, and expected report.
- MUST tell helpers they are not alone in the codebase and must not revert or overwrite others' changes.
- MUST keep helper ownership disjoint.
- MUST resolve and state the runtime's actual workspace boundary before code-changing delegation. A worker tool or vendor name is not proof of isolation.
- MUST, when helpers share a filesystem or working tree, restrict parallel code changes to disjoint paths with explicit shared-state coordination; otherwise serialize them. Branch switches, staging, commits, generated files, and cleanup are shared mutations even when source-file pens differ.
- MUST inspect helper output, diffs, or changed paths before accepting.
- MUST NOT spawn more than 3 helpers without explicit user confirmation.
- MUST NOT recurse beyond depth 1. Helpers must not spawn their own helpers.
- MUST NOT delegate urgent blocking work when the lead's next action depends on the answer.
Helper prompt baseline
You are a helper agent in multi-agent mode. The lead agent is also working. Stay within your assigned scope and do not revert or overwrite changes from others.
Goal:
Scope / owned files:
Do not touch:
Relevant context:
Acceptance criteria:
Verification to run:
Finite worker / invocation limits, monitoring owner, progress and cancel handle:
Terminal / partial-result contract:
Leaf constraint: do not spawn helpers.
Final report must include: changed paths, commands run, result, unresolved risks.Relationship to other skills
- Use
orchestrate-modewhen the lead agent should stop executing and only coordinate. - Use
cold-reviewwhen the goal is independent outside review of work artifacts. - Use
verifyfor a formal self-gate against intent, plan, and execution artifacts. - Use
double-checkfor same-agent adversarial re-reading of a specific target.
Human output. This skill's handler-facing output obeys the human-output contract (
human-output/SKILL.md).
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.

