resolve-merge-conflict

resolve-merge-conflict is a skill for Claude Code, Codex from jackfranklin/dotfiles. It costs 21 tokens per session (348 once invoked), scanned A, original, MIT.

A guide for resolving conflicts during a Git merge or rebase, when different changes affect the same parts of files. Git is a version-control system used to track and combine code changes.

In plain words
What is it for?
Use it to inspect the merge or rebase state, investigate each side’s purpose, resolve conflicting sections, check for leftover markers, run project checks, and finish the operation.
Why use it?
It helps preserve the intent behind both sets of changes and prevents unresolved conflict markers or broken builds from being left behind.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to inspect the merge or rebase state, investigate each side’s purpose, resolve conflicting sections, check for leftover markers, run project checks, and finish the operation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jackfranklin/dotfiles/resolve-merge-conflict
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 jackfranklin/dotfiles --skill resolve-merge-conflict
Clone the repo
git clone --depth 1 https://github.com/jackfranklin/dotfiles

Made for: Claude Code, Codex.

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 resolve-merge-conflict

README.md
[![agentmods](https://agentmods.dev/badge/skills/jackfranklin/dotfiles/resolve-merge-conflict/github.svg)](https://agentmods.dev/skills/jackfranklin/dotfiles/resolve-merge-conflict)
Your own site
<a href="https://agentmods.dev/skills/jackfranklin/dotfiles/resolve-merge-conflict"><img src="https://agentmods.dev/badge/skills/jackfranklin/dotfiles/resolve-merge-conflict/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 resolve-merge-conflict

Your own site · 80×15
<a href="https://agentmods.dev/skills/jackfranklin/dotfiles/resolve-merge-conflict"><img src="https://agentmods.dev/badge/skills/jackfranklin/dotfiles/resolve-merge-conflict.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 348 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 original No closer match found 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.00021 $0.00348
Opus 5.5 $0.00008 $0.00139
Sonnet 5.5 $0.00004 $0.00070
Haiku 4.5 $0.00002 $0.00035

Measured 1mo ago against content hash 3abec2a2d830, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

resolve-merge-conflict 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 1mo 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

Copies of this mod

8 near-identical copies found in the catalogue:

claude/skills/resolve-merge-conflict/SKILL.md · 17 lines

What it actually says

  1. Confirm authority and see the current state. Check the merge/rebase state, Git history, and conflicting files. If the user explicitly asked to resolve the conflicts, that authorizes resolution. If the conflict was only discovered while doing another task, inspect it without editing and ask for confirmation before resolving it.

  2. Find the primary sources for each conflict. Understand deeply why each change was made, and what the original intent was. Read the commit messages, check the PRs, check original issues/tickets.

  3. Resolve each hunk. Preserve both intents where possible. Where incompatible, pick the one matching the merge's stated goal and note the trade-off. Do not invent new behaviour. Never --abort a user's merge/rebase without explicit authorization. If you are unsure of the correct resolution, stop and ask the user for clarification.

  4. Verify conflict markers. Before staging any resolved file, explicitly search it to ensure all conflict markers (<<<<<<<, =======, >>>>>>>) have been removed.

  5. Discover the project's automated checks. Run only checks that do not modify tracked files. If a check may format or otherwise write files, or a failure requires changes beyond the resolved conflict files, ask the user before running it or making those changes.

  6. Finish only the intended merge/rebase. Stage only the resolved conflict files. If unrelated staged or modified files are present, stop and ask which files to include. Commit the resolution, or continue the rebase process until all commits are rebased.

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. 1mo ago Changed · -1 lines 3abec2a2d830
  2. 1mo ago First seen · 18 lines · 21 tokens per session scan A 0a8b645da6f2

Subscribe to this mod's changes

resolve-merge-conflict is a skill published in the GitHub repository jackfranklin/dotfiles (254 stars, last pushed 6d ago), licensed MIT. It adds 21 tokens to every session and 348 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.