agent-army

Orchestrates a two-layer hierarchy of parallel Claude agents for large codebase-wide tasks.

1|Updated Aug 8, 2026
One-click install
npx skills add https://github.com/th-efool/SKILLS --skill agent-army-th-efool
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: agent-army
Source: https://github.com/th-efool/SKILLS/tree/main/agent-army
Command: npx skills add https://github.com/th-efool/SKILLS --skill agent-army-th-efool

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Large refactors, multi-file migrations, and codebase-wide audits are slow and error-prone when handled by a single agent working sequentially, and naive parallelization often produces phantom completions, overlapping edits, and silent model downgrades. ## Core Features & Use Cases - Two-Layer Parallel Hierarchy: A commander model orchestrates 3-50+ Layer 1 specialist agents, each with its own full context window, and each spawning 2+ Layer 2 sub-agents. - Power Levels and Sizing Tiers: Choose Max Power, Heavy, Balanced, or Economy to set the Opus/Sonnet/Haiku model mix per layer, and Conservative through Maximum tiers to control agent count and token budget. - Safety and Verification: Git checkpoint branches, a written deployment gate, phantom-completion detection via git diff cross-checks, and multi-wave execution (Execute, Audit, Propagate, Notify). - Use Case: Replace a color palette across 45 files in 5 domains — a foundation agent updates shared theme files first, then 5 parallel agents fan out to sub-agents, with diff-confirmed reporting and an audit wave catching edge cases. ## Quick Start Ask the agent to deploy an agent army at Heavy power to migrate all files in this repository from the old API to the new one.

Frequently Asked Questions about agent-army

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run a large refactor across many files with Claude agents?▼

Deploy a two-layer agent hierarchy: a commander model plans the work, then 3-50+ Layer 1 agents each spawn 2+ sub-agents to edit files in parallel. A deployment gate and git diff verification confirm every file was actually modified.

What is the difference between an agent swarm and an agent army?▼

A swarm splits one context window across sub-agents, while an army gives each Layer 1 agent its own full context window. The army approach suits large tasks where each agent needs deep independent context rather than a divided slice.

When should I not use parallel multi-agent orchestration?▼

Avoid it for fewer than 6 independent units of work, single-file changes, heavily sequential dependencies, or tasks needing one coherent authorial voice. Orchestration overhead makes small jobs slower and burns extra tokens.

How do I control Claude model costs when running many agents?▼

Pick a power level: Max Power (Opus everywhere), Heavy (Opus L1, Sonnet L2), Balanced (Sonnet), or Economy (Sonnet L1, Haiku L2). Always pass the model parameter explicitly on every agent call to avoid silent inheritance of the expensive session model.

How do I verify parallel agents actually completed their work?▼

Run git diff --stat and cross-reference it against each agent's completion report. An agent reporting files modified with no matching diff is a phantom completion and should be re-dispatched. Trust the diff, not the report.

Can a multi-agent run resume after being interrupted?▼

Yes. The skill writes an .army-state.md scratchpad after Wave 1 recording diff-confirmed files, open flags, and decisions. A new invocation reads this file and resumes from the last clean wave instead of restarting.