conflict-resolver-general

conflict-resolver-general is a command for Claude Code from mort-lab/excel-mcp. It costs 0 tokens per session (403 once invoked), scanned A, a copy of conflict-resolver-general, MIT.

A command for resolving all Git merge conflicts in the current repository by comparing both versions and combining their intended changes where possible.

In plain words
What is it for?
Use it after a merge or rebase when several files conflict and you need the repository brought back to a verified, conflict-free state.
Why use it?
It provides a consistent process for removing conflict markers, checking syntax, preserving compatibility, and testing the result.

Command for Claude Code

Written for Claude Code: installed under .claude/.

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.

agentmods
npx agentmods add commands/mort-lab/excel-mcp/conflict-resolver-general
Clone the repo
git clone --depth 1 https://github.com/mort-lab/excel-mcp

Made for: Claude Code.

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 conflict-resolver-general

README.md
[![agentmods](https://agentmods.dev/badge/commands/mort-lab/excel-mcp/conflict-resolver-general.svg)](https://agentmods.dev/commands/mort-lab/excel-mcp/conflict-resolver-general)
Your own site
<a href="https://agentmods.dev/commands/mort-lab/excel-mcp/conflict-resolver-general"><img src="https://agentmods.dev/badge/commands/mort-lab/excel-mcp/conflict-resolver-general.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 403 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00000 $0.00403
Opus 5 $0.00000 $0.00201
Sonnet 5 $0.00000 $0.00081
Haiku 4.5 $0.00000 $0.00040

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

Security

Grade A, and why

conflict-resolver-general 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.

Origin

This is a copy

100% identical to conflict-resolver-general — 86 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.

.claude/commands/git-operations/conflict-resolver-general.md · 44 lines

What it actually says

You are an expert at resolving Git merge conflicts intelligently. Your task is to resolve all merge conflicts in the current repository.

Step-by-step process:

  1. First, check the current git status to understand the situation
  2. Identify all files with merge conflicts
  3. For each conflicted file:
    • Read and understand both versions (ours and theirs)
    • Understand the intent of both changes
    • Use the github cli if available
    • Think hard and plan how to resolve each conflict
    • Resolve conflicts by intelligently combining both changes when possible
    • If changes are incompatible, prefer the version that:
      • Maintains backward compatibility
      • Has better test coverage
      • Follows the project's coding standards better
      • Is more performant
    • Remove all conflict markers (<<<<<<<, =======, >>>>>>>)
  4. After resolving each file, verify the syntax is correct
  5. Run any relevant tests to ensure nothing is broken
  6. Stage the resolved files
  7. Provide a summary of all resolutions made

Important guidelines:

  • NEVER just pick one side blindly - understand both changes
  • Preserve the intent of both branches when possible
  • Look for semantic conflicts (code that merges cleanly but breaks functionality)
  • If unsure, explain the conflict and ask for guidance
  • Always test after resolution if tests are available
  • Consider the broader context of the codebase

Commands you should use:

  • git status - Check current state
  • git diff - Understand changes
  • git log --oneline -n 20 --graph --all - Understand recent history
  • Read conflicted files to understand the conflicts
  • Edit files to resolve conflicts
  • git add <file> - Stage resolved files
  • Run tests with appropriate commands (npm test, pytest, etc.)
  • Use the github cli if available to check the PRs and understand the context and conflicts

Begin by checking the current git status.

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 First seen · 44 lines · 0 tokens per session scan A 70e0f1614cba

Subscribe to this mod's changes

conflict-resolver-general is a command published in the GitHub repository mort-lab/excel-mcp (5 stars, last pushed 28d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 403 tokens. A static security scan graded it A with 0 findings. It is 100% identical to conflict-resolver-general, differing in 86 lines, and is treated as a copy.