merge-reconciler
Neutral third-party resolution of agent merge conflicts.
Skill by supplefrog
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/supplefrog-merge-reconciler
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: agent-building
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
merge-reconciler- Description
- Neutral third-party resolution of agent merge conflicts.
- License
- MIT
- Instructions
- 147 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Merge Reconciler
Resolve a git merge conflict between two AGENTS' branches as an impartial third
party. Agents resolving conflicts against a peer's work reliably either
overwrite the peer or abandon their own change — they lack the peer's context
and are biased toward their own side. This skill is the fix: a neutral
reconciler that receives both diffs plus both sides' stated intents and
produces a merged result, like a merge-queue arbiter.
## When to Use
- Two agent branches/worktrees collide during a parallel campaign (kanban
engineering pipeline, parallel-PR wave, multi-worktree refactor).
- `git merge` or `git rebase` halts on conflicts between two agents' work and
neither original agent should self-adjudicate.
- Do NOT use for conflicts within a single agent's own work, or for trivial
lockfile/generated-file conflicts (regenerate those instead).
## Prerequisites
- A repo checkout containing the halted merge, or the two branch names plus
permission to run the merge yourself.
- Both sides' intent sources: kanban completion summaries (`terminal` running
`hermes kanban show <task-id>`), PR bodies, or at minimum each branch's
commit messages.
- The project's build/test command, if one exists.
## How to Run
**Standalone** — a human (or agent) invokes this skill inside the conflicted
repo: load the skill, then follow the Procedure top to bottom.
**Spawned neutral agent** — the preferred shape in multi-agent campaigns:
- `delegate_task`: spawn a subagent whose task message contains the repo path,
both branch names, and both sides' intent summaries verbatim, plus an
instruction to follow this skill.
- Kanban-native: create a reconciliation card assigned to a **third profile**
(not either worker's profile) with BOTH conflicted cards linked as parents —
`kanban_create(title="reconcile branch-a x branch-b", assignee="reconciler",
parents=["t_a", "t_b"])`. The parent links carry both sides' completion
summaries into the reconciler's context automatically; the card body should
name the repo path and the two branches.
## Quick Reference
| Hunk class | Definition | Resolution |
|---|---|---|
| disjoint-intent | The two changes serve different goals and can coexist | Combine both |
| same-question-different-answer | Both sides answered one design question differently | Pick ONE per stated intents; surface the decision |
| superseded | One side's premise no longer holds after the other's change | Keep the surviving side; note why |
Impartiality contract: never favor the side that spawned you; touch ONLY
conflicted regions (no drive-by edits); every design-question pick must appear
explicitly in the hand-back summary.
## Procedure
### 1. Gather both sides
- Run via `terminal`: `git status` (confirm the conflicted state and list
conflicted files), `git merge-base <A> <B>`, then for each side
`git log --oneline <base>..<side>` and `git diff <base>..<side> -- <file>`
for every conflicted file. In a halted merge, `HEAD` is one side and
`MERGE_HEAD` is the other.
- Collect each side's intent: `hermes kanban show <task-id>` for completion
summaries/metadata, or the PR body, or the commit messages from the log
above. Write down one sentence of intent per side before touching any file.
- Done when: you can state both intents in your own words and have both diffs
for every conflicted file.
### 2. Classify every conflicted hunk
- Open each conflicted file with `read_file` and locate each
`<<<<<<<`/`=======`/`>>>>>>>` block.
- Assign each hunk exactly one class from the Quick Reference table, judging
by the stated intents — not by which change looks nicer.
- If a single hunk contains multiple independent decisions (e.g., new logic
that combines cleanly PLUS a styling/rounding choice both sides answered
differently), decompose it into sub-decisions and classify each one.
- A single file often mixes classes: one hunk may be a design collision while
a neighboring hunk is disjoint. Classify per hunk, not per file.
- Done when: every hunk has a written class and a one-line rationale.
### 3. Resolve under the impartiality contract
- Edit each hunk with `patch` (or `write_file` for whole-file rewrites):
- disjoint-intent → merge both changes so each intent is fully served.
- same-question-different-answer → pick the answer that best serves the
STATED intents (e.g., an intent of "strict validation" beats "quick
default" if the task required correctness). Never split the difference
into a hybrid neither side asked for.
- superseded → keep the surviving side; delete the dead premise.
- Never favor the side that spawned you. If intents genuinely tie, escalate
(block the kanban card / report back) rather than guess.
- Change nothing outside conflict markers — no formatting, renames, or
opportunistic fixes.
- `git add` each resolved file via `terminal`.
- Done when: `search_files` finds no `<<<<<<<` markers in the repo and every
resolved file is staged.
### 4. Verify
- Run the project's build/tests via `terminal`; at minimum import/execute the
touched modules. Both intents must be observable in the merged behavior
(e.g., side A's new semantics AND side B's disjoint addition both present).
- Complete the merge: `git commit` (the default merge message plus a body
listing hunk decisions is fine).
- Done when: verification passes and the merge commit exists.
### 5. Hand back
- Produce a completion summary naming EVERY hunk decision:
`file:lines — class — which side(s) kept — rationale`. For every
same-question-different-answer hunk, state the design question and the
answer you picked so a human can veto it — never bury a design call.
- Kanban: `kanban_complete(summary=...)`. Standalone: print the summary.
- Done when: the summary is delivered and lists all hunks.From supplefrog/agent-sync, MIT.
More from supplefrog/agent-sync
- 0.592score
agent-orchestration-operations
supplefrog
Use when the user calls the agent “the orchestrator,” says “resume the orchestrator,” or coordinates agents, workers, coding CLIs, durable Kanban queues…
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
delegation-workflows
supplefrog
Use when routing bounded coding implementation or tests to a Hermes worker, or when independent tasks warrant parallelism, isolation, or fresh review.
SkillAFreshness: A★ 1Claude Code +9 - 0.586score
hermes-lcm
supplefrog
Use, configure, diagnose, and retrieve exact evidence with the Hermes-LCM lossless context plugin.
SkillAFreshness: A★ 1Claude Code +9 - 0.583score
skill-creator
supplefrog
Use when authoring instructions, reviewing model-facing tool interfaces, or preserving reusable workflows.
SkillAFreshness: A★ 1Claude Code +9 - 0.582score
trial-handoff
supplefrog
Use when drafting an internal customer trial handoff from an account packet for an implementation lead before a trial review.
SkillAFreshness: A★ 1Claude Code +9 - 0.581score
trial-handoff
supplefrog
Use when an advocate needs a concise internal handoff from a customer trial packet before its review.
SkillAFreshness: A★ 1Claude Code +9 - 0.554score
prototype
supplefrog
Build a throwaway prototype to answer a logic or state-model question.
SkillAFreshness: A★ 1Claude Code +9 - 0.552score
creative-ideation
supplefrog
Use when brainstorming, exploring options, unsticking an idea, making it less generic, or choosing among possibilities.
SkillBFreshness: B★ 1Claude Code +9 - 0.549score
creative-production-workflows
supplefrog
Use for non-website visual and media artifacts: standalone diagrams, generative art, kinetic typography, ASCII media, GIFs, animation, ComfyUI, or…
SkillBFreshness: B★ 1Claude Code +9 - 0.546score
hermes-agent
supplefrog
Configure, troubleshoot, extend, or contribute to Hermes Agent.
SkillBFreshness: B★ 1Claude Code +9 - 0.538score
adversarial-ux-test
supplefrog
Roleplay a hostile user to find and triage UX pain points.
SkillBFreshness: B★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 13, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/supplefrog/agent-sync
- 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.538score
merge-reconciler
merllinsbeard
Neutral third-party resolution of agent merge conflicts.
SkillBFreshness: B★ 1Claude Code +9 - 0.333score
merge-reconciler
yadav-prakhar
Neutral third-party resolution of agent merge conflicts.
SkillAFreshness: AClaude Code +9 - 0.309score
merge-reconciler
brotherzhafif
Neutral third-party resolution of agent merge conflicts.
SkillBFreshness: BClaude Code +9 - 0.309score
merge-reconciler
luzperformance
Neutral third-party resolution of agent merge conflicts.
SkillBFreshness: BClaude Code +9 - 0.309score
merge-reconciler
obsiagent-boop
Neutral third-party resolution of agent merge conflicts.
SkillBFreshness: BClaude Code +9
More from supplefrog
- 0.592score
agent-orchestration-operations
supplefrog
Use when the user calls the agent “the orchestrator,” says “resume the orchestrator,” or coordinates agents, workers, coding CLIs, durable Kanban queues…
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
delegation-workflows
supplefrog
Use when routing bounded coding implementation or tests to a Hermes worker, or when independent tasks warrant parallelism, isolation, or fresh review.
SkillAFreshness: A★ 1Claude Code +9 - 0.586score
hermes-lcm
supplefrog
Use, configure, diagnose, and retrieve exact evidence with the Hermes-LCM lossless context plugin.
SkillAFreshness: A★ 1Claude Code +9 - 0.583score
skill-creator
supplefrog
Use when authoring instructions, reviewing model-facing tool interfaces, or preserving reusable workflows.
SkillAFreshness: A★ 1Claude Code +9 - 0.582score
trial-handoff
supplefrog
Use when drafting an internal customer trial handoff from an account packet for an implementation lead before a trial review.
SkillAFreshness: A★ 1Claude Code +9 - 0.581score
trial-handoff
supplefrog
Use when an advocate needs a concise internal handoff from a customer trial packet before its review.
SkillAFreshness: A★ 1Claude Code +9
Cite this page
merge-reconciler skill. Agent Mart. https://agentmart.dev/skills/supplefrog-merge-reconciler (last updated 2026-10-24)