
Merge
- 1.4k installs
- 23.5k repo stars
- Updated July 17, 2026
- alirezarezvani/claude-skills
merge is an agent skill that Merge the winning agent's branch into base, archive losers, and clean up worktrees.
About
Merge the winning agent's branch into base, archive losers, and clean up worktrees. --- name: "merge" description: "Merge the winning agent's branch into base, archive losers, and clean up worktrees." command: /hub:merge --- # /hub:merge - Merge Winner Merge the best agent's branch into the base branch, archive losing branches via git tags, and clean up worktrees. ## Usage ``` /hub:merge # Merge winner of latest session /hub:merge 20260317-143022 # Merge winner of specific session /hub:merge 20260317-143022 --agent agent-2 # Explicitly choose winner ``` ## What It Does ### 1. Identify Winner If `--agent` specified, use that. Otherwise, use the #1 ranked agent from the most recent `/hub:eval`. Merge Winner ```bash 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}" ``` ### 3. Archive Losers For each non-winning agent: ```bash # 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}/attem.
- /hub:merge - Merge Winner
- Create archive tag (preserves commits forever)
- Delete branch ref (commits preserved via tag)
- **Session**: {session-id}
- **Merged into**: {base_branch}
Merge by the numbers
- 1,403 all-time installs (skills.sh)
- +2 installs in the week ending Jul 29, 2026 (Skillselion tracking)
- Ranked #490 of 2,159 Testing & QA skills by installs in the Skillselion catalog
- Security screen: LOW risk (skills.sh audit)
- Data as of Jul 31, 2026 (Skillselion catalog sync)
merge capabilities & compatibility
- Capabilities
- /hub:merge — merge winner · create archive tag (preserves commits forever) · delete branch ref (commits preserved via tag) · **session**: {session id} · **merged into**: {base_branch}
- Use cases
- documentation
What merge says it does
Identify Winner If `--agent` specified, use that.
Otherwise, use the #1 ranked agent from the most recent `/hub:eval`.
Clean Up Worktrees ```bash python {skill_path}/scripts/session_manager.py --cleanup {session-id} ``` ### 5.
- **Worktrees cleaned**: {count} ``` ### 6.
npx skills add https://github.com/alirezarezvani/claude-skills --skill mergeAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 1.4k |
|---|---|
| repo stars | ★ 23.5k |
| Security audit | 3 / 3 scanners passed |
| Last updated | July 17, 2026 |
| Repository | alirezarezvani/claude-skills ↗ |
What problem does merge solve for developers using this skill?
Merge the winning agent's branch into base, archive losers, and clean up worktrees.
Who is it for?
Developers who need merge patterns described in the cached skill documentation.
Skip if: Skip when docs are empty or the task is outside the skill's documented scope.
When should I use this skill?
Merge the winning agent's branch into base, archive losers, and clean up worktrees.
What you get
Actionable workflows and conventions from SKILL.md for merge.
- merged base branch
- archived loser tags
Files
../../../engineering/agenthub/skills/merge/SKILL.md
Related skills
How it compares
Use merge only after AgentHub eval; use standard git merge skills for conventional single-developer branch integration.
FAQ
What does merge do?
Merge the winning agent's branch into base, archive losers, and clean up worktrees.
When should I use merge?
Merge the winning agent's branch into base, archive losers, and clean up worktrees.
Is merge safe to install?
Review the Security Audits panel on this page before installing in production.