gitwand-mcp

gitwand-mcp is a skill for Claude Code, Codex from devlint/GitWand. It costs 0 tokens per session (574 once invoked), scanned A, original, MIT.

An MCP server that lets AI coding tools inspect and resolve Git merge conflicts with GitWand. MCP is a standard way for an AI agent to call external tools and read related resources.

In plain words
What is it for?
Use it with agents such as Claude Code, Cursor, or Windsurf to list conflicted files, resolve simple conflicts, preview results, explain difficult sections, and apply chosen fixes.
Why use it?
It brings conflict status, automatic resolution, previews, explanations, and custom resolutions into compatible AI agents.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Use it with agents such as Claude Code, Cursor, or Windsurf to list conflicted files, resolve simple conflicts, preview results, explain difficult sections, and apply chosen fixes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/devlint/gitwand/gitwand-mcp
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.

Any agent
npx skills add devlint/GitWand --skill gitwand-mcp
Clone the repo
git clone --depth 1 https://github.com/devlint/GitWand

Made for: Claude Code, Codex.

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 gitwand-mcp

README.md
[![agentmods](https://agentmods.dev/badge/skills/devlint/gitwand/gitwand-mcp/github.svg)](https://agentmods.dev/skills/devlint/gitwand/gitwand-mcp)
Your own site
<a href="https://agentmods.dev/skills/devlint/gitwand/gitwand-mcp"><img src="https://agentmods.dev/badge/skills/devlint/gitwand/gitwand-mcp/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 gitwand-mcp

Your own site · 80×15
<a href="https://agentmods.dev/skills/devlint/gitwand/gitwand-mcp"><img src="https://agentmods.dev/badge/skills/devlint/gitwand/gitwand-mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 574 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 8
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
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.00000 $0.00574
Opus 5.5 $0.00000 $0.00230
Sonnet 5.5 $0.00000 $0.00115
Haiku 4.5 $0.00000 $0.00057

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

Security

Grade A, and why

gitwand-mcp 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 1mo 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.

website/public/.well-known/agent-skills/gitwand-mcp/SKILL.md · 65 lines

How it starts

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

GitWand MCP Server

Use GitWand's MCP server to automatically resolve Git merge conflicts from any AI agent (Claude, Claude Code, Cursor, Windsurf, etc.).

Install

npx @gitwand/mcp

Or add to your MCP client config (Claude Desktop, Claude Code, etc.):

{
  "mcpServers": {
    "gitwand": {
      "command": "npx",
      "args": ["@gitwand/mcp"]
    }
  }
}

Tools

Tool Description
gitwand_status List conflicted files with complexity scores and auto-resolvability percentages
gitwand_resolve_conflicts Auto-resolve trivial conflicts. Returns DecisionTrace + pendingHunks for complex ones
gitwand_preview_merge Dry-run — assess resolvability without modifying files
gitwand_explain_hunk Explain why a specific hunk is complex (full DecisionTrace)
gitwand_apply_resolution Apply a custom resolution you provide to a specific hunk

Resources

URI Description
gitwand://repo/conflicts Live conflict state — files, counts, and auto-resolvability
gitwand://repo/policy Current .gitwandrc config (merge policies, confidence thresholds)
gitwand://hunk/{file}/{line} Raw ours/theirs/base content + confidence for a specific hunk
  1. gitwand_preview_merge — check what can be auto-resolved vs. needs attention
  2. gitwand_resolve_conflicts — auto-resolve trivial conflicts (writes files)
  3. For each hunk in pendingHunks:
    • gitwand_explain_hunk — understand why it's complex (DecisionTrace, ours/theirs/base)
    • Decide on resolution, then gitwand_apply_resolution to write it

Merge Policies

Pass policy to gitwand_resolve_conflicts:

  • prefer-theirs (default) — take the incoming branch's version when safe
  • prefer-ours — favour the current branch
  • prefer-merge — attempt a three-way merge
  • prefer-safety — only resolve with very high confidence
  • strict — resolve only non-overlapping / whitespace-only conflicts

Read the full file on GitHub · 65 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. 1mo ago First seen · 65 lines · 0 tokens per session scan A 103f15461aa8

Subscribe to this mod's changes

gitwand-mcp is a skill published in the GitHub repository devlint/GitWand (182 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 574 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-08-30.

Related

Other skills, from other repositories

hunk-launch-video

Produces Hunk videos by driving the real TUI headlessly in a PTY, compositing captioned 1080p frames in Chromium, and encoding with ffmpeg. Use for feature demos, workflow explainers, announcements, launch videos, and full-release roundups.

modem-dev/hunk · 60 tokens

hunk-release

Prepares, publishes, verifies, and curates Hunk releases. Use for release metadata, benchmarks, tags, publishing, release videos, backports, or recovery.

modem-dev/hunk · 38 tokens

git-machete

Use whenever invoking the git machete CLI to organize branch chains, compute fork points, run stacked rebases/merges, or manage GitHub/GitLab PR/MR chains - especially in a repo that already has a .git/machete file. Lists which subcommands modify .git/machete, run rebase/merge, run hooks, or read stdin, so the agent…

VirtusLab/git-machete · 165 tokens

merge

Absorb one or more feature branches into the base branch. Recommends merge vs rebase per branch. On conflict, aborts that branch + surfaces the file list + stops. Resolution out of scope; routes to the harness-named conflict-resolution agent or the user.

RockyHong/super-bootstrap · 57 tokens

tour

Tour is a local code-walkthrough CLI for AI agents. After finishing a task, the agent leaves line-anchored comments on a pinned git diff (a guided traversal) that a human steps through in a TUI or webapp. Activates when the user asks to "review this branch", "review this PR", "walk me through this diff", "leave…

a9a4k/tour · 167 tokens

github-pr-workflow

GitHub PR yaşam döngüsü — branch, commit, aç, CI izle, merge et.

furkangonel/cowrangler · 25 tokens