kb-conflict-resolve

kb-conflict-resolve is a skill for Claude Code, Codex from BeppeTemp/cartographer. It costs 21 tokens per session (753 once invoked), scanned A, original, Apache-2.0.

A procedure for resolving Git rebase conflicts in degraded Cartographer knowledge-base concepts. A rebase combines local and remote changes, while a conflict means Git cannot decide which version to keep.

In plain words
What is it for?
Use it after a pull or synchronization reports conflicts, to list affected concepts, read their current versions, resolve files, and clear the recorded conflict state.
Why use it?
It provides a defined way to find every open conflict, compare local and remote versions, and return the knowledge base to an operational state.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it after a pull or synchronization reports conflicts, to list affected concepts, read their current versions, resolve files, and clear the recorded conflict state.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/beppetemp/cartographer/kb-conflict-resolve
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 BeppeTemp/cartographer --skill kb-conflict-resolve
Clone the repo
git clone --depth 1 https://github.com/BeppeTemp/cartographer

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 kb-conflict-resolve

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/beppetemp/cartographer/kb-conflict-resolve"><img src="https://agentmods.dev/badge/skills/beppetemp/cartographer/kb-conflict-resolve.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 753 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.00021 $0.00753
Opus 5 $0.00010 $0.00377
Sonnet 5 $0.00004 $0.00151
Haiku 4.5 $0.00002 $0.00075

Measured 10d ago against content hash a812eaddd8da, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

kb-conflict-resolve 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 10d 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.

internal/skillbundle/bundled/kb-conflict-resolve/SKILL.md · 77 lines

How it starts

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

KB Conflict Resolve — Skill

Purpose

When a git pull --rebase conflicts with a remote commit, Cartographer registers the conflict and marks the affected concepts as status: degraded. This skill walks the agent through resolving each conflict so the KB returns to a fully operational state.

When to run this skill

Write operations fail with a message such as "git conflict detected and registered on N concept(s)", or conflicts_list returns a non-empty list. (At operator level, sync_check also reports open_conflicts > 0 — it is not advertised to agents under the default "agent" tools profile.)

Procedure

1. List open conflicts

Call conflicts_list (no arguments). It returns a JSON array of conflict records, each with:

  • concept_id — the ConceptID of the degraded concept (e.g. shared/notes/c)
  • local_sha — the local HEAD SHA before the rebase was attempted
  • remote_sha — the remote tip SHA after fetch
  • branch — the branch name (e.g. main)
  • files — all git paths involved in the same rebase conflict
  • detected_at — ISO-8601 timestamp of detection

2. Read the current (local) version

For each conflicting concept, call concept_read with its concept_id.

The content reflects the local state after the rebase was aborted — Cartographer resets to the remote state and adds status: degraded to the frontmatter. The local_sha field in the conflict record tells you what the pre-conflict local version was (use git show <local_sha> at operator level if you need to compare the two versions directly).

3. Decide the reconciled content

Compare the current (local/remote) content with your original intent. Produce the authoritative reconciled version:

  • Merge any non-conflicting additions from both sides.
  • Resolve factual discrepancies explicitly (do not silently discard either side).
  • Remove status: degraded from the frontmatter.

4. Write the reconciled concept

Call concept_write with:

  • id: the concept_id from the conflict record
  • frontmatter: the reconciled frontmatter without status: degraded
  • body: the reconciled markdown body

Read the full file on GitHub · 77 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. 10d ago First seen · 77 lines · 21 tokens per session scan A a812eaddd8da

Subscribe to this mod's changes

kb-conflict-resolve is a skill published in the GitHub repository BeppeTemp/cartographer (17 stars, last pushed yesterday), licensed Apache-2.0. It adds 21 tokens to every session and 753 once invoked, about $0.0001 per session on Opus 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-30.

Related

Other skills, from other repositories

resolving-merge-conflicts

Use when a git merge or rebase reports conflicts and the operation is in progress.

romiluz13/cc10x · 25 tokens

merge-conflict-resolution

Active merge conflicts. Use when an in-progress merge, rebase, cherry-pick, or revert has conflicted hunks that require intent reconstruction, resolution, proof, and continuation.

Dankosik/go-service-template-rest · 42 tokens

github

Use when interacting with GitHub repositories, authentication, remotes, pushes, or repository creation through the GitHub CLI and related git workflows.

the-open-agent/openagent · 30 tokens

comet-github-issue-fix

A workflow for fixing a confirmed Comet-related GitHub issue or review blocker within an isolated scope. It covers matching the work to the relevant workflow, testing the change, checking runtime results, and preparing a careful handoff.

rpamis/comet · 71 tokens

report-issue-local

File a bug or feature request against this MCP server's own repo. Use for server-specific issues — tool logic, service integrations, config problems, or domain bugs that aren't caused by the framework.

cyanheads/obsidian-mcp-server · 44 tokens

auto-repo-setup

Diagnose, repair, and standardize repository setup and safe Git workflows for Claude Code or Codex. Use when a repository will not run, a collaborator is onboarding, dependencies or credentials are missing, the user wants startup sync, SessionStart output is duplicated, project instructions or hooks need auditing, or…

daymade/claude-code-skills · 112 tokens