BotCurrent
← Back to examples

Data & analysisFrom the makerActs with your OK

Resolve code merge conflicts with a decision log

Merge conflicts get fixed fast and the reason gets lost. Your AI proposes a fix that keeps both goals and writes down why.

What happened

Nous Research's Hermes Agent guide shows it reading the changes on both branches and what each was meant to do. It sorts the conflicts, edits the clashing parts, checks behavior and writes down each merge decision. The guide says tied or missing goals go to a person, who can veto design choices.

Source: Hermes Agent · github.com · Tool: Hermes Agent

Copy this prompt

Paste it into ChatGPT, Claude or Gemini, fill in the [brackets] and add your files. It only drafts. You decide what to send or change.

Use it often? Save it as a skill

Add this job to Claude or Codex once, and your agent knows how to do it without you pasting the prompt each time. Text only, no code.

Download for Claude (.zip)View the skill file

How to add it
Claude app or claude.ai
Download the .zip. In Settings, find Skills, choose Upload skill and pick the file. Code execution has to be turned on.
Claude Code
Run this in your terminal:mkdir -p ~/.claude/skills/resolve-code-merge-conflicts-with-a-decision-log && curl -fsSL https://botcurrent.com/skills/resolve-code-merge-conflicts-with-a-decision-log/SKILL.md -o ~/.claude/skills/resolve-code-merge-conflicts-with-a-decision-log/SKILL.md
Codex
Run this in your terminal:mkdir -p ~/.agents/skills/resolve-code-merge-conflicts-with-a-decision-log && curl -fsSL https://botcurrent.com/skills/resolve-code-merge-conflicts-with-a-decision-log/SKILL.md -o ~/.agents/skills/resolve-code-merge-conflicts-with-a-decision-log/SKILL.md

More about skills, and open-source skills we checked

Security scanClear13 of 13 checks passed

We check every skill file before we offer it. This one is the prompt above in skill form.

  • Passed Skill file is well formed
  • Passed Runs its own code or programs
  • Passed Connects to the internet from code
  • Passed Touches passwords, keys or private files
  • Passed Deletes or overwrites things in bulk
  • Passed Hidden or scrambled code
  • Passed Tries to override your instructions
  • Passed Invisible characters in the text
  • Passed Sends your data somewhere else
  • Passed Can pay or buy without asking you
  • Passed Downloads or installs other software
  • Passed Has a password or key written into it
  • Passed Asks for admin (sudo) rights

Files scanned: SKILL.md. Links to: botcurrent.com, github.com. Fingerprint: f54e6f17da67. What we check

What you'll get

A proposed fix for each conflict, a note on how it keeps both goals and a list of tests to run.

You'll need

  • The conflicting code from both branches
  • One or two lines on what each change was meant to do
  • Your tests, or how you check the code works

Before you switch it on

Acts with your OK

If you give this job to an agent that works in your accounts:

Access it needs
Your code repository and a terminal
Keep on “ask me first”
Sending or posting anything, paying or buying, sharing your address or ID, deleting anything

Heads up: A clean build doesn't prove both changes still work. Run the tests for both goals before you merge.

More details: full instructions, sources and safeguards

Before you begin

Approve repository access, unresolved design choices and any push or shared-branch update.

Use this in your own AI tool

  1. Copy the starter, then open your own AI tool.
  2. Paste it with only the permitted inputs. Check privacy settings and tool compatibility first.
  3. Review the draft and held questions. Any later action needs separate approval.

What you need

Two authorized or fictional diffs with explicit expected behavior and stable revisions.

Owner-approved conflict scope, shared contracts and the person who resolves tied or missing intent.

A private decision-log format; no repository writes, execution, pushes or merges.

Start here

  1. Compare both supplied diffs and their stated intended behaviors.
  2. Classify conflicted regions, shared dependencies and choices needing human judgment.
  3. Outline intent-to-check mapping and unchanged-line verification before any edits, pushes or shared-branch updates.
Advanced prompt availability

Advanced prompt

No accepted companion is available for this record. The original material below retains its original status.

Technical setup & run design — optional
Starter
Separate short starter version composed-v1. Untested.
Advanced prompt
No accepted advanced companion is available. Legacy material remains in the original notes with its status.
Compatibility
Unknown; check the actual tool, account and permissions.
Run design
No reviewed run design. No runtime or schedule is activated by BotCurrent.
Setup and access

Proposed inputs

  1. Name

    Two fictional diffs

    Owner

    Maintainer

    Minimum scope

    One shared function plus short intent notes

    Quality check

    Both diffs use the same base revision.

  2. Name

    Expected behavior

    Owner

    Reviewer

    Minimum scope

    One assertion for each intended change

    Quality check

    Assertions cover behavior, not implementation spelling.

Access and setup — proposed or unknown

Proposed minimum
  1. Use a separate working copy and identify the person who can resolve uncertain inputs.

  2. Agree the allowed artifact and review boundary before implementation.

Compatibility unknowns
  1. Unknown: installed runtime, required tools, external service access and present-day compatibility.

External actions requiring approval
  1. Approve repository access, unresolved design choices and any push or shared-branch update.

Source evidence, attribution & limitations

Full source evidence

Official recipe · Tool workflows

Original task title: Reconcile conflicting agent changes with an explicit decision log

Editorial candidate. This is source-backed reporting or a documented workflow. BotCurrent has not independently tested this task. A proposed Canadian adaptation is not evidence of a Canadian deployment or compliance certification.

Original source

https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/autonomous-ai-agents/agent-merge-conflict-arbiter/SKILL.md

Attributed to: Hermes Agent

Official recipe
Original action type
tool_action
What the source reports
Reads both branch diffs and stated intents, classifies conflicts, edits conflicted regions, checks behavior and records each merge decision.
Source outcome limits
Recipe only. Build success does not by itself prove both intentions survived. No independent execution test.
Evidence attribution caveat
This official recipe describes a procedure; it does not prove successful execution or independently reproduced results.
Source approval description
Tied or missing intent is escalated. Design choices are exposed for human veto; a routine pre-commit approval gate is not stated.
Named tools
Hermes Agent; agent-merge-conflict-arbiter
Model or version
Skill 1.0.0; agent runtime/model unknown
Publication date
Unknown
Source last checked
2026-10-14
Demonstrated in Canada
Unknown
Canadian availability
Unknown
Proposed Canadian adaptation
Proposed: review local requirements and approved data scope before any use.
Recommended approval boundaries
Approve repository access, unresolved design choices and any push or shared-branch update.
Technical specification & detailed checks
Detailed steps and output format

At a glance

Suggested result
A reviewable merged patch, intent-to-check map and unresolved-decision list.Suggested; untested.
Tool
Hermes AgentSource-named; check current access.
Suggested inputs
Two fictional diffs; Expected behaviorProposed; access notes below.
Human review
Approve repository access, unresolved design choices and any push or shared-branch update.Suggested boundaries; source approvals below.
Setup notes
Use a separate working copy and identify the person who can resolve uncertain inputs. Agree the allowed artifact and review boundary before implementation.Guide notes; proposed setup untested.
Cost
Workflow cost not established. Check current tool pricing, setup and human review costs before trying it.No measured cost or time added.
Content depth
Source-linked example · suggestions untestedDepth does not establish successful execution.
Check source evidence and limits ↓

Function and scope

Software engineering · Single task

Editorial classification; no execution or compatibility test is implied.

No tool mapping reviewed for this task.

Source-backed example. Practical decision guidance is proposed and untested; this is not a full implementation guide.

The problem

Two useful code changes can collide, and accepting one side wholesale may silently discard the other.

Suggested task · untested

Prepare a reconciled change with an explicit explanation of every conflict decision.

What you could produce

A reviewable merged patch, intent-to-check map and unresolved-decision list.

Where these suggestions come from
  • Core problem: Our suggestion; no result reported by the source
  • Agent job: Our suggestion; no result reported by the source
  • Expected output: Our suggestion; no result reported by the source
  • Relevant job roles: Our suggestion; no result reported by the source
  • Benefit type: Our suggestion; no result reported by the source
Suggestions and their limits

Describes the proposed purpose and review output; measured benefit and successful delivery are not established.

Editorial synthesis based on the linked source. This framing does not add evidence of successful delivery or results.

Before you try it · suggestions untested

Original decision guidance and first check are proposals. The source supports the attributed task; this guidance has not been executed.

Read the attributed source evidence and original caveats below ↓

Why use this

  1. A merged file can compile while losing required behaviour.

  2. A decision log makes disputed changes easier to review.

Why an agent / simpler alternative

Useful judgment

Reconcile competing intentions without inventing requirements.

Simpler alternative

Use ordinary Git merging for nonconflicting edits.

Unsuitable when

Either change intention is unavailable.

Expected deliverable and review checks

Proposed artifact

A reviewable merged patch, intent-to-check map and unresolved-decision list.

Critical checks
  1. Account for both branch intentions.

  2. Keep unrelated lines unchanged.

  3. Show unresolved choices explicitly.

Missing output evidence

No finished output from an executed recipe was inspected.

First check — proposed, unexecuted

Status

proposed_unexecuted

Synthetic fixture

Two invented branches add input validation and audit logging to the same function; a second conflict contains incompatible timeout choices.

Acceptance checks
  1. Preserve validation and logging together.

  2. Leave the timeout decision unresolved.

  3. List each changed hunk and its reason.

Stop conditions
  1. Stop before repository writes if the base revision or intent is missing.

Tasks: Data & analysis

Useful for: General use

Editorial relevance from the title and source-supported actions; not evidence of the operator’s occupation.
Hermes AgentIndependent testing: No
Failure handling, costs and limits

Failure signals and proposed responses

  1. Signal

    One branch’s test disappears

    Why it matters

    The merge may erase a requirement.

    Proposed response

    Retain both tests and flag incompatible expectations.

  2. Signal

    Both sides change the same policy

    Why it matters

    Combining values can invent a third policy.

    Proposed response

    Ask the owner to select the intended rule.

Effort and cost — unknown

Setup work
  1. Prepare scoped inputs and an independent reviewer-owned answer key.

Ongoing review
  1. Recheck changed assumptions against the original acceptance checks.

Unknowns
  1. Unknown: setup effort, usage charges, review time and reliability; no savings established.

Limits

  1. This proposed offline check establishes neither live compatibility nor successful implementation.

Original task overview & interpretation

Official recipe

Reconcile conflicting agent changes with an explicit decision log

Two useful code changes can collide, and accepting one side wholesale may silently discard the other.

Suggested result

A reviewable merged patch, intent-to-check map and unresolved-decision list.

What you need: Source-named agent: Hermes Agent. Suggested inputs: Two fictional diffs; Expected behavior. Use a separate working copy and identify the person who can resolve uncertain inputs. Agree the allowed artifact and review boundary before implementation. Workflow costs and current compatibility remain unverified.

Approve repository access, unresolved design choices and any push or shared-branch update.

Official recipe. BotCurrent has not independently tested this workflow.