agenthub
Multi-agent collaboration plugin that spawns N parallel subagents competing on the same task via git worktree isolation.
Skill by Alireza Rezvani
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/10srav-agenthub
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: ml, writing, research, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/agenthub
What's inside
- Skill name
agenthub- Description
- Multi-agent collaboration plugin that spawns N parallel subagents competing on the same task via git worktree isolation. Agents work independently, results are evaluated by metric or LLM judge, and the best branch is merged. Use when: user wants multiple approaches tried in parallel — code optimization, content variation, research exploration, or any task that benefits from parallel competition. Requires: a git repo.
- License
- MIT
- Metadata
- author: Alireza Rezvani · updated: 2026-03-17 · version: 2.1.2 · category: engineering
- Instructions
- 248 lines in SKILL.md · view on GitHub
Files (15)
- CLAUDE.md
- README.md
- SKILL.md
- hub-coordinator.md · agents/
- agent-templates.md · references/
- coordination-strategies.md · references/
- dag-patterns.md · references/
- settings.json
- SKILL.md · skills/board/
- SKILL.md · skills/eval/
- SKILL.md · skills/init/
- SKILL.md · skills/merge/
- SKILL.md · skills/run/
- SKILL.md · skills/spawn/
- SKILL.md · skills/status/
SKILL.md (first lines)
# 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
| Command | Description |
|---------|-------------|
| `/hub:init` | Create a new collaboration session — task, agent count, eval criteria |
| `/hub:spawn` | Launch N parallel subagents in isolated worktrees |
| `/hub:status` | Show DAG state, agent progress, branch status |
| `/hub:eval` | Rank agent results by metric or LLM judge |
| `/hub:merge` | Merge winning branch, archive losers |
| `/hub:board` | Read/write the agent message board |
| `/hub:run` | One-shot lifecycle: init → baseline → spawn → eval → merge |
## Agent Templates
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`.
## When This Skill Activates
Trigger phrases:
- "try multiple approaches"
- "have agents compete"
- "parallel optimization"
- "spawn N agents"
- "compare different solutions"
- "fan-out" or "tournament"
- "generate content variations"
- "compare different drafts"
- "A/B test copy"
- "explore multiple strategies"
## Coordinator Protocol
The main Claude Code session is the coordinator. It follows this lifecycle:
```
INIT → DISPATCH → MONITOR → EVALUATE → MERGE
```
### 1. Init
Run `/hub:init` to create a session. This generates:
- `.agenthub/sessions/{session-id}/config.yaml` — task config
- `.agenthub/sessions/{session-id}/state.json` — state machine
- `.agenthub/board/` — message board channels
### 2. Dispatch
Run `/hub:spawn` to launch agents. For each agent 1..N:
- Post task assignment to `.agenthub/board/dispatch/`
- Spawn via Agent tool with `isolation: "worktree"`
- All agents launched in a single message (parallel)
### 3. Monitor
Run `/hub:status` to check progress:
- `dag_analyzer.py --status --session {id}` shows branch state
- Board `progress/` channel has agent updates
### 4. Evaluate
Run `/hub:eval` to rank results:
- **Metric mode**: run eval command in each worktree, parse numeric result
- **Judge mode**: read diffs, coordinator ranks by quality
- **Hybrid**: metric first, LLM-judge for ties
### 5. Merge
Run `/hub:merge` to finalize:
- `git merge --no-ff` winner into base branch
- Tag losers: `git tag hub/archive/{session}/agent-{i}`
- Clean up worktrees
- Post merge summary to board
## Agent Protocol
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 done
```
Agents 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.
## DAG Model
### Branch Naming
```
hub/{session-id}/agent-{N}/attempt-{M}
```
- Session ID: timestamp-based (`YYYYMMDD-HHMMSS`)
- Agent N: sequential (1 to agent-count)
- Attempt M: increments on retry (usually 1)
### Frontier Detection
Frontier = branch tips with no child branches. Equivalent to AgentHub's "leaves" query.From 10srav/skills-mega-bundle, MIT.
More from 10srav/skills-mega-bundle
- 0.519score
audit-website
squirrelscan
Audit a website with the squirrelscan CLI and fix the findings in code.
SkillCFreshness: C★ 4Claude Code +9 - 0.514score
architecture
10srav
Create or evaluate an architecture decision record (ADR).
SkillCFreshness: C★ 4Claude Code +9 - 0.514score
audit-support
10srav
Support SOX 404 compliance with control testing methodology, sample selection, and documentation standards.
SkillCFreshness: C★ 4Claude Code +9 - 0.511score
a11y-audit
10srav
Accessibility audit skill for scanning, fixing, and verifying WCAG 2.2 Level A and AA compliance across React, Next.js, Vue, Angular, Svelte, and plain HTML…
SkillCFreshness: C★ 4Claude Code +9 - 0.511score
account-research
10srav
Research a company or person and get actionable sales intel.
SkillCFreshness: C★ 4Claude Code +9 - 0.503score
agent-workflow-designer
10srav
Agent Workflow Designer
SkillCFreshness: C★ 4Claude Code +9 - 0.493score
ai-seo
Alireza Rezvani
Optimize content to get cited by AI search engines — ChatGPT, Perplexity, Google AI Overviews, Claude, Gemini, Copilot.
SkillCFreshness: C★ 4Claude Code +9 - 0.493score
agent-protocol
Alireza Rezvani
Inter-agent communication protocol for C-suite agent teams.
SkillCFreshness: C★ 4Claude Code +9 - 0.490score
analytics-tracking
Alireza Rezvani
Set up, audit, and debug analytics tracking implementation — GA4, Google Tag Manager, event taxonomy, conversion tracking, and data quality.
SkillCFreshness: C★ 4Claude Code +9 - 0.490score
ad-creative
Alireza Rezvani
When the user needs to generate, iterate, or scale ad creative for paid advertising.
SkillCFreshness: C★ 4Claude Code +9 - 0.470score
ab-test-setup
Alireza Rezvani
When the user wants to plan, design, or implement an A/B test or experiment.
SkillCFreshness: C★ 4Claude Code +9
Signals
- Stars
- 4
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jul 10, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 2.1.2
- License
- MIT
- Repository
- github.com/10srav/skills-mega-bundle
- Website
- jarvis-henna-nu.vercel.app
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.271score
agenthub
Alireza Rezvani
Multi-agent collaboration plugin that spawns N parallel subagents competing on the same task via git worktree isolation.
SkillCFreshness: CClaude Code +9 - 0.234score
agenthub
Alireza Rezvani
Multi-agent collaboration plugin that spawns N parallel subagents competing on the same task via git worktree isolation.
SkillDFreshness: DClaude Code +9 - 0.229score
agenthub
Alireza Rezvani
Multi-agent collaboration plugin that spawns N parallel subagents competing on the same task via git worktree isolation.
SkillDFreshness: DClaude Code +9
More from Alireza Rezvani
- 0.694score
content-creator
Alireza Rezvani
Create SEO-optimized marketing content with consistent brand voice.
SkillBFreshness: B★ 111Claude Code +9 - 0.600score
autoresearch-agent
Alireza Rezvani
Autonomous experiment loop that optimizes any file by a measurable metric.
SkillAFreshness: A★ 11Claude Code +9 - 0.572score
content-creator
Alireza Rezvani
Create SEO-optimized marketing content with consistent brand voice.
SkillDFreshness: D★ 123Claude Code +9 - 0.557score
ceo-advisor
Alireza Rezvani
Executive leadership guidance for strategic decision-making, organizational development, and stakeholder management.
SkillAFreshness: A★ 1Claude Code +9 - 0.557score
board-deck-builder
Alireza Rezvani
Assembles comprehensive board and investor update decks by pulling perspectives from all C-suite roles.
SkillAFreshness: A★ 1Claude Code +9 - 0.557score
cfo-advisor
Alireza Rezvani
Financial leadership for startups and scaling companies.
SkillAFreshness: A★ 1Claude Code +9
Cite this page
agenthub skill. Agent Mart. https://agentmart.dev/skills/10srav-agenthub (last updated 2026-10-24)