merge

Merge winning branches into the base branch, archive losers, and clean up worktrees.

Updated Apr 2, 2026
One-click install
npx skills add https://github.com/4lerman/text_evaluator --skill merge-4lerman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: merge
Source: https://github.com/4lerman/text_evaluator/tree/main/.agents/skills/engineering-advanced-skills/agenthub/skills/merge
Command: npx skills add https://github.com/4lerman/text_evaluator --skill merge-4lerman

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires git, python, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of merging the winning agent's branch into the base branch, archiving losing branches, and cleaning up worktrees, streamlining the workflow for collaborative development sessions.

Core Features & Use Cases

  • Merge Winner: Automates the merge of the winning agent's branch into the base branch.
  • Archive Losers: Archives losing branches with tags for future reference.
  • Clean Up Worktrees: Removes unnecessary worktrees to keep the repository organized.
  • Use Case: Ideal for continuous integration/continuous deployment (CI/CD) pipelines where multiple agents work on the same repository.

Quick Start

Run the merge skill to integrate the winning branch and clean up the worktrees for the current session.

Frequently Asked Questions about merge

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate git branch merging and worktree cleanup in CI/CD?

You can automate git branch merging and worktree cleanup by running a script that merges the winning agent's branch into the base branch, archives losing branches with tags, and removes unnecessary worktrees.

What is the best way to archive losing git branches in collaborative development?

Archiving losing git branches in collaborative development is done by tagging them for future reference before cleaning up the worktrees, ensuring the repository stays organized without losing code history.

Do I need Python and git installed to manage multiple agent worktrees?

Yes, you need Python and git installed to manage multiple agent worktrees, as the automation relies on git operations and Python script execution to handle session cleanup and branch merging tasks.

How does worktree management work when handling multiple development sessions?

Worktree management for multiple development sessions works by automatically removing unnecessary worktrees after the winning branch is merged into the base branch, keeping the repository organized for continuous integration.

Can I use scripts to clean up losing branches after a merge?

Yes, you can use Python scripts to clean up losing branches after a merge, which automates the archiving process with tags and removes redundant worktrees to streamline collaborative development workflows.