resolving-merge-conflicts

resolving-merge-conflicts is a skill for Claude Code, Codex from znlgis/my-opencode-deepseek-config. It costs 54 tokens per session (439 once invoked), scanned A, original, MIT.

A guide for resolving Git merge and rebase conflicts by checking why each change was made before combining it.

In plain words
What is it for?
Use it to inspect conflict state, trace commits and related issues, resolve each conflict, run project checks, and finish the merge or rebase.
Why use it?
It reduces the risk of silently losing useful work or inventing behavior while fixing conflicting edits.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit Use it to inspect conflict state, trace commits and related issues, resolve each conflict, run project checks, and finish the merge or rebase.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/znlgis/my-opencode-deepseek-config/resolving-merge-conflicts"><img src="https://agentmods.dev/badge/skills/znlgis/my-opencode-deepseek-config/resolving-merge-conflicts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 439 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 pass 7 Sept 2026
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.00054 $0.00439
Opus 5 $0.00027 $0.00219
Sonnet 5 $0.00011 $0.00088
Haiku 4.5 $0.00005 $0.00044

Measured 6d ago against content hash 048803cfdc9d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

resolving-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 6d 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.

opencode/skills/resolving-merge-conflicts/SKILL.md · 26 lines

What it actually says

Resolving Merge Conflicts

When facing an in-progress git merge or rebase with conflicts:

  1. See the current state. Check git status, git log --oneline --merge, and the conflicting files with git diff --diff-filter=U.

  2. Find the primary sources for each conflict. Understand why each change was made and its original intent. Read commit messages, check related PRs (use gh-cli skill), and trace back to 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. Never invent new behavior — you are resolving, not refactoring. Always resolve; never git merge --abort or git rebase --abort.

  4. Run automated checks. Discover the project's verification commands from package.json scripts, Makefile, or AGENTS.md. Run typecheck, tests, then format. Fix anything the merge broke.

  5. Finish. Stage the resolved files by explicit path (git add <path1> <path2>, or git add -u for tracked files only — never git add . or git add <dir>, per AGENTS.md Git Safety), commit (git commit without -m — review the auto-generated merge message), or if rebasing, git rebase --continue until all commits are rebased.

Rules

  • Conflict resolution is archaeology: understand the intent behind each side before touching code.
  • Do not use --abort to escape — it discards both sides' work.
  • If the same conflict pattern appears across multiple files, resolve them consistently.
  • After resolution, the build must pass. If tests fail, the resolution broke something.
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. 6d ago Changed 048803cfdc9d
  2. 10d ago First seen · 26 lines · 54 tokens per session scan A 35c2d2b8d1ea

Subscribe to this mod's changes

resolving-merge-conflicts is a skill published in the GitHub repository znlgis/my-opencode-deepseek-config (57 stars, last pushed yesterday), licensed MIT. It adds 54 tokens to every session and 439 once invoked, about $0.0003 per session on Opus 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.