reconcile

reconcile is a skill for Claude Code, Codex from conorbronsdon/agent-workspace. It costs 38 tokens per session (1,030 once invoked), scanned A, original, MIT.

A read-only check for inconsistencies between parallel agent sessions, state files, recent commits, and file changes. It is intended for repositories where several work sessions may alter related work.

In plain words
What is it for?
Use it after merging worktree branches, after a crash, or when files and task state no longer seem to agree.
Why use it?
It helps reveal when sessions have drifted apart or created conflicts after parallel work, a merge, or a crash. Proposed fixes are not applied automatically.

Skill for Claude CodeCodex

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

Good fit Use it after merging worktree branches, after a crash, or when files and task state no longer seem to agree.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/conorbronsdon/agent-workspace/reconcile
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 conorbronsdon/agent-workspace --skill reconcile
Clone the repo
git clone --depth 1 https://github.com/conorbronsdon/agent-workspace

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 reconcile

README.md
[![agentmods](https://agentmods.dev/badge/skills/conorbronsdon/agent-workspace/reconcile.svg)](https://agentmods.dev/skills/conorbronsdon/agent-workspace/reconcile)
Your own site
<a href="https://agentmods.dev/skills/conorbronsdon/agent-workspace/reconcile"><img src="https://agentmods.dev/badge/skills/conorbronsdon/agent-workspace/reconcile.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,030 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.00038 $0.01030
Opus 5 $0.00019 $0.00515
Sonnet 5 $0.00008 $0.00206
Haiku 4.5 $0.00004 $0.00103

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

Security

Grade A, and why

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

skills/reconcile/SKILL.md · 125 lines

How it starts

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

/reconcile — Multi-Session Drift Check

When multiple agent sessions run in parallel (especially with worktrees), files drift out of sync. This skill scans for inconsistencies and proposes fixes.

Invocation: deliberately model-invocable — the scan is read-only and auto-triggering on a drift smell is the point. Anything that changes files is proposed, never applied.

Configuration

Read the optional workspace.yaml at the project root for where state lives. Below, <state_dir> and <task_file> are its resolved values; defaults are state/ and TODO.md. Full reference: docs/state-model.md.

When to Use

  • After merging worktree branches back to the default branch
  • When something "feels off" after parallel work
  • After a crash where multiple sessions were open
  • As a periodic sanity check during heavy parallel workflows

Instructions

0. Detect the default branch

git rev-parse --git-dir >/dev/null 2>&1 || { echo "not a git repository — nothing to reconcile"; exit 0; }
DEFAULT=$(git symbolic-ref --short refs/remotes/origin/HEAD 2>/dev/null | sed 's|^origin/||')
DEFAULT=${DEFAULT:-$(git remote show origin 2>/dev/null | sed -n 's/.*HEAD branch: //p')}
DEFAULT=${DEFAULT:-main}   # no remote configured — fall back and say so in the report

1. Scan recent commit history across all branches

git log --all --oneline --since="24 hours ago" --graph

Look for:

  • Multiple branches touching the same files
  • Commits on branches that haven't been merged
  • Conflicting changes (same file modified differently on different branches)

2. Check for file-level conflicts

For each file modified on multiple branches, diff the versions:

git diff "$DEFAULT"..<branch> -- <file>

Flag files where:

  • Both branches modified the same lines (merge conflict risk)
  • One branch deleted what another modified
  • Timestamps or "Last Updated" fields diverged

3. Check state file consistency

For the project's state files under <state_dir> (priorities, decision log, session logs) and any task file (<task_file>), check:

Read the full file on GitHub · 125 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. 7d ago First seen · 125 lines · 38 tokens per session scan A 0e8bd9cc5c44

Subscribe to this mod's changes

reconcile is a skill published in the GitHub repository conorbronsdon/agent-workspace (2 stars, last pushed 1mo ago), licensed MIT. It adds 38 tokens to every session and 1,030 once invoked, about $0.0002 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

git-workflow

A guide for handling Git repository work safely, including status checks, branches, commits, pushes, pull requests, and rebasing. Git is a version-control system that records code changes and coordinates work between developers.

laolaoshiren/claude-code-skills-zh · 73 tokens

changelog-gen

A changelog generator that turns Git history into a version-by-version record of project changes. A changelog is a readable summary of new features, fixes, breaking changes, documentation, and other updates.

laolaoshiren/claude-code-skills-zh · 19 tokens

resolve-pr-comments

Evaluate, fix, answer, and reply to GitHub pull request review comments and conversation comments. Handles both change requests (fix or skip) and reviewer questions (explain using reasoning recalled from past Claude Code transcripts). Use when the user asks to "resolve PR comments", "fix review comments", "address PR…

tobihagemann/turbo · 95 tokens

create-pr

Create a GitHub pull request with a drafted title and description. Use when the user asks to "create a PR", "create a pull request", "open a PR", or "submit a PR".

tobihagemann/turbo · 44 tokens

update-pr

Update an existing GitHub pull request's title and description to reflect the current state of the branch. Use when the user asks to "update the PR", "update PR description", "update PR title", "refresh PR description", or "sync PR with changes".

tobihagemann/turbo · 56 tokens

changelog-rules

Shared changelog conventions and formatting rules referenced by /create-changelog and /update-changelog. Not typically invoked directly.

tobihagemann/turbo · 29 tokens