merge-coordinator

merge-coordinator is an agent for Claude Code from ivegamsft/basecoat. It costs 60 tokens per session (559 once invoked), scanned A, original, MIT.

An agent for combining several Git branches into one target branch in automated environments. A branch is a separate line of code changes, and a merge combines it with another branch.

In plain words
What is it for?
Use it to merge branches in dependency order, resolve only low-risk documentation or configuration conflicts, run deployment-readiness checks, and prepare a handoff for deployment.
Why use it?
It helps detect conflicts and merge changes without waiting for an interactive text editor, while leaving source-code conflicts for human review.

Agent for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; mentions Codex.

Good fit Use it to merge branches in dependency order, resolve only low-risk documentation or configuration conflicts, run deployment-readiness checks, and prepare a handoff for deployment.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ivegamsft/basecoat/basecoat-10-core-merge-coordinator
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.

Clone the repo
git clone --depth 1 https://github.com/ivegamsft/basecoat

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 merge-coordinator

README.md
[![agentmods](https://agentmods.dev/badge/agents/ivegamsft/basecoat/basecoat-10-core-merge-coordinator/github.svg)](https://agentmods.dev/agents/ivegamsft/basecoat/basecoat-10-core-merge-coordinator)
Your own site
<a href="https://agentmods.dev/agents/ivegamsft/basecoat/basecoat-10-core-merge-coordinator"><img src="https://agentmods.dev/badge/agents/ivegamsft/basecoat/basecoat-10-core-merge-coordinator/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 merge-coordinator

Your own site · 80×15
<a href="https://agentmods.dev/agents/ivegamsft/basecoat/basecoat-10-core-merge-coordinator"><img src="https://agentmods.dev/badge/agents/ivegamsft/basecoat/basecoat-10-core-merge-coordinator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 559 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.
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.00060 $0.00559
Opus 5.5 $0.00024 $0.00224
Sonnet 5.5 $0.00012 $0.00112
Haiku 4.5 $0.00006 $0.00056

Measured 2mo ago against content hash d9a3688f36fe, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

merge-coordinator 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 2mo 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.

agents/basecoat-10-core-merge-coordinator.agent.md · 72 lines

How it starts

The opening of the file, as written. The whole thing — 72 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Merge Coordinator Agent

Purpose: merge multiple branches safely in non-interactive environments.

Inputs

  • Target branch and candidate branches
  • Optional dependency order
  • Conflict-handling preferences for low-risk file types

⚠️ Critical: Never Use git rebase --continue

Avoid commands that open an editor. Use explicit messages, --no-edit, and non-interactive git settings.

Safe Merge Patterns

Prefer git merge --no-commit --no-ff for conflict detection. Use strategy flags only for low-risk docs or config conflicts, never for source code or dependency manifests.

Workflow

  1. Start from a clean fresh clone or clean worktree.
  2. Prepare a non-interactive git environment.
  3. Check divergence and merge branches in dependency order.
  4. Detect conflicts before commit.
  5. Auto-resolve only simple documentation or ignore-file conflicts.
  6. Escalate source-code conflicts for human review.
  7. Evaluate merge-time deployment readiness checks for the target environment.
  8. Emit a deployment handoff payload for the cloud deployment agent.
  9. Push safe merges and publish a clear report.

Extended Reference

Pairing contract with the cloud deploy agent, mandatory readiness checks, conflict-resolution strategy details, dependency-order merging, and the fresh-clone principle: see agents/references/merge-coordinator-detail.md.

GitHub Issue Filing

File issues for human-review conflicts, stale branches, broken post-merge tests, or unsafe manifest conflicts.

Output Format

Return branch-by-branch status, conflicts, actions taken, issues filed, skipped branches, final target state, and deployment handoff status (approved, blocked, deferred).

Model

Recommended: gpt-5.3-codex Rationale: Routine branch operations with well-defined steps — speed and cost matter most Minimum: gpt-5.4-mini

Governance

This agent operates under the BaseCoat governance framework.

  • Issue-first, PRs only, No secrets, Branch naming conventions
  • See instructions/basecoat-20-lang-governance.instructions.md for the full reference

Read the full file on GitHub · 72 lines

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. 2mo ago Changed · +18 tokens per session d9a3688f36fe
  2. 3mo ago Changed · -29 lines d01d34d93adf
  3. 3mo ago First seen · 101 lines · 42 tokens per session scan A 44406b44820c

Subscribe to this mod's changes

merge-coordinator is an agent published in the GitHub repository ivegamsft/basecoat (4 stars, last pushed 1mo ago), licensed MIT. It adds 60 tokens to every session and 559 once invoked, about $0.0002 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.

Related

merge-coordinator compared with agents from other repositories

merge-coordinator next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
merge-coordinatorivegamsft/basecoatAgent41mo agoMITA60Claude Code
pr-ghostwriterkomunite/kalfaAgent2457mo agoMITA81Claude Code
git-specialistfmflurry/settings-opencodeAgent17028d agoMITE62Claude Code
copilot-integrationweorbitant/claude-code-agentic-research-orchestratorAgent31y agoMITB53Claude Code
Historical Context Reviewernathanvale/side-quest-marketplace-oldAgent69mo agononeA18Claude Code
playwright-test-generatormicrosoft/playwrightAgent102ktodayApache-2.0A151Claude Code
.NET-Notebook-Migration-Agentmicrosoft/ai-agents-for-beginnersAgent82ktodayMITA33Claude Code