wiki-reconcile

wiki-reconcile is a skill for Claude Code from yarlson/yarstack. It costs 52 tokens per session (695 once invoked), scanned A, original, MIT.

A review workflow for comparing pending Yarbrain memory candidates with the notes that are treated as current knowledge. It uses reviewable patches, meaning proposed changes can be checked before they are applied.

In plain words
What is it for?
Evaluating inbox candidates, combining compatible information, replacing outdated claims, separating context-specific information, recording unresolved conflicts, or creating a genuinely new note.
Why use it?
It helps prevent unverified claims, duplicates, and conflicting notes from becoming canonical knowledge. Existing notes are searched and read before anything new is created.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the yarbrain plugin — 6 skills, 3 hooks shipped together

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.

agentmods
npx agentmods add skills/yarlson/yarstack/wiki-reconcile
Any agent
npx skills add yarlson/yarstack --skill wiki-reconcile
Clone the repo
git clone --depth 1 https://github.com/yarlson/yarstack

Made for: Claude Code.

Or install yarbrain, the plugin that ships this one along with the rest of its 6 skills, 3 hooks.

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 wiki-reconcile

README.md
[![agentmods](https://agentmods.dev/badge/skills/yarlson/yarstack/wiki-reconcile.svg)](https://agentmods.dev/skills/yarlson/yarstack/wiki-reconcile)
Your own site
<a href="https://agentmods.dev/skills/yarlson/yarstack/wiki-reconcile"><img src="https://agentmods.dev/badge/skills/yarlson/yarstack/wiki-reconcile.svg" alt="Measured on agentmods" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 695 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00052 $0.00695
Opus 5 $0.00026 $0.00347
Sonnet 5 $0.00010 $0.00139
Haiku 4.5 $0.00005 $0.00069

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

Security

Grade A, and why

wiki-reconcile 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 5d 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.

plugins/yarbrain/skills/wiki-reconcile/SKILL.md · 68 lines

How it starts

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

Reconcile Wiki Knowledge

Maintain current understanding without erasing evidence. A candidate is a claim to evaluate, not a fact to append.

Search Before Write

Do not create a file under notes/ until all of these steps succeed:

  1. Resolve ../../scripts/yarbrain.py relative to this SKILL.md.
  2. Search by proposed title, entities, aliases, project, and distinctive phrases. Repeat searches and raise the result limit when five results cannot cover every plausible overlap.
  3. Read every plausible overlap with the helper's read command.
  4. Compare scope, dates, confidence, volatility, status, and provenance.

If search is unavailable or ambiguous, stop without changing canonical notes.

Reconcile

Choose exactly one operation:

  • NOOP when the current note already represents the candidate accurately.
  • MERGE when the candidate adds compatible evidence or detail.
  • SUPERSEDE when newer evidence replaces a time-sensitive claim.
  • SPLIT when different projects, environments, users, or versions explain an apparent contradiction.
  • CONFLICT when credible evidence disagrees and cannot yet be resolved.
  • CREATE only when no existing note represents the concept.

Draft a focused patch before editing canonical knowledge. Hash the UTF-8 string with SHA-256 and use proposal- as its ID and Markdown filename. Digest the UTF-8 proposal body, excluding its digest field, with SHA-256, then store it beside its candidate under inbox/memory/. Show the operation, every target, search evidence, source episodes, changed current understanding, history effect, and rollback steps. Store unresolved conflicts under inbox/conflicts/. If the current request does not authorize a vault write, show the draft without storing it.

Apply a patch only after explicit approval, including a request that clearly names the reviewed proposal ID and digest. Any proposal change invalidates that approval. For a multi-file change, require a working rollback mechanism and restore the pre-edit state after partial failure. Preserve old provenance and record corrected or superseded claims in History. A canonical note must contain id, kind, scope, status, created, updated, verified_at, volatility, aliases, and sources frontmatter plus Current understanding, Why, Edge cases, Evidence, and History sections when those sections have content.

Read the full file on GitHub · 68 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. 5d ago First seen · 68 lines · 52 tokens per session scan A fb9f63e2da35

Subscribe to this mod's changes

wiki-reconcile is a skill published in the GitHub repository yarlson/yarstack (3 stars, last pushed 2d ago), licensed MIT. It adds 52 tokens to every session and 695 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories