doc-sync-scan

doc-sync-scan is an agent for Claude Code from RockyHong/super-bootstrap. It costs 298 tokens per session (3,076 once invoked), scanned B, original, MIT.

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 for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions CLAUDE.md.

Part of the super-bootstrap plugin — 14 skills, 5 agents shipped together

Good fit Use it during the commit workflow to judge affected documentation, links, and new claims against a diff.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/rockyhong/super-bootstrap/doc-sync-scan
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/RockyHong/super-bootstrap

Made for: Claude Code.

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

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 doc-sync-scan

README.md
[![agentmods](https://agentmods.dev/badge/agents/rockyhong/super-bootstrap/doc-sync-scan/github.svg)](https://agentmods.dev/agents/rockyhong/super-bootstrap/doc-sync-scan)
Your own site
<a href="https://agentmods.dev/agents/rockyhong/super-bootstrap/doc-sync-scan"><img src="https://agentmods.dev/badge/agents/rockyhong/super-bootstrap/doc-sync-scan/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 doc-sync-scan

Your own site · 80×15
<a href="https://agentmods.dev/agents/rockyhong/super-bootstrap/doc-sync-scan"><img src="https://agentmods.dev/badge/agents/rockyhong/super-bootstrap/doc-sync-scan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 298 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,076 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00298 $0.03076
Opus 5.5 $0.00119 $0.01230
Sonnet 5.5 $0.00060 $0.00615
Haiku 4.5 $0.00030 $0.00308

Measured 16d ago against content hash 97a8c1e4e6e9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

doc-sync-scan scanned grade B with 1 finding 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 16d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

**Harness sweep** (after the questions exist). Step 1's boundary keeps harness read-only. For each question above, grep its distinctive identifiers (names, values, paths) across the harness paths — `CLAUDE.md`, `.claude/
plugins/super-bootstrap/agents/doc-sync-scan.md · 71 lines

How it starts

The opening of the file, as written. The whole thing — 71 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 when its mechanical gate (term-grep OR reverse-citer OR link-target OR changed-doc hit) enumerates a scan scope above the door's scope ceiling. Job: judge the dispatched scope against this diff, run the diff-scoped residual, and return candidates, restatements, terminology misses, register proposals and harness rows — nothing else. You do not stage, commit, or edit; you surface, the gateway resolves.

The dispatch prompt supplies: the session's diff — git diff output in the prompt, or the path of a diff file you Read — today's date, and the scan scope — the citer read-set (doc-surface files whose links cite the changed docs), the grep-hit files, the link-target files (docs the diff's new links point at), and the changed docs themselves — all enumerated mechanically by the gate — plus the path of the commit skill's restatement predicate, and the gate's terminology candidate lines with the link predicate's path. Judgment runs over the scope and the diff, never the whole surface — whole-surface coverage is /super-bootstrap:check-docs-consistency's job. § Scan below is the shared procedure — follow it exactly; you apply it here on a scope above the ceiling.

Locate the diff before § Scan. The diff is in hand when the prompt holds git diff output (diff --git header lines, with @@ hunks or a rename / mode header under them), or names a diff file and your Read of that path returns such output. Anything else the prompt gives in the diff's place — a command to run, a path your Read fails on, a prose account of the change — leaves you without one: return the no-diff line (§ Output contract) and stop; the gateway re-dispatches with the diff supplied.

Scan

  1. Read the surface owner. The doc surface is 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), plus every *.md file the consumer's .claude/doc-surface declares — that file is the extra surface's SSOT; absent, the set above stands. Read that file yourself where step 4 searches the surface: an entry's * crosses /, unlike a Glob pattern, so search it as the text before its first *, recursively, for files ending in the text after its last * (kinds/*.md → every .md under kinds/, subfolders included); an entry with no * is that one path. Read the consumer's § Doc Sync — in .claude/rules/harness.md, together with any line the repo's CLAUDE.md adds to that section or takes over; in CLAUDE.md alone in a repo not yet split — it narrates that surface and owns the write boundary; the residual (step 4) homes against that surface.

  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.

    Harness sweep (after the questions exist). Step 1's boundary keeps harness read-only. For each question above, grep its distinctive identifiers (names, values, paths) across the harness paths — CLAUDE.md, .claude/{rules,skills,agents}/**, plugins/*/{skills,agents}/** — and judge each hit file as step 3 judges a scope doc. A hit narrating the claim the diff changed is neither a doc candidate nor an out-of-scope note: record it for the harness output (path, the outdated line, the hunk, and co-change: yes when this diff's change makes the line wrong, no when it was wrong before). Every hit file gets a harness row or a read-and-confirmed-unchanged outcome.

  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. Scope docs the diff itself changed are a routine class, not an edge case: read past the hunks and judge each one's unchanged sections against the diff's claims — same-commit edits contradict each other as readily as separate commits do. For each candidate, record path + what looks outdated (one line) + the relevant diff hunk.

Read the full file on GitHub · 71 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. 16d ago Changed 97a8c1e4e6e9
  2. 22d ago Changed · +4 lines · +14 tokens per session e62304fc89d5
  3. 25d ago Changed · +4 lines · +36 tokens per session scan A → B 3cd98c305e73
  4. 1mo ago Changed · +2 tokens per session 1a752e5851bc
  5. 1mo ago Changed · +12 lines · +42 tokens per session 3caa6076b4a3
  6. 1mo ago Changed · +4 lines · +30 tokens per session 654bc443338e
  7. 1mo ago Changed 23e90d9e6713
  8. 2mo ago Changed · +174 tokens per session 375f2e1c4e5b
  9. 2mo ago Changed 02100504946d
  10. 3mo ago First seen · 47 lines · 0 tokens per session scan A a5723a6cf450

Subscribe to this mod's changes

doc-sync-scan is an agent published in the GitHub repository RockyHong/super-bootstrap (3 stars, last pushed yesterday), licensed MIT. It adds 298 tokens to every session and 3,076 once invoked, about $0.0012 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

doc-sync-scan compared with agents from other repositories

doc-sync-scan next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
doc-sync-scanRockyHong/super-bootstrapAgent3yesterdayMITB298Claude Code
bulwark-standards-reviewerQBall-Inc/the-bulwarkAgent9yesterdayMITA58Claude Code
verifierAdityaraj0421/gearboxAgent171mo agoMITA39Claude Code
wisp-self-testSamuel0101010/wisp-agentdiffAgent26mo agoMITA108Claude Code
architecture-reviewerjhlee0409/omni-harness-kitAgent14mo agoMITA199Claude Code
change-verifierjhlee0409/omni-harness-kitAgent14mo agoMITA104Claude Code
claim-checkerjhlee0409/omni-harness-kitAgent14mo agoMITA139Claude Code