Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Merges the winning AgentHub branch into the base branch, tags losing branches as archives, and removes worktrees.
27% 77%+50 ptsof test cases passed
Passed 17 of 22 test cases with the skill, and 6 of 22 without it.
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
Merge the best agent's branch into the base branch, archive losing branches via git tags, and clean up worktrees.
/agenthub:merge # Merge winner of latest session
/agenthub:merge 20260317-143022 # Merge winner of specific session
/agenthub:merge 20260317-143022 --agent agent-2 # Explicitly choose winner
If --agent specified, use that. Otherwise, use the #1 ranked agent from the most recent /agenthub:eval.
git checkout {base_branch}
git merge --no-ff hub/{session-id}/{winner}/attempt-1 \
-m "hub: merge {winner} from session {session-id}
Task: {task}
Winner: {winner}
Session: {session-id}"
For each non-winning agent:
# Create archive tag (preserves commits forever)
git tag hub/archive/{session-id}/{agent-id} hub/{session-id}/{agent-id}/attempt-1
# Delete branch ref (commits preserved via tag)
git branch -D hub/{session-id}/{agent-id}/attempt-1
Next to this one in the catalogue, plus more from the same author.