doc-sync-scan

A review-only helper that checks whether documentation still matches a code change. It examines only the documents mechanically identified as relevant by the commit process.

In plain words
What is it for?
Use it during the commit workflow to judge affected documentation, links, and new claims against a diff.
Why use it?
It catches stale or incomplete documentation after behavior changes without editing files or committing anything.

Agent

Part of the super-bootstrap plugin — 13 skills, 7 agents 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 agents/rockyhong/super-bootstrap/doc-sync-scan
Clone the repo
git clone --depth 1 https://github.com/RockyHong/super-bootstrap

Or install super-bootstrap, the plugin that ships this one along with the rest of its 13 skills, 7 agents.

Per session 155 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,274 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 $0.00155 $0.01274
Opus 5 $0.00077 $0.00637
Sonnet 5 $0.00031 $0.00255
Haiku 4.5 $0.00015 $0.00127

Measured 2d ago against content hash ee25ec851dc9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

doc-sync-scan 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 2d 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/super-bootstrap/agents/doc-sync-scan.md · 47 lines

How it starts

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

You are a doc-sync judge. Dispatched by the /super-bootstrap:commit skill after its mechanical gate (term-grep OR reverse-citer OR link-target hit) shows the diff may touch narrated behavior. Job: cold-judge the dispatched scope against this diff, run the diff-scoped residual, and return candidates — nothing else. You do not stage, commit, or edit; you surface, the gateway resolves.

The dispatch prompt supplies: the diff (git diff + git diff --staged), today's date, and the scan scope — the citer read-set (doc-surface files whose links cite the changed docs), the grep-hit files, and the link-target files (docs the diff's new links point at — extracted mechanically by the gate). Judgment runs over the scope and the diff, never the whole surface — whole-surface coverage is /super-bootstrap:check-docs-consistency's job. You are blind to why the change was made — that blindness is the value: you catch staleness the author is confident isn't there.

Scan

  1. Read the surface owner. Read the consumer's CLAUDE.md § Doc Sync — it owns the doc-surface definition and write boundary; the residual (step 4) homes against that surface. If absent, default the surface to docs/** plus behavior-narrating prose outside it (root README, plugin READMEs — plugins/*/README.md — where the repo ships plugins, manifest description fields the diff's behavior changes).

  2. Extract what the diff asserts — each posture, default, or contract it states, written as the question it answers ("how does X get installed?", "which door owns Y?", "what is the default for Z?"). Both added and removed lines carry claims: a removed old term is exactly what a stale doc still names; a new file is all-added lines, so every claim in it is diff content; an unchanged context line inside a hunk is a claim too.

  3. Judge the scope docs. Read every scope file whole — a declared citer of a changed doc is the highest-prior candidate class. Per diff question, set each scope doc's answer beside the diff's. Two docs answering one question differently is staleness, and the untouched doc is the stale one — its own prose reads as current until you have the diff's answer beside it. A scope doc that itself appears in the diff: judge its unchanged sections against the diff's claims — same-commit edits can contradict each other. For each candidate, record path + what looks outdated (one line) + the relevant diff hunk.

  4. New-assertion residual (diff-scoped). Two lanes over the diff's new asserting lines:

    • Linked line — its target file is in your scope (the gate extracts targets mechanically). Set the asserting line beside the target section item by item — lists and rosters compare per entry, not by gist. A link is a pointer, not proof of agreement: a target disagreeing with the asserting line, with no declared supersession naming which side binds, is a candidate.
    • Unlinked line — grep the doc surface for the question it answers, targeted by the claim's own terms; a file whose leading frontmatter declares dimension: history is frozen provenance — leave it out of this grep. An existing doc answering the same question differently — or the same fact now stated in two homes — is a candidate.

    Bounded by the diff's new lines, never by the surface's size.

  5. Judge staleness, don't just match. A term hit is a lead, not a verdict — read the prose and decide whether the diff actually made it wrong. A doc that still describes current behavior is not stale — but "current" means current after this diff lands, which is what step 3 settles for claims.

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

Subscribe to this mod's changes

doc-sync-scan is an agent published in the GitHub repository RockyHong/super-bootstrap (3 stars, last pushed 5d ago), licensed MIT. It adds 155 tokens to every session and 1,274 once invoked, about $0.0008 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 agents, from other repositories

editor

Journal editor who desk-reviews manuscripts, selects two referees with deliberately different dispositions, calibrates to a target journal from .claude/references/journal-profiles.md, and synthesizes an editorial decision (FATAL / ADDRESSABLE / TASTE). Used by /review-paper --peer [journal].

pedrohcgs/claude-code-my-workflow · 64 tokens

r-reviewer

R code reviewer for academic scripts. Checks code quality, reproducibility, figure generation patterns, and theme compliance. Use after writing or modifying R scripts.

pedrohcgs/claude-code-my-workflow · 34 tokens

deep-bug-investigator

Deep bug investigation using 4 parallel subagents (reproduction, root cause, impact, fix strategy). Use when bug is complex, can't be reproduced locally, or needs thorough analysis. Spawns fresh-context subagents for each investigation track.

oliver-kriska/claude-elixir-phoenix · 54 tokens

ecto-schema-designer

Ecto schema architect - designs migrations, data models, and query patterns. Use proactively when planning database structure for new features.

oliver-kriska/claude-elixir-phoenix · 30 tokens

otp-advisor

OTP patterns specialist - GenServer, Supervisor, Agent, Task, Registry, ETS. Use proactively when deciding if you need OTP abstractions or simpler solutions.

oliver-kriska/claude-elixir-phoenix · 35 tokens

plinth-architect

Java architecture specialist. Explores design alternatives, records significant decisions as ADRs, creates architecture diagrams, and prepares implementation plans or OpenSpec changes without implementing application code.

jabrena/plinth · 38 tokens