Skip to content
Agentmart
Submit a tool

multi-agent-orchestration

Orchestrate multiple coding agents (subagents and ACP harnesses) for parallel development.

Skill by ejacklab

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/ejacklab-multi-agent-orchestration

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Orchestrate multiple coding agents (subagents and ACP harnesses) for parallel development. Use when: (1) spawning 2+ agents for a coding task, (2) deciding between subagent vs ACP, (3) defining file ownership and interface contracts, (4) coordinating agent lifecycle (spawn, monitor, timeout, kill). NOT for: single-agent tasks, simple edits.

Use cases: productivity, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/multi-agent-orchestration

What's inside

Skill name
multi-agent-orchestration
Description
Orchestrate multiple coding agents (subagents and ACP harnesses) for parallel development. Use when: (1) spawning 2+ agents for a coding task, (2) deciding between subagent vs ACP, (3) defining file ownership and interface contracts, (4) coordinating agent lifecycle (spawn, monitor, timeout, kill). NOT for: single-agent tasks, simple edits.
License
MIT
Instructions
102 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Multi-Agent Orchestration

## Subagent vs ACP Decision Matrix

| Factor | Subagent | ACP (Claude Code/Codex) |
|--------|----------|------------------------|
| Task clarity | Precise instructions available | Open-ended, needs exploration |
| Speed | Fast (30s-5min typical) | Slow (5-30min typical) |
| File access | read/write/exec tools | Full CLI with TTY |
| Autonomy | Linear execution | Self-directed loops |
| Cost | Lower (API only) | Higher (CLI process) |
| Stuck risk | Low (single turn) | High (can loop forever) |

**Rule: If you can write a 3-line spec, use subagent. If you need to say 'figure it out', use ACP.**

## 20-Minute Hard Limit

Every agent spawn (subagent or ACP) must complete within **20 minutes**. If a task can't fit in 20 min, it wasn't scoped small enough.

**Enforcement:**
- Set explicit timeout in spawn: `runTimeoutSeconds: 1200`
- Use cron watchdog for ACP: `openclaw cron add --at "20m" --delete-after-run`
- If an agent exceeds 20 min: kill it, assess what was produced, spawn smaller tasks

## Phase Separation (6 Phases)

| Phase | Session | Model | Input | Output |
|-------|---------|-------|-------|--------|
| 1. Design | Shared | GLM-5 | Specs, existing code | Design doc with interfaces |
| 2. Plan | Shared | Kimi 2.5 | Design doc | Task breakdown + file ownership |
| 3. Develop | Fresh per agent | Kimi 2.5/GLM-5 | Plan + file assignments | Source code |
| 4. Test | Fresh | Kimi 2.5 | Source code + tests spec | Passing tests |
| 5. Review | Shared | GLM-5 | Source + tests + specs | Review report |
| 6. Fix | Shared with Review | GLM-5 | Review report | Fixed code |

**Session sharing:** Design→Plan and Review→Fix share context. Develop and Test get fresh sessions.

## File Ownership

Every file has exactly **one owner** when parallel agents work. Define before spawning:

```markdown
| Agent | Files | Model |
|-------|-------|-------|
| A | search/__init__.py, search/engine.py | Kimi 2.5 |
| B | api/routes/search.py | Kimi 2.5 |
| C | services/, api/routes/system.py, api/deps.py, api/app.py | Kimi 2.5 |
```

**Rules:**
- Agents can READ anything
- Agents WRITE only their owned files
- Shared files (deps.py, app.py) → assign to one agent or do sequentially
- Interface contracts defined in plan phase BEFORE parallel spawn

## Interface Contracts

When two agents produce code that integrates, define the contract first:

```python
# In plan phase, define exact signatures:
class SearchEngine:
    def search(self, query: SearchQuery, request_id: str | None = None) -> SearchResult
    def suggest(self, partial: str, limit: int = 5) -> list[SuggestResult]
```

Both agents implement against this contract. No ambiguity.

## Spawn Template

```
Phase 3 — Develop (parallel):
Agent A (Kimi 2.5): {task description}
  Files: {owned files}
  Reads: {spec files, contract definitions}
  Timeout: 20 min

Agent B (Kimi 2.5): {task description}
  Files: {owned files}
  Reads: {spec files, contract definitions}
  Timeout: 20 min
```

## Verify Before Trust

**Never trust an agent's completion report.** Always verify by reading actual file content.

After a fix agent claims "I fixed X":
1. Read the actual file: `read(path)`
2. Check the specific change was applied
3. Run tests to confirm
4. GLM-5 fix agents have been caught claiming fixes they never made

## Agent Lifecycle

- **Spawn:** `sessions_spawn` for subagents, `runtime="acp"` for ACP
- **Monitor:** Wait for push-based completion. Do NOT poll.
- **Timeout:** Kill at 20 min. Check what was produced before killing.
- **Partial completion:** If agent produced files but didn't finish tests, spawn a fresh test agent.
- **Retry:** If agent failed completely, re-scope the task smaller and retry once.

From ejacklab/vtic, MIT.

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Mar 21, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from ejacklab

Cite this page

multi-agent-orchestration skill. Agent Mart. https://agentmart.dev/skills/ejacklab-multi-agent-orchestration (last updated 2026-10-24)