obsidian-reconcile

obsidian-reconcile is a command for Claude Code from eugeniughelbur/obsidian-second-brain. It costs 14 tokens per session (1,028 once invoked), scanned A, original, MIT.

A command for finding conflicting or outdated facts in an Obsidian vault, which is a folder of linked notes. It compares claims, entities, decisions, and source dates to identify information that does not agree.

In plain words
What is it for?
Reconciling notes about concepts, projects, people, companies, decisions, and source freshness. It can focus on a topic or scan the whole vault.
Why use it?
A knowledge vault can contain newer notes that contradict older ones without clearly replacing them. This helps locate those conflicts so the vault's information can be corrected.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions subagents.

Part of the obsidian-second-brain plugin — 1 skill, 47 commands, 3 hooks shipped together

Good fit Reconciling notes about concepts, projects, people, companies, decisions, and source freshness. It can focus on a topic or scan the whole vault.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/eugeniughelbur/obsidian-second-brain/obsidian-reconcile
About the project

obsidian-second-brain turns an Obsidian vault into persistent, searchable memory for Claude Code and other command-line coding agents, storing knowledge as linked Markdown notes. It is for developers, founders, writers, and researchers who want agents to retain project context across sessions. Its catalogue entries provide commands, hooks, a plugin, a skill, and instructions for capturing, finding, and maintaining that memory.

eugeniughelbur/obsidian-second-brain · 4,392 stars · on GitHub · eugeniughelbur.github.io

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/eugeniughelbur/obsidian-second-brain

Made for: Claude Code.

Or install obsidian-second-brain, the plugin that ships this one along with the rest of its 1 skill, 47 commands, 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 obsidian-reconcile

README.md
[![agentmods](https://agentmods.dev/badge/commands/eugeniughelbur/obsidian-second-brain/obsidian-reconcile/github.svg)](https://agentmods.dev/commands/eugeniughelbur/obsidian-second-brain/obsidian-reconcile)
Your own site
<a href="https://agentmods.dev/commands/eugeniughelbur/obsidian-second-brain/obsidian-reconcile"><img src="https://agentmods.dev/badge/commands/eugeniughelbur/obsidian-second-brain/obsidian-reconcile/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 obsidian-reconcile

Your own site · 80×15
<a href="https://agentmods.dev/commands/eugeniughelbur/obsidian-second-brain/obsidian-reconcile"><img src="https://agentmods.dev/badge/commands/eugeniughelbur/obsidian-second-brain/obsidian-reconcile.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,028 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.00014 $0.01028
Opus 5 $0.00007 $0.00514
Sonnet 5 $0.00003 $0.00206
Haiku 4.5 $0.00001 $0.00103

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

Security

Grade A, and why

obsidian-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 11d 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.

commands/obsidian-reconcile.md · 50 lines

What it actually says

Use the obsidian-second-brain skill. Execute /obsidian-reconcile $ARGUMENTS:

The optional argument is a topic or entity to focus on. If not provided, scan the whole vault.

  1. Read _CLAUDE.md first if it exists in the vault root

  2. Read index.md to understand the full vault landscape

  3. Spawn parallel subagents to find contradictions:

    • Claims agent: scan the concepts and projects folders (resolved per references/folder-map.md) for factual claims - find pairs that contradict each other
    • Entity agent: scan the entities folder (resolved per references/folder-map.md) for outdated roles, companies, or descriptions that conflict with newer sources
    • Decisions agent: scan the decisions folder (resolved per references/folder-map.md) and project Key Decisions for reversed or superseded decisions that were never updated
    • Source freshness agent: compare raw/ source dates against wiki/ page dates - flag wiki pages that reference old sources when newer ones exist on the same topic
  4. For each contradiction found, evaluate:

    • Which source is newer? (date comparison)
    • Which source is more authoritative? (peer-reviewed > blog post > transcript > opinion)
    • Is this a genuine contradiction or an evolution? (someone changing their mind is not a contradiction - it's growth)
  5. Resolve each contradiction:

    • Clear winner: rewrite the outdated page with current info. Add a ## History section noting what changed and why: "Previously stated X (source: raw/articles/old-article.md, 2025-11-01). Updated to Y based on newer evidence (source: raw/articles/new-article.md, 2026-03-15)."
    • Genuinely ambiguous: create Conflict - Topic.md in the decisions folder (resolved per references/folder-map.md; type: conflict, schema in references/ai-first-rules.md) documenting both sides, the evidence for each, and mark as status: open for the user to decide
    • Evolution: update the entity/concept page to reflect the current state and add the historical context
  6. After all resolutions:

    • Rebuild affected sections of index.md
    • Append to the operation log: if Logs/ exists write **HH:MM** - reconcile | X contradictions found, Y auto-resolved, Z flagged for user to Logs/YYYY-MM-DD.md; otherwise append ## [YYYY-MM-DD] reconcile | X contradictions found, Y auto-resolved, Z flagged for user to log.md
    • Update today's daily note with a reconciliation summary
  7. Report back:

    • Auto-resolved (list with old claim → new claim and why)
    • Flagged for user (genuinely ambiguous - needs human judgment)
    • Stale pages updated (pages rewritten with fresher sources)

The vault should never contain two pages that disagree without knowing they disagree. Contradictions are either resolved or explicitly documented as open questions.


AI-first rule: Every note created or updated by this command MUST follow references/ai-first-rules.md - ## For future agent preamble, rich frontmatter (type, date, tags, ai-first: true, plus type-specific fields), recency markers per external claim, mandatory [[wikilinks]] for every person/project/concept referenced, sources preserved verbatim with URLs inline, and confidence levels where applicable. If that path does not resolve from your working directory, search upward for it; if you still cannot read it, say so before writing rather than producing a note that silently skips the rule. The vault is for future agent retrieval - not human reading.

Anti-fabrication: Search exhaustively before claiming any note, person, or file is absent - false absence is the most common failure mode - and never invent facts, entities, or dates (mark unknowns as TBD). See the anti-fabrication and search-completeness hard rules in references/ai-first-rules.md.

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. 11d ago First seen · 50 lines · 14 tokens per session scan A 0e5cf7eacb01

Subscribe to this mod's changes

obsidian-reconcile is a command published in the GitHub repository eugeniughelbur/obsidian-second-brain (4,392 stars, last pushed 4d ago), licensed MIT. It adds 14 tokens to every session and 1,028 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.