Multi agent

From WrongStack/WrongStack · View interactive version

Multi agent is an AI agent skill from the GitHub repository WrongStack/WrongStack. Multi-agent work: delegate subtasks, run parallel agents or a fleet, brief workers, partition file ownership and merge results. Use when delegation, a fleet, parallel agent work or result synthesis is requested or appropriate under host instructions; keep sequential or small work in one agent.

How to use this skill

Skill file

Multi-Agent Coordination

Selection card

Overview

Parallel agents improve independent attention and elapsed time, at the cost of

handoff and synthesis. Use the host's actual limits and context-sharing rules.

Separate contexts may still share files, build outputs, ports and databases.

Rules

  1. Follow the session's delegation authorization and available tools. A large

task or this skill's availability alone does not authorize spawning agents.

  1. Delegate independent work with exact boundaries and a definition of done.

Keep decisions requiring the complete context with the coordinator.

  1. Assign file/resource ownership before writes. Prefer parallel reading and

separate edit scopes; serialize shared build, coverage, release and database

writers unless their isolation is demonstrated.

  1. Treat task brief and supplied artifacts as the worker's reliable context;

inspect what the host actually inherits instead of assuming total amnesia

or unlimited shared memory.

  1. Validate every worker's completion status and evidence. Partial, cancelled

and budget-exhausted outputs are coverage gaps, not successful checks.

  1. Synthesize one outcome with deduplicated findings and material cross-scope

effects; do not concatenate reports or fabricate unanimity.

Workflow

  1. Decide whether the work is independent enough to repay briefing and merge

costs. Use one agent when a subtask depends on exploratory results.

  1. Brief each worker: task, exact paths, raw inputs, constraints, write ownership,

checks, return format, budget and stopping conditions.

  1. Dispatch within host concurrency/resource limits. Keep useful coordinator

work running while workers execute.

  1. Handle dependency handoffs explicitly with versioned artifacts or paths.

A worker should reread a shared file before editing when another writer changed it.

  1. Check actual statuses, commands and changed files. Read relevant code for

consequential findings and inspect integration conflicts.

  1. Retry a failed worker only when a changed scope/input addresses the cause.

Bound retries; respect cancellation and report remaining gaps.

  1. Run the integration checks against the combined final state with one owner.

Brief template

~~~

Task: <one concrete objective>

Scope and ownership: <paths; read-only or permitted writes>

Inputs and constraints: <artifacts; relevant host rules>

Done when: <observable result>

Verify with: <commands and expected behavior>

Return: <outcome, files/lines, commands/results, limitations>

Stop/escalate when: <dependency or scope decision>

~~~

Review workflow

For the host's collab_debug path, load

the complete instructions before dispatch.

That workflow's actual tool contract governs roles and result handling.

Before returning

Skills in scope

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.