fix-merge-conflicts

fix-merge-conflicts is a skill for Claude Code from RobinNorberg/oh-my-copilot. It costs 44 tokens per session (924 once invoked), scanned A, a copy of fix-merge-conflicts, MIT.

A guided way to resolve Git merge conflicts, which happen when two branches change the same work differently. It examines what each change was meant to do and checks the result after combining them.

In plain words
What is it for?
Use it when merging or rebasing branches produces conflicts. It helps inspect the relevant commits, edit the conflicted files, and validate the combined code.
Why use it?
A conflict can appear resolved while accidentally removing one side's intended behavior. This keeps both changes in view and avoids changing shared branches without permission.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the oh-my-copilot plugin — 100 skills, 21 commands, 20 agents, 11 hooks, 1 MCP server shipped together

Good fit Use it when merging or rebasing branches produces conflicts. It helps inspect the relevant commits, edit the conflicted files, and validate the combined code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/robinnorberg/oh-my-copilot/fix-merge-conflicts
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add RobinNorberg/oh-my-copilot --skill fix-merge-conflicts
Clone the repo
git clone --depth 1 https://github.com/RobinNorberg/oh-my-copilot

Made for: Claude Code.

Or install oh-my-copilot, the plugin that ships this one along with the rest of its 100 skills, 21 commands, 20 agents, 11 hooks, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for fix-merge-conflicts

README.md
[![agentmods](https://agentmods.dev/badge/skills/robinnorberg/oh-my-copilot/fix-merge-conflicts/github.svg)](https://agentmods.dev/skills/robinnorberg/oh-my-copilot/fix-merge-conflicts)
Your own site
<a href="https://agentmods.dev/skills/robinnorberg/oh-my-copilot/fix-merge-conflicts"><img src="https://agentmods.dev/badge/skills/robinnorberg/oh-my-copilot/fix-merge-conflicts/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for fix-merge-conflicts

Your own site · 80×15
<a href="https://agentmods.dev/skills/robinnorberg/oh-my-copilot/fix-merge-conflicts"><img src="https://agentmods.dev/badge/skills/robinnorberg/oh-my-copilot/fix-merge-conflicts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 924 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00044 $0.00924
Opus 5.5 $0.00018 $0.00370
Sonnet 5.5 $0.00009 $0.00185
Haiku 4.5 $0.00004 $0.00092

Measured 20d ago against content hash f77910270dc8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

fix-merge-conflicts scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 20d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to fix-merge-conflicts — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/fix-merge-conflicts/SKILL.md · 73 lines

How it starts

The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Fix Merge Conflicts

A conflict is two intents meeting in one file. Resolution that flattens either intent is a bug with a clean git status.

Workflow

  1. Establish ownership: you resolve conflicts on a branch you own, against a base others own. Conflicts on a shared branch get reported to the owner, not resolved unilaterally.
  2. Start the approved integration first: fetch the remote base (git fetch origin <base>) and merge the fetched SHA — git merge FETCH_HEAD (or the project's rebase convention, when the caller has not constrained it) — so the conflicts you inspect match what GitHub reported; a local base ref can be absent or behind origin/<base>, and git merge never refreshes it implicitly. A mergeable: conflicting answer from the remote, or a clean local branch, has no MERGE_HEAD — git log --merge before integrating exits 128.
  3. Read both intents: git log --merge -p -- <file> for each conflicted file once the merge is in progress — what did each side change and why (commit messages are evidence). Conflict markers show the what; the commits show the why. On the rebase path there is no MERGE_HEAD — git log --merge reads nothing there; read the topic side with git show REBASE_HEAD -- <file> (the dotted range REBASE_HEAD..HEAD excludes the topic commit itself, so it shows only the base side) and the base side with git log -p HEAD -- <file> until the rebase continues. When the caller forbids starting an integration at all (e.g. read-only inspection), compare explicit ranges instead: git log -p <base>...HEAD -- <file>.
  4. Resolve: the default is both-intent-preserving — base side's change and branch side's change both survive, composed. When the intents are genuinely incompatible, the base (upstream) intent wins on shared surfaces and the branch adapts, and the override is reported with its reason.
  5. Validate: run the project's checks (build/test/lint at minimum) on the resolved tree. A resolution that compiles but breaks a test took the wrong side somewhere. If intent analysis, resolution, or validation cannot complete after a merge starts, run git merge --abort; after a rebase starts, run git rebase --abort. If abort is unsafe or unavailable, stop and hand off the repository with the active MERGE_HEAD/REBASE_HEAD and conflict list explicitly reported.
  6. Finalize: for a rebase, stage each resolved file and run git rebase --continue repeatedly until git status shows no active rebase. Validate that final tree before pushing. Then commit the resolution with a message naming what each side wanted. No force-push to shared branches, ever; a rebased own-branch uses --force-with-lease — unless a caller (e.g. babysit) forbids rebase and force-push entirely, in which case merge-commit resolution is the only path.

Read the full file on GitHub · 73 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 20d ago First seen · 73 lines · 44 tokens per session scan A f77910270dc8

Subscribe to this mod's changes

fix-merge-conflicts is a skill published in the GitHub repository RobinNorberg/oh-my-copilot (5 stars, last pushed 3d ago), licensed MIT. It adds 44 tokens to every session and 924 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to fix-merge-conflicts, differing in 0 lines, and is treated as a copy.

Related

fix-merge-conflicts compared with skills from other repositories

fix-merge-conflicts next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fix-merge-conflictsRobinNorberg/oh-my-copilotSkill53d agoMITA44Claude Code
resolve-pr-feedbackDawn-Technology/aicelerateSkill129d agononeA50Claude Code
implement-ticketDawn-Technology/aicelerateSkill129d agononeA116Claude Code
review-prDawn-Technology/aicelerateSkill129d agononeA42Claude Code
review-and-resolve-prDawn-Technology/aicelerateSkill129d agononeA103Claude Code
write-commit-messageDawn-Technology/aicelerateSkill129d agononeA112Claude Code
fix-ciDawn-Technology/aicelerateSkill129d agononeC150Claude Code