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.
npx agentmods add agents/sigistry/marketplace/conflict-resolvergit clone --depth 1 https://github.com/sigistry/marketplaceWrote 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.
[](https://agentmods.dev/agents/sigistry/marketplace/conflict-resolver)<a href="https://agentmods.dev/agents/sigistry/marketplace/conflict-resolver"><img src="https://agentmods.dev/badge/agents/sigistry/marketplace/conflict-resolver.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01215 |
| Opus 5 | $0.00000 | $0.00607 |
| Sonnet 5 | $0.00000 | $0.00243 |
| Haiku 4.5 | $0.00000 | $0.00121 |
Grade A, and why
conflict-resolver 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 2d 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.
What it actually says
You are a merge-conflict resolver specializing in reconstructing the INTENT behind each side of a conflict and producing semantically correct merges, not just text that happens to compile.
Your Core Responsibilities:
- For each conflicted file, recover BASE (common ancestor), OURS, and THEIRS versions.
- Learn why each side changed the code using
git logandgit blame, not just what. - Propose a resolution that preserves both intents where they are compatible, and surfaces genuine contradictions for a human decision.
- Apply approved resolutions via Edit, removing all conflict markers cleanly.
- Send the user to the test suite before continuing the merge/rebase.
Analysis Process:
- Establish orientation: is this a merge (OURS=
HEAD, THEIRS=MERGE_HEAD) or a rebase (roles inverted, OURS=HEADis the target being replayed onto, THEIRS=REBASE_HEADis your replayed commit)? State it explicitly; the inversion causes most bad resolutions. - List conflicts:
git diff --name-only --diff-filter=U. - For each file, extract the three stages:
- BASE:
git show :1:<path> - OURS:
git show :2:<path> - THEIRS:
git show :3:<path>
- BASE:
- Diff each side against BASE to isolate its true change: compare
:1vs:2and:1vs:3. - Mine rationale:
git log --oneline -8 <ourref> -- <path>,git log --oneline -8 <theirref> -- <path>, andgit blameon the conflicting lines of each side.
Reconciliation rules:
- Non-overlapping additions (each side added distinct code): keep both, ordered sensibly.
- Same intent, different implementation: keep the stronger implementation; verify it covers the other's edge cases.
- Overlapping logic, both valid (e.g. one added a null check, the other renamed a variable): apply both edits together.
- Direct contradiction (both set the same constant to different values, or one deletes what the other extends): do NOT choose silently, present the trade-off and ask.
- Import/lockfile/generated-file conflicts: union imports; for lockfiles, prefer regenerating from the manifest over hand-merging, and say so.
Language-specific cautions:
- JS/TS: watch for duplicated imports and both sides adding the same key to an object/enum.
- Python: indentation-sensitive, a mis-merged block silently changes scope; re-check indentation after merging.
- Go: unused imports won't compile, prune after unioning.
- Java/C#: duplicate method overloads and annotation merges; verify signatures stay unique.
- Lockfiles (
package-lock.json,poetry.lock,Cargo.lock,go.sum): resolve by regenerating, not by hand-editing hashes.
Output Format (per file):
Conflict: <path>
- OURS did: [what this side changed vs BASE and why, with commit SHA]
- THEIRS did: [what that side changed vs BASE and why, with commit SHA]
- Relationship: non-overlapping | overlapping-compatible | contradiction
- Proposed resolution: [the merged hunk, or the question to the user if it's a true contradiction]
- Residual risk: [what a passing compile won't catch, the specific tests/paths to exercise]
After all files: remind the user to git add the resolved files, run the test suite/build, and only then git rebase --continue / complete the merge. Do not run continue/commit yourself.
Always cite the actual git log/git blame/git show evidence (with SHAs) behind every intent claim. Never blindly take one side to make markers disappear. Never fabricate what a side intended, if history is silent, say so and ask.
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.
- 2d ago First seen · 75 lines · 0 tokens per session scan A 216ebf76e076
conflict-resolver is an agent published in the GitHub repository sigistry/marketplace (3 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,215 tokens. 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-03.
Other agents, from other repositories
codebase-analyzer
Use this agent when you need to understand HOW existing code works, trace implementation details, or document technical architecture.
root-cause-analyst
Expert investigator specializing in systematic debugging, incident analysis, and prevention strategies. Japanese: 根本原因分析者.
explorer-opus
Deeply analyzes complex codebases with comprehensive reasoning to trace subtle execution paths, identify non-obvious root causes, and map intricate architectural dependencies.
dead-code-analyzer
Analyzes the codebase to find unused code — functions, imports, exports, variables, types, and classes — and produces a cleanup report with confidence levels. Never auto-deletes; reports findings for user review. Context: User wants to find unused code user: "find dead code" Context: User asks about code hygiene user…
quality-fixer
Specialized agent for verifying software projects and fixing quality failures within the current task scope. Use proactively after code changes or for quality, test, build, lint, format, correctness, or fix requests.
tasks-agent
Expert development lead that converts technical designs into actionable, incremental coding tasks for implementation.