Skip to content
Development
Skill

/oma-orchestration

Dispatch and supervise parallel specialist agents with durable task

From plugin
oma
1.3k33 skills12 agents4 hooks3 MCP
Install
$ npx -y skills add first-fluke/oh-my-agent --skill oma-orchestration --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/oma-orchestration

Context preview

The summary Claude sees to decide when to auto-load this skill.

Dispatch and supervise parallel specialist agents with durable task

SKILL.md

oma-orchestration.SKILL.md
name: oma-orchestration
description: Dispatch and supervise parallel specialist agents with durable task
  state. Use when automated multi-agent execution is requested.

Orchestration - Automated Multi-Agent Coordination

Scheduling

Goal

Automatically orchestrate multi-agent execution with task decomposition, native/fallback dispatch, memory coordination, progress monitoring, verification, QA cross-review, retry, and result collection.

Intent signature

  • User asks to orchestrate, run in parallel, automate multi-agent execution, or coordinate full-stack work end to end.
  • Task requires multiple specialist agents and a persistent review/remediation loop.

When to use

  • Complex feature requires multiple specialized agents working in parallel
  • User wants automated execution without manually spawning agents
  • Full-stack implementation spanning backend, frontend, mobile, and QA
  • User says "run it automatically", "run in parallel", or similar automation requests

When NOT to use

  • Simple single-domain task -> use the specific agent directly
  • User wants step-by-step manual control -> use oma-coordination
  • Quick bug fixes or minor changes

Expected inputs

  • Complex feature or workflow request
  • Project config, model/vendor routing, agent types, task constraints, and workspace/session needs
  • Acceptance criteria and verification expectations

Expected outputs

  • Orchestrator session state, task board, progress files, result files, and final summary
  • Specialist agent outputs after mechanical checks, automated verify, and QA cross-review
  • Review history and retry/remediation status when loops fail

Dependencies

  • `.agents/oma-config.yaml`, `.codex/agents/*.toml`, `.gemini/agents/*.md`, or fallback `oma agent spawn`
  • Memory provider config, subagent prompt template, scripts, task templates, verify script, and session metrics

Control-flow features

  • Branches by vendor/native dispatch availability, priority tiers, agent completion/failure, verification status, QA verdict, retry limits, and unresolved decisions
  • Spawns processes/agents and reads/writes memory/result files
  • Preserves unresolved evidence when bounded recovery stops

Structural Flow

Entry

1. Resolve agent vendor routing and runtime dispatch path. 2. Decompose request into priority-tiered tasks. 3. For each task, classify into one or more `domain_tags` by matching against the `Intent signature` block of each installed `.agents/skills/oma-*/SKILL.md`. Tasks that match no domain confidently inherit the union of their parent feature's tags. 4. Build a per-task `exposed_skill_set` = skills whose name is in `domain_tags`. If `|exposed_skill_set| < 2` after classification, fall back to the full installed set (flat exposure) and record `exposure_fallback: true` in the task board. 5. Create session memory and task board with `exposed_skill_set` and `exposure_fallback` per task.

Scenes

1. **PREPARE**: Plan, setup session ID, and initialize memory files. 2. **ACT**: Spawn agents by priority tier within parallelism limits. 3. **VERIFY**: Run self-check, `oma verify`, and QA cross-review loop. 4. **RECOVER**: Retry failed agents with review history when limits allow. 5. **FINALIZE**: Collect verified claims, compile summary, and preserve progress artifacts.

Transitions

  • If native dispatch is available for current runtime/vendor, use it.
  • If vendors differ or native path is unavailable, use fallback spawn.
  • If verify or QA fails, feed feedback back to the implementation agent.
  • If recovery limits are exceeded, preserve review history and return `partial` or `failed`; never force completion.
  • If a task's `exposed_skill_set` excludes a skill that a recovered failure indicates was needed, re-classify the task and re-dispatch with the expanded set rather than retrying against the original narrow set.

Failure and recovery

  • Retry failed agents up to configured limits.
  • Re-spawn with review history when review loop is exhausted.
  • Continue independent work after recording material corrections; ask only for a material missing decision.

Exit

  • Success: all tasks complete, verify/review pass, and results are summarized.
  • Partial success: failed agents, exhausted review loops, or missing verification are explicit.

Logical Operations

Actions

| Action | SSL primitive | Evidence | |--------|---------------|----------| | Read config and task context | `READ` | oma config, routing, request | | Classify task into domain tags | `INFER` | task text vs each skill's `Intent signature` | | Compute exposed skill set | `SELECT` | intersection of domain tags and installed skills | | Select dispatch path | `SELECT` | Native vs fallback | | Write session state | `WRITE` | task board and memory files | | Spawn agents | `CALL_TOOL` | native CLI or `oma agent spawn` | | Poll progress | `READ` | progress/result files | | Run verification | `CALL_TOOL` | `oma verify`, tests, QA | | Update retry state | `UPDATE_STATE` | loop counters and CD metrics | | Report final result | `NOTIFY` | compiled summary |

Tools and instruments

  • Native CLI subagent dispatch, fallback spawn scripts, memory tools, verify script, QA agent
  • Session metrics, prompt templates, task templates

Canonical command path

oma agent spawn <agent-type> <prompt-file> <session-id> --task-id <task.id> -w <workspace>
oma verify <agent-type> --workspace <workspace> --json

When native runtime dispatch is available, prefer the runtime-specific native path listed in this skill before falling back to `oma agent spawn`.

Resource scope

| Scope | Resource target | |-------|-----------------| | `LOCAL_FS` | Session, task-board, progress, result, config files | | `PROCESS` | Agent CLI processes and verify scripts | | `MEMORY` | Session state and unresolved decisions | | `CODEBASE` | Workspaces owned by spawned agents |

Preconditions

  • Task is decomposable into specialist agent work.
  • Runtime/vendor d
Read more
Ships withoma

Agents narrate success. oh-my-agent checks the artifacts. Spawning parallel agents is the easy part. The hard part is knowing whether they actually did the work.

Get the whole plugin

Other skills on oma.