By ajsai47
Cloud orchestration layer for HolyClaude. Spins up a legion of Claude workers on Modal, each running the full HolyClaude stack, coordinated by a local orchestrator. Decomposes massive coding projects into parallel tasks, dispatches between local subagents and cloud Modal containers, reconciles via GitHub PRs.
Merge shipped legion PRs in dependency order, invoking the mediator on conflicts. Safe to run repeatedly.
Override the legion's max_workers cap at runtime. Useful when you want to push past the ramp, or dial back after seeing throttle.
Show cost summary for the active legion run. Pro-session is free; --api-flagged workers bill against Modal + Anthropic.
Spin up a HolyClaude legion. Decompose a goal into tasks, dispatch local + cloud workers, reconcile, ship. Use --resume to continue an existing run.
Show the current state of an active HolyClaude legion run.
Decide whether to run a single legion task as a local Claude Code subagent or as a cloud Modal worker. Used by the orchestrator skill per task. Inputs are the task spec + current swarm load + heuristics from legion.toml. Output is "local" or "cloud" with a one-line reason.
Decompose a coding goal into a parallelizable task DAG, then hand off to the autonomous `legion run` loop. Use when the user wants to spin up a swarm via /legion-start, run multiple Claude workers in parallel, or coordinate a fleet of cloud Claudes. The heavy lifting — spawn, poll, reconcile, merge, mediate, re-dispatch — lives in the `legion run` CLI subcommand.
Merge shipped PRs in dependency order, invoking the mediator on conflicts. Used by the orchestrator after workers finish, or manually via /legion-reconcile. Runs one idempotent pass per invocation — call repeatedly while reconcile has work to do.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
██╗ ██╗ ██████╗ ██╗ ██╗ ██╗ ██████╗██╗ █████╗ ██╗ ██╗██████╗ ███████╗
██║ ██║██╔═══██╗██║ ╚██╗ ██╔╝██╔════╝██║ ██╔══██╗██║ ██║██╔══██╗██╔════╝
███████║██║ ██║██║ ╚████╔╝ ██║ ██║ ███████║██║ ██║██║ ██║█████╗
██╔══██║██║ ██║██║ ╚██╔╝ ██║ ██║ ██╔══██║██║ ██║██║ ██║██╔══╝
██║ ██║╚██████╔╝███████╗██║ ╚██████╗███████╗██║ ██║╚██████╔╝██████╔╝███████╗
╚═╝ ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝
C L O U D
You type a goal. A legion of Claude agents fans out, writes the code, reviews each other's work, and merges everything cleanly — while you do something else.
/legion-start "Add JWT authentication to the API with tests and docs"
⚡ Decomposed into 4 tasks (2 parallel, estimated 18 min wall-clock)
⚡ T-001 Add JWT middleware to /api/user → cloud
⚡ T-002 Add /api/auth endpoint → cloud
⚡ T-003 Add auth integration tests → cloud (waiting on T-001)
⚡ T-004 Update README with auth section → local
✓ T-001 PR opened: github.com/you/repo/pull/12 (3 files, 89 lines)
✓ T-002 PR opened: github.com/you/repo/pull/13 (2 files, 45 lines)
↩ T-002 CI failed — re-dispatching (retry 1/2)
✓ T-002 PR opened: github.com/you/repo/pull/14 (CI passing this time)
✓ T-003 PR merged ✅
✓ T-004 PR merged ✅
✅ All 4 tasks merged in 22 minutes
One goal in. Merged PRs out. The orchestrator decomposed the work, routed tasks to cloud workers, an adversarial reviewer read every PR before merge, a CI failure triggered an automatic retry with the failure log as context, and the whole thing landed in dependency order.
End-to-end validated on its own repo ("dogfood") plus a sandbox. Ships PRs that merge cleanly when CI passes. Brain/learning loop is live — workers accumulate experience across runs. CI re-dispatch validated end-to-end. Not yet tested on production codebases or repos with pre-commit hooks. See STATUS.md for a grade card and TROUBLESHOOTING.md for known edges.
┌──────────────────────────────────────────────────────────────────┐
│ Layer 10: GOVERNOR Cost cap, throttle observer, kill switch │
│ Layer 9: RECONCILER Dep-ordered merge, CI check, auto-heal │
│ Layer 8: REVIEWER Adversarial pre-merge review + re-disp. │
│ Layer 7: MEDIATOR Merge conflict resolution │
│ Layer 6: DISPATCHER Local Agent vs cloud Modal — auto-route │
│ Layer 5: ORCHESTRATOR Decomposes plan → critic → refiner │
│ Layer 5c: BRAIN Write-on-finish retros, read-on-spawn │
├──────────────────────────────────────────────────────────────────┤
│ Layers 0-4: HolyClaude (memory, browser, plugins, workflow, │
│ team, research) — peer dependency + baked into │
│ every cloud container │
└──────────────────────────────────────────────────────────────────┘
Orchestrator takes your plain-English goal, turns it into a task DAG with explicit dependencies, and runs a critic-refiner pass to audit the plan before anything dispatches.
Dispatcher routes each task — local subprocess for quick tasks or repos with large checkouts, Modal cloud container for parallelism without saturating your machine.
Reviewer is a separate Claude instance that reads every PR before merge. A critical verdict blocks and re-dispatches the worker with the review as context. A warnings verdict merges with a comment. clean merges silently.
Mediator handles merge conflicts by spawning a dedicated Claude worker on a fresh worktree with both diffs and the conflict markers as input — it resolves by intent, not by guessing which diff wins.
Reconciler merges tasks in dependency order: T-002 doesn't merge until T-001 is in. CI failures trigger a re-dispatch with the failure log attached to the next worker's prompt.
Governor watches API spend and dynamically halves the worker cap if cost exceeds max_dollars_per_hour or the rate limiter fires.
Most "AI coding tools" run one agent at a time. Legion runs N in parallel and coordinates them like a software team:
npx claudepluginhub ajsai47/holyclaude-cloudThe Ultimate AI Coding Agent — combines Claude Code runtime, Superpowers workflow, Claude-Mem memory, gstack virtual team, and autoresearch experimentation into one plugin.
Cross-instance agent collaboration for Claude Code
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Develop, test, build, and deploy Godot 4.x games with Claude Code. Includes GdUnit4 testing, web/desktop exports, CI/CD pipelines, and deployment to Vercel/GitHub Pages/itch.io.
Comprehensive feature development workflow with specialized agents for codebase exploration, architecture design, and quality review
Intelligent draw.io diagramming plugin with AI-powered diagram generation, multi-platform embedding (GitHub, Confluence, Azure DevOps, Notion, Teams, Harness), conditional formatting, live data binding, and MCP server integration for programmatic diagram creation and management.
Access thousands of AI prompts and skills directly in your AI coding assistant. Search prompts, discover skills, save your own, and improve prompts with AI.
Upstash Context7 MCP server for up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.