merge-conflicts

merge-conflicts is a skill for Claude Code, Codex from event4u-app/agent-config. It costs 29 tokens per session (2,569 once invoked), scanned A, original, MIT.

A set of instructions for resolving Git merge conflicts, which happen when two branches change overlapping parts of a project. It explains how to classify conflicts before choosing a resolution.

In plain words
What is it for?
Use it during merges, rebases, branch updates, or review preparation when conflicts appear, especially when generated files are involved.
Why use it?
It helps avoid treating generated files and human-authored files the same way. That reduces the risk of hand-editing generated output into a state that matches neither branch.

Skill for Claude CodeCodex

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

Good fit Use it during merges, rebases, branch updates, or review preparation when conflicts appear, especially when generated files are involved.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/event4u-app/agent-config/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 event4u-app/agent-config --skill merge-conflicts
Clone the repo
git clone --depth 1 https://github.com/event4u-app/agent-config

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 merge-conflicts

README.md
[![agentmods](https://agentmods.dev/badge/skills/event4u-app/agent-config/merge-conflicts/github.svg)](https://agentmods.dev/skills/event4u-app/agent-config/merge-conflicts)
Your own site
<a href="https://agentmods.dev/skills/event4u-app/agent-config/merge-conflicts"><img src="https://agentmods.dev/badge/skills/event4u-app/agent-config/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 merge-conflicts

Your own site · 80×15
<a href="https://agentmods.dev/skills/event4u-app/agent-config/merge-conflicts"><img src="https://agentmods.dev/badge/skills/event4u-app/agent-config/merge-conflicts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,569 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 154
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 255
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00029 $0.02569
Opus 5.5 $0.00012 $0.01028
Sonnet 5.5 $0.00006 $0.00514
Haiku 4.5 $0.00003 $0.00257

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

Security

Grade A, and why

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 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.

src/skills/merge-conflicts/SKILL.md · 262 lines

How it starts

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

merge-conflicts

When to use

Use this skill when:

  • A merge or rebase produces conflicts
  • The user asks to "resolve conflicts", "fix merge", or "update branch"
  • CI fails because the branch is behind main
  • The prepare-for-review command encounters conflicts

Procedure: Resolve merge conflicts

0. Classify before resolving — and never start in the GitHub web editor

A CONFLICTING PR is not a signal to open the web editor. The web editor cannot tell generated from authored, so it presents a mechanical regeneration and a real human decision as the same three-way merge — which is how a generated file gets hand-merged into a state matching neither branch.

So classify locally first, before resolving anything. Sort every conflicted path into three classes, because the correct resolution differs per class and only one of them is a judgement call:

Class What it is Resolution
generated a build output, an index, a compiled manifest — anything a generator writes from a source in the tree re-run the generator. Never mix hunks, and note that a clean auto-merge of a generated file is still wrong: it can produce a file matching neither branch
remeasured a baseline, budget, or ratchet number a CI gate compares against re-run the measurement on the merged tree and record what it says. Two branches legitimately measured two different trees, so there is no side to take — and picking one is how a ratchet silently loosens
authored prose, source, config a human wrote a human decision — read both sides. This is what the rest of this skill is about

Getting the class wrong is the expensive direction: hand-merging a generated file, or picking a side on a measured one, both produce a plausible-looking file that no branch ever had. If the project ships a tool that does this classification, run it before touching the conflict; where it does not, the three-way sort above is still the first step.

This is a checklist item, not a gate — nothing enforces it (road-to-merge-hotspot-drawdown 4.3).

Read the full file on GitHub · 262 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · +6 lines d058fcd0ceab
  2. 3mo ago First seen · 256 lines · 29 tokens per session scan A 730d6d9828a5

Subscribe to this mod's changes

merge-conflicts is a skill published in the GitHub repository event4u-app/agent-config (20 stars, last pushed today), licensed MIT. It adds 29 tokens to every session and 2,569 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-09-04.

Related

merge-conflicts compared with skills from other repositories

merge-conflicts next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
merge-conflictsevent4u-app/agent-configSkill20todayMITA29Claude Code, Codex
managing-gitCloudAI-X/claude-workflow-v2Skill1.4k1mo agoMITA46Claude Code
ijfw-preflightFerroxLabs/ijfwSkill2154d agoMITA47Claude Code
Changelog Test MapperPramodDutta/qaskillsSkill2531mo agoMITA28Claude Code, Codex
odh-llm-d-releaseopendatahub-io/ai-helpersSkill404d agoApache-2.0A124Claude Code
pr-jira-linkeropendatahub-io/ai-helpersSkill404d agoApache-2.0A77Claude Code
gist-uploadopendatahub-io/ai-helpersSkill404d agoApache-2.0A29Claude Code