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/brovzar-lab-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: not checked yet.
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
Agent Skills spec issues
- files: referenced but missing: references/agent-templates.md
Files (1)
- SKILL.md
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 brovzar-lab/carpetify, MIT.
More from brovzar-lab/carpetify
- 0.399score
activecampaign-automation
brovzar-lab
Automate ActiveCampaign: contacts, deals, campaigns, lists, and automations.
SkillDFreshness: DClaude Code +9 - 0.399score
airtable-automation
brovzar-lab
Automate Airtable: records, tables, bases, views, and field management.
SkillDFreshness: DClaude Code +9 - 0.399score
amplitude-automation
brovzar-lab
Automate Amplitude: events, cohorts, user properties, and analytics queries.
SkillDFreshness: DClaude Code +9 - 0.399score
asana-automation
brovzar-lab
Automate Asana: tasks, projects, sections, assignments, and workspaces.
SkillDFreshness: DClaude Code +9 - 0.391score
article-extractor
brovzar-lab
Extract full article text and metadata from web pages.
SkillDFreshness: DClaude Code +9 - 0.380score
algorithmic-art
brovzar-lab
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration.
SkillDFreshness: DClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Mar 22, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 2.1.2
- License
- MIT
- Repository
- github.com/brovzar-lab/carpetify
- 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.493score
agenthub
Alireza Rezvani
Multi-agent collaboration plugin that spawns N parallel subagents competing on the same task via git worktree isolation.
SkillCFreshness: C★ 4Claude Code +9 - 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
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/brovzar-lab-agenthub (last updated 2026-10-24)