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 skills add latestaiagents/agent-skills --skill merge-conflict-surgeongit clone --depth 1 https://github.com/latestaiagents/agent-skillsWrote 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/skills/latestaiagents/agent-skills/merge-conflict-surgeon)<a href="https://agentmods.dev/skills/latestaiagents/agent-skills/merge-conflict-surgeon"><img src="https://agentmods.dev/badge/skills/latestaiagents/agent-skills/merge-conflict-surgeon/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.
<a href="https://agentmods.dev/skills/latestaiagents/agent-skills/merge-conflict-surgeon"><img src="https://agentmods.dev/badge/skills/latestaiagents/agent-skills/merge-conflict-surgeon.svg" alt="Reviewed on agentmods" width="80" 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.00071 | $0.01033 |
| Opus 5.5 | $0.00028 | $0.00413 |
| Sonnet 5.5 | $0.00014 | $0.00207 |
| Haiku 4.5 | $0.00007 | $0.00103 |
Grade A, and why
merge-conflict-surgeon 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 165 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Merge Conflict Surgeon
Resolve Git merge conflicts systematically and safely.
When to Use
git mergeorgit rebasefails with conflicts- You see conflict markers (
<<<<<<<,=======,>>>>>>>) in files git statusshows "both modified" files- Merging feature branches into main/develop
- Rebasing a branch onto updated main
Workflow
Step 1: Assess the Damage
# See all conflicted files
git status
# See the full diff of conflicts
git diff --name-only --diff-filter=U
List all conflicted files and categorize them:
- Simple conflicts: Same file, different lines (auto-resolvable logic)
- Overlap conflicts: Same lines modified differently (needs human decision)
- Delete/modify conflicts: One side deleted, other modified
Step 2: Understand Both Sides
For each conflicted file, understand:
# See what YOUR branch changed
git diff HEAD~1 -- <file>
# See what the OTHER branch changed
git diff MERGE_HEAD~1 -- <file>
# See common ancestor
git show :1:<file> # Base version
git show :2:<file> # Ours (current branch)
git show :3:<file> # Theirs (merging branch)
Step 3: Resolve Strategically
For simple conflicts (different functionality):
- Keep both changes, ensure they don't break each other
- Run the code mentally or actually to verify
For overlapping conflicts (same code, different changes):
- Understand the INTENT of each change
- Determine which achieves the goal better
- Sometimes combine logic from both
- Never blindly pick "ours" or "theirs"
For delete/modify conflicts:
- If deleted intentionally (refactoring), ensure the modification isn't needed
- If deleted accidentally, restore and apply modification
Step 4: Validate Resolution
# Mark as resolved
git add <resolved-file>
# Verify no remaining conflicts
git diff --check
# Run tests before completing
npm test # or your test command
# Complete the merge
git commit # or git rebase --continue
Resolution Patterns
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.
- 3mo ago First seen · 165 lines · 71 tokens per session scan A 479cd09343d1
merge-conflict-surgeon is a skill published in the GitHub repository latestaiagents/agent-skills (6 stars, last pushed 28d ago), licensed MIT. It adds 71 tokens to every session and 1,033 once invoked, about $0.0003 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-31.
merge-conflict-surgeon compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| merge-conflict-surgeonlatestaiagents/agent-skills | Skill | 6 | 28d ago | MIT | A | 71 | Claude Code |
| agentic-jujutsuruvnet/ruflo | Skill | 83k | today | MIT | A | 26 | Claude Code |
| agent-release-swarmruvnet/ruflo | Skill | 83k | today | MIT | A | 19 | Claude Code |
| github-automationruvnet/ruflo | Skill | 83k | today | MIT | A | 61 | Claude Code |
| upgrading-core-dependenciesJetBrains/thinkrail | Skill | 8.5k | today | Apache-2.0 | A | 59 | Claude Code, Codex |
| reviewing-a-prJetBrains/thinkrail | Skill | 8.5k | today | Apache-2.0 | A | 56 | Claude Code, Codex |
| about-thinkrailJetBrains/thinkrail | Skill | 8.5k | today | Apache-2.0 | A | 153 | Claude Code, Codex |