armada-dispatch

A set of rules for assigning independent coding tasks to multiple subagents at the same time. Subagents are AI workers given separate parts of a larger task.

In plain words
What is it for?
Use it to plan parallel work, dispatch agents with non-overlapping file scopes, and wait for all results before review.
Why use it?
It avoids file conflicts by requiring parallel tasks to have separate file ownership and dependencies.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/rafmacalaba/armada/armada-dispatch
Any agent
npx skills add rafmacalaba/armada --skill armada-dispatch
Clone the repo
git clone --depth 1 https://github.com/rafmacalaba/armada

Made for: Claude Code, Codex.

Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 378 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00047 $0.00378
Opus 5 $0.00023 $0.00189
Sonnet 5 $0.00009 $0.00076
Haiku 4.5 $0.00005 $0.00038

Measured 2d ago against content hash d381e994bb56, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

armada-dispatch scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/skills/armada-dispatch/SKILL.md · 27 lines

What it actually says

Armada: Parallel Subagent Dispatch

When two or more tasks are independent, dispatch them as parallel subagents. The key constraint: parallel tasks must write disjoint files. Shared files force serialization.

Rules

  1. Build a dependency graph from the phase list. Independent phases (no shared deps) can run in parallel.
  2. Check file scope: two phases can run in parallel only if they never write the same file. Prefer per-phase file isolation (e.g. src/<feature>.js + its test).
  3. Backend-dev and frontend-dev within the same phase can run in parallel when the API contract is fixed first, since they write different source trees.
  4. Wait for all dispatched subagents to return before gating the phase. Do not end your turn with background work outstanding.
  5. When NOT to parallelize: shared output file, sequential dependency between tasks, or one task's output is the other's input. Serialize writers on a reused subagent session.

Example: Phase 2 (API) and Phase 3 (UI) are independent and write src/api/ vs src/ui/ — dispatch both as parallel background subagents.

Adaptive roster

  • Infer risk from changed surface; keep non-required roles standby.
  • QA is always active. Low risk uses implementer + QA; high risk adds security and adversary, with architect for shared or cross-cutting design.
  • Separate voyages use separate worktrees and run concurrently. Return compact receipts with Status, Files, Evidence, Result, Risks, and Next.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 27 lines · 0 tokens per session scan A d381e994bb56

Subscribe to this mod's changes

armada-dispatch is a skill published in the GitHub repository rafmacalaba/armada (91 stars, last pushed 4d ago), licensed MIT. It adds 47 tokens to every session and 378 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

aoe

Use when launching, monitoring, or controlling AI coding agents (Claude Code, Codex, OpenCode, etc.) in tmux via Agent of Empires (aoe). Covers creating sessions, capturing agent output, running parallel worktree agents, and organizing work into groups and profiles. Prefer aoe over raw tmux for agent management.

agent-of-empires/agent-of-empires · 71 tokens

aoe

Manage AI coding agent sessions via Agent of Empires (aoe).

agent-of-empires/agent-of-empires · 17 tokens

debate

Structured adversarial analysis protocol. Quick single-agent modes (challenge, panel, pre-mortem, red team) plus a decision-review protocol where one agent proposes, one critiques, the proposer revises, and a binding/advisory judge panel decides ADOPT/REVISE/REJECT/ESCALATE.

EZotoff/ez-omo-config · 67 tokens

update-to-latest

Safety-critical operational pipeline for analyzing and executing OpenCode/OMO updates with explicit approval, patch preservation, rollback capability, and evidence-state discipline.

EZotoff/ez-omo-config · 33 tokens

reader-report

Reader-first writing for any deliverable a human reads to understand a result: HTML reports, MD design docs, debate-result summaries, survey dashboards, executive briefs, handoff notes, panel-review syntheses. Writes for a reader who has NOT read the preceding material. NOT for: bug reports, incident reports, status…

EZotoff/ez-omo-config · 80 tokens

patch-tracker

Track and verify custom patches to external dependencies. Register, audit, and verify patches survive updates. CRUD lifecycle for patch entries with post-update verification.

EZotoff/ez-omo-config · 33 tokens