reconcile

reconcile is a command for Claude Code from dork-labs/dorkos. It costs 10 tokens per session (2,867 once invoked), scanned A, original, MIT.

A documentation-checking command that compares developer guides with recent code changes. Documentation drift means guides no longer describe how the code works.

In plain words
What is it for?
Use it to review one guide, one commit, a time range, all guides, or the guides affected since the last review.
Why use it?
It shows which guides may be outdated after commits or local changes, so developers do not rely on incorrect instructions.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; names the AskUserQuestion tool.

Not installable on its own: it runs a file from its repository that does not travel with it. Clone the repository, or install whatever ships that file. The line is printf '%s\n' "$CHANGED_FILES" | node .claude/scripts/docs-coverage-map.mjs --match.

Part of the flow plugin — 33 skills, 42 commands, 5 agents, 4 hooks, 5 plugins shipped together

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add dork-labs/dorkos
Claude Code
/plugin install flow

Made for: Claude Code.

Or install flow, the plugin that ships this one along with the rest of its 33 skills, 42 commands, 5 agents, 4 hooks, 5 plugins.

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/commands/dork-labs/dorkos/reconcile.svg)](https://agentmods.dev/commands/dork-labs/dorkos/reconcile)
Your own site
<a href="https://agentmods.dev/commands/dork-labs/dorkos/reconcile"><img src="https://agentmods.dev/badge/commands/dork-labs/dorkos/reconcile.svg" alt="Measured on agentmods" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,867 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.00010 $0.02867
Opus 5 $0.00005 $0.01434
Sonnet 5 $0.00002 $0.00573
Haiku 4.5 $0.00001 $0.00287

Measured 6d ago against content hash 87b3a4c73c12, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 6d 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.

.claude/commands/docs/reconcile.md · 381 lines

How it starts

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

Documentation Reconciliation

Check if developer guides are in sync with the codebase by analyzing recent commits against guide coverage areas.

Arguments

Parse $ARGUMENTS to determine the mode:

Argument Mode Description
<guide-name> Single guide Check one specific guide (e.g., data-fetching.md)
--commit <sha> Commit review Analyze a specific commit for documentation impact
--since <timeframe> Time range Check commits within a timeframe (e.g., 1 week, 3 days, 2024-12-01)
--all Full reconciliation Check all guides against their last-reviewed dates
(no args) Smart mode Check guides touched by uncommitted changes + commits since last session

Examples:

/docs:reconcile data-fetching.md               # Check specific guide
/docs:reconcile --commit abc123                # Analyze one commit
/docs:reconcile --since "1 week"               # Last week's commits
/docs:reconcile --since "2024-12-15"           # Since specific date
/docs:reconcile --all                          # Full reconciliation
/docs:reconcile                                # Smart mode (recommended)

Order of Operations

Phase 1: Parse Arguments and Determine Mode

MODE="smart"  # Default
TARGET=""

if [ -z "$ARGUMENTS" ]; then
  MODE="smart"
elif [[ "$ARGUMENTS" == "--all" ]]; then
  MODE="all"
elif [[ "$ARGUMENTS" == --commit* ]]; then
  MODE="commit"
  TARGET=$(echo "$ARGUMENTS" | sed 's/--commit //')
elif [[ "$ARGUMENTS" == --since* ]]; then
  MODE="since"
  TARGET=$(echo "$ARGUMENTS" | sed 's/--since //')
elif [[ "$ARGUMENTS" =~ \.md$ ]]; then
  MODE="guide"
  TARGET="$ARGUMENTS"
else
  # Assume it's a guide name without .md
  MODE="guide"
  TARGET="$ARGUMENTS.md"
fi

Read the full file on GitHub · 381 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. 6d ago First seen · 381 lines · 10 tokens per session scan A 87b3a4c73c12

Subscribe to this mod's changes

reconcile is a command published in the GitHub repository dork-labs/dorkos (9 stars, last pushed today), licensed MIT. It adds 10 tokens to every session and 2,867 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-31.