Skip to content

Parallel agents compete on one task in git worktrees, and the best branch is merged.

CCM score
66 of 100
skills.sh installs
609
GitHub stars
30.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the full coordinator lifecycle: init, dispatch, monitor, evaluate, and merge, with slash commands for each step
  • Includes 4 agent templates (optimizer, refactorer, test-writer, bug-fixer) and 2 evaluation modes: metric-based and LLM judge
  • Keeps every attempt in an append-only DAG with hub/ branches and archive tags, so no approach is lost
  • Designed for tasks where multiple approaches should be compared, such as code optimization, copy variants, or research angles, in a git repo

Install

$ npx -y skills add alirezarezvani/claude-skills --skill agenthub -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

AgentHub — Multi-Agent Collaboration

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.

Slash Commands

CommandDescription
/hub-initCreate a new collaboration session — task, agent count, eval criteria
/agenthub:spawnLaunch N parallel subagents in isolated worktrees
/hub-statusShow DAG state, agent progress, branch status
/agenthub:evalRank agent results by metric or LLM judge
/agenthub:mergeMerge winning branch, archive losers
/agenthub:boardRead/write the agent message board
/hub-runOne-shot lifecycle: init → baseline → spawn → eval → merge

Agent Templates

When spawning with --template, agents follow a predefined iteration pattern:

Details

Repository
github.com/alirezarezvani/claude-skills
Categories
Agent Workflow & Planning, Git & Releases
First seen
Jun 3, 2026

Questions

What does the agenthub skill do?

The agenthub skill spawns several AI agents that work on the same task in parallel, each in its own git worktree. The coordinator then evaluates their results by metric or LLM judge and merges the winning branch.

When should I use the agenthub skill?

Use agenthub when you want multiple approaches tried and compared, such as parallel code optimization, copy variants, or research angles. It fits trigger phrases like try multiple approaches, have agents compete, or spawn N agents.

What do I need to run agenthub?

agenthub requires a git repository, since each agent works in an isolated git worktree. Results are merged back into the base branch, and losing branches are archived with git tags.

How do I install the agenthub skill?

Run npx -y skills add alirezarezvani/claude-skills --skill agenthub -y in a project. Once installed, the agent can run session commands such as /hub-init, /agenthub:spawn and /agenthub:merge.

Which skills are in the same category as agenthub?

agenthub sits in the Agent Workflow & Planning category on Claude Marketplaces, alongside grill-me, grill-with-docs, setup-matt-pocock-skills, grilling and prototype. Unlike those, agenthub runs several agents in parallel and keeps the winning result.

More from alirezarezvani/claude-skills

All 259