agent-launcher-orchest…
Use when someone wants to build, launch, grade or schedule a Claude Managed Agent in their own Anthropic account ('build me an…
Run several agents on one task in parallel and keep the best result: faster code, copy variants, research angles. Use whenever the user wants multiple attempts compared or best of N; spawns agents in git worktrees, ranks and merges the winner.
Claude Code
$ npx -y skills add alirezarezvani/claude-skills --skill agenthub --agent claude-code
Codex
$ npx skills add alirezarezvani/claude-skills --skill agenthub -a codex -y
Cursor
$ npx skills add alirezarezvani/claude-skills --skill agenthub -a cursor -y
Gemini CLI
$ npx skills add alirezarezvani/claude-skills --skill agenthub -a gemini-cli -y
GitHub Copilot
$ npx skills add alirezarezvani/claude-skills --skill agenthub -a github-copilot -y
OpenCode
$ npx skills add alirezarezvani/claude-skills --skill agenthub -a opencode -y
Windsurf
$ npx skills add alirezarezvani/claude-skills --skill agenthub -a windsurf -y
name: "agenthub" description: "Run several agents on one task in parallel and keep the best result: faster code, copy variants, research angles. Use whenever the user wants multiple attempts compared or best of N; spawns agents in git worktrees, ranks and merges the winner." license: MIT metadata: version: 2.1.2 author: Alireza Rezvani category: engineering updated: 2026-03-17
Spawn N parallel AI agents that compete on the same task. Each agent works in an isolated git worktree. The coordinator evaluates results and merges the winner.
| Command | Description | |---------|-------------| | `/hub-init` | Create a new collaboration session — task, agent count, eval criteria | | `/agenthub:spawn` | Launch N parallel subagents in isolated worktrees | | `/hub-status` | Show DAG state, agent progress, branch status | | `/agenthub:eval` | Rank agent results by metric or LLM judge | | `/agenthub:merge` | Merge winning branch, archive losers | | `/agenthub:board` | Read/write the agent message board | | `/hub-run` | One-shot lifecycle: init → baseline → spawn → eval → merge |
When spawning with `--template`, agents follow a predefined iteration pattern:
| Template | Pattern | Use Case | |----------|---------|----------| | `optimizer` | Edit → eval → keep/discard → repeat x10 | Performance, latency, size | | `refactorer` | Restructure → test → iterate until green | Code quality, tech debt | | `test-writer` | Write tests → measure coverage → repeat | Test coverage gaps | | `bug-fixer` | Reproduce → diagnose → fix → verify | Bug fix approaches |
Templates are defined in `references/agent-templates.md`.
Trigger phrases:
The main Claude Code session is the coordinator. It follows this lifecycle:
INIT → DISPATCH → MONITOR → EVALUATE → MERGE
Run `/hub-init` to create a session. This generates:
Run `/agenthub:spawn` to launch agents. For each agent 1..N:
Run `/hub-status` to check progress:
Run `/agenthub:eval` to rank results:
Run `/agenthub:merge` to finalize:
Each subagent receives this prompt pattern:
You are agent-{i} in hub session {session-id}.
Your task: {task description}
Instructions:
1. Read your assignment at .agenthub/board/dispatch/{seq}-agent-{i}.md
2. Work in your worktree — make changes, run tests, iterate
3. Commit all changes with descriptive messages
4. Write your result summary to .agenthub/board/results/agent-{i}-result.md
5. Exit when doneAgents do NOT see each other's work. They do NOT communicate with each other. They only write to the board for the coordinator to read.
hub/{session-id}/agent-{N}/attempt-{M}Frontier = branch tips with no child branches. Equivalent to AgentHub's "leaves" query.
python scripts/dag_analyzer.py --frontier --session {id}The DAG is append-only:
Location: `.agenthub/board/`
| Channel | Writer | Reader | Purpose | |---------|--------|--------|---------| | `dispatch/` | Coordinator | Agents | Task assignments | | `progress/` | Agents | Coordinator | Status updates | | `results/` | Agents + Coordinator | All | Final results + merge summary |
--- author: agent-1 timestamp: 2026-03-17T14:30:22Z channel: results parent: null --- ## Result Summary - **Approach**: Replaced O(n²) sort with hash map - **Files changed**: 3 - **Metric**: 142ms (baseline: 180ms, delta: -38ms) - **Confidence**: High — all tests pass
Best for: benchmarks, test pass rates, file sizes, response times.
python scripts/result_ranker.py --session {id} \
--eval-cmd "pytest bench.py --json" \
--metric p50_ms --direction lowerThe ranker runs the eval command in each agent's worktree directory and parses the metric from stdout.
Best for: code quality, readability, architecture decisions.
The coordinator reads each agent's diff (`git diff base...agent-branch`) and ranks by: 1. Correctness (does it solve the task?) 2. Simplicity (fewer lines changed preferred) 3. Quality (clean execution, good structure)
Run metric first. If top agents are within 10% of each other, use LLM judge to break ties.
i
411 production-ready skills for Claude Code and 12 other coding agents, covering engineering, product, marketing, compliance, finance and the C-suite. We test whether each skill loads when you ask in plain words, and publish the results.
Use when someone wants to build, launch, grade or schedule a Claude Managed Agent in their own Anthropic account ('build me an…
Use when a launched managed agent needs grading against a rubric and improving ('grade my agent', 'is it good enough'). Builds…
Use when someone has an agent idea to scope before launch ('help me scope an agent'). Interviews them about the one job and…
Use when a graded managed agent should run on a schedule, on an event trigger or on demand ('run it every morning'). Validates…
Use when a managed-agent build sheet is ready to launch ('launch it', 'deploy the agent'). Generates and validates API payloads…
Use when closing out a launched managed agent ('wrap up', 'what do I own now'). Inventories primitives with…
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
Design and build AI agents for any domain. Use when users: (1) ask to "create an agent", "build an assistant", or "design an AI…