AgentHub — Multi-Agent Competition Hub
Spawns N parallel subagents that solve the same task in isolated git worktrees, then evaluates and merges the winning branch.
AutomationAdvanced★ 24,151⑂ 3,405AI score 8/10Last updated: Aug 9, 2026
What it does
AgentHub turns a single task into a tournament between N parallel AI agents.
/hub:initcreates a session (task, agent count, eval criteria);/hub:spawnlaunches all agents in one parallel batch.- Each agent works independently in its own git worktree on
hub/{session}/agent-{N}, with no visibility into other agents' work. /hub:evalranks results via metric mode (benchmarks, test pass rates), LLM judge (correctness, simplicity, quality), or a hybrid tie-breaker./hub:mergemerges the winner with--no-ffand tags the losers for archival — the DAG is append-only, so every attempt is preserved.- Ships iteration templates (
optimizer,refactorer,test-writer,bug-fixer), a message board under.agenthub/board/, and helper scripts for DAG analysis, ranking, and session cleanup.
Who it's for
- Engineers who want several optimization or bug-fix approaches tried at once and picked by hard numbers.
- Teams comparing refactoring strategies before committing to one.
- Content folks generating multiple drafts or A/B copy variations.
- Intermediate-to-advanced users comfortable with git worktrees (a git repo is required).
Examples
- Performance bake-off: "Have 5 agents optimize this sort path and merge the lowest p50" — each worktree runs the benchmark, and 142ms beats the 180ms baseline.
- Refactor comparison: spawn 3 agents with
--template refactorer, keep only branches where tests pass, and let the LLM judge pick the smallest clean diff. - Copy A/B test: generate 4 landing-page copy variants in parallel, rank them on clarity and CTA strength, and merge only the winner.
· · · Install guide · · ·
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the .gemini/skills/agenthub folder from the GitHub repo alirezarezvani/claude-skills into my ~/.claude/skills/agenthub/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/alirezarezvani/claude-skills.git && mkdir -p ~/.claude/skills && cp -r claude-skills/.gemini/skills/agenthub ~/.claude/skills/agenthub⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal in a scratch directory.
- Clone the repo:
git clone https://github.com/alirezarezvani/claude-skills.git - Create the skills folder:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r claude-skills/.gemini/skills/agenthub ~/.claude/skills/agenthub - Verify
SKILL.mdand thescripts/folder exist; make sure Python 3 is installed since the helper scripts need it. - Restart Claude Code, open a project that is a git repository, and run
/hub:init. - For your first run, use 2–3 agents and try
/hub:runto walk the full lifecycle (init → spawn → eval → merge). - Always review
/hub:statusandgit diffbefore letting it merge a winning branch.
View source on GitHub ↗License: MIT