Compare Branches
Use when user wants to compare two autonomy branches to see different approaches, metrics, and outcomes
Install
/plugin marketplace add tilmon-engineering/claude-skillsThe repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.
npx skills add tilmon-engineering/claude-skills --skill compare-branchesgit clone --depth 1 https://github.com/tilmon-engineering/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills/plugins/autonomy/skills/compare-branches ~/.claude/skills/compare-branchesPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Comparing Branches ## Overview Compare two autonomy branches to show where they diverged, how their approaches differ, and what outcomes each achieved. **Core principle:** Use git merge-base to find divergence, then dispatch branch-analyzer for computational comparison. ## When to Use Use this skill when: - User runs `/compare-branches` command - User wants to see differences between two exploration branches - User wants to understand alternative approaches - User wants to compare metrics/outcomes across branches **DO NOT use for:** - Analyzing single branch (use branch-status instead) - Listing all branches (use list-branches instead) - Current branch review (use review-progress instead) ## Quick Reference | Step | Action | Tool | |------|--------|------| | 1. Parse and validate | Normalize branch names, check both exist | Bash | | 2. Find divergence | Use git merge-base to find common ancestor | Bash | | 3. Dispatch agent | Send both branches to branch-analyzer | Task | | 4. Present comparison | Display comparative report | Direct output | ## Process ### Step 1: Parse and Validate Branch Names Extract and normalize both branch names: **Parse arguments:** ``` args = "<branch-a> <branch-b>" Split on whitespace: branch_a = first word branch_b = second word If not exactly 2 words: Error: "Usage: /compare-branches <branch-a> <branch-b>" ``` **Normalize:**
Details
- Skill name
compare-branches- Repository
- tilmon-engineering/claude-skills
- Path
plugins/autonomy/skills/compare-branches/SKILL.md- License
- MIT
- Repo updated
- 22 May 2026
FAQ
What does the Compare Branches skill do?
Use when user wants to compare two autonomy branches to see different approaches, metrics, and outcomes
How do I install the Compare Branches skill?
Claude Code plugin: /plugin marketplace add tilmon-engineering/claude-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Compare Branches popular?
It lives in tilmon-engineering/claude-skills, which has 5 GitHub stars and 2 forks.
Related skills
Analyze Branch
5tilmon-engineering/claude-skills
Use when analyzing another branch's iteration journals to extract findings, decisions, and insights from divergent work
Branch Status
5tilmon-engineering/claude-skills
Use when user wants detailed status report for single autonomy branch including iteration timeline and metrics progression
Checkpoint Iteration
5tilmon-engineering/claude-skills
Use when saving current iteration progress mid-conversation, before context compaction, or at interim pause points
Fork Iteration
5tilmon-engineering/claude-skills
Use when user wants to create new autonomy branch from current commit or specific past iteration
Fork Worktree
5tilmon-engineering/claude-skills
Use when user wants to create new autonomy branch with dedicated worktree for parallel agent workflows
List Branches
5tilmon-engineering/claude-skills
Use when user wants to inventory autonomy branches with custom sorting, grouping, or filtering
Browse the most popular Claude skills, all git & code review skills, or write your own with the skills generator.