doc-sync

doc-sync is a skill for Claude Code from tykisgod/quick-question. It costs 66 tokens per session (1,413 once invoked), scanned A, original, MIT.

A documentation synchronization routine that finds differences between project documents and code, drafts corrections, and shows them for approval.

In plain words
What is it for?
Use it for a full documentation sweep or to limit the check by change reference or document type. It can update design, memory, integration-boundary, and rules documents, but does not modify code or commit changes automatically.
Why use it?
It helps bring outdated documentation back in line with the code while keeping the developer in control of which changes are applied.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions CLAUDE.md.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the qq plugin — 27 skills, 5 hooks shipped together

Good fit Use it for a full documentation sweep or to limit the check by change reference or document type. It can update design, memory, integration-boundary, and rules documents, but does not modify code or commit changes automatically.

Compare 6 skills from other repositories ↓
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 tykisgod/quick-question
Claude Code
/plugin install qq

Made for: Claude Code.

Or install qq, the plugin that ships this one along with the rest of its 27 skills, 5 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 doc-sync

README.md
[![agentmods](https://agentmods.dev/badge/skills/tykisgod/quick-question/doc-sync/github.svg)](https://agentmods.dev/skills/tykisgod/quick-question/doc-sync)
Your own site
<a href="https://agentmods.dev/skills/tykisgod/quick-question/doc-sync"><img src="https://agentmods.dev/badge/skills/tykisgod/quick-question/doc-sync/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tykisgod/quick-question/doc-sync"><img src="https://agentmods.dev/badge/skills/tykisgod/quick-question/doc-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,413 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.00066 $0.01413
Opus 5.5 $0.00026 $0.00565
Sonnet 5.5 $0.00013 $0.00283
Haiku 4.5 $0.00007 $0.00141

Measured 1mo ago against content hash cb2aa7fd14be, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

doc-sync 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 1mo 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/doc-sync/SKILL.md · 70 lines

How it starts

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

Respond in the user's preferred language (detect from their recent messages, or fall back to the language setting in CLAUDE.md).

Pull drifted docs back in line with the code, run on demand when the human knows they changed something doc-affecting. doc-sync calls /qq:doc-drift (and the project's drift detectors) as its detection stage, then adds the two stages doc-drift lacks: draft the fixes and land what the human approves.

Arguments: $ARGUMENTS

  • No arguments: full sweep of the project's living docs
  • --since <ref>: only docs affected by code changed since <ref> (windowed reconcile)
  • --scope <design|memory|seams|rules>: restrict to one class of living doc
  • --all: also include Docs/archive/ and old review artifacts

Principle

Detectors are read-only; doc-sync is the sole writer, and only of docs — never code; the human is the sole lander. Reference drift (a dead anchor) is auto-drafted; semantic/process drift is only flagged for the human to decide. Graphs say "what is wired now"; the seam registry says "what should be wired / what breaks if missing" — neither overwrites the other.

Execution Flow

1. Discover the project's drift tooling (project-aware)

Probe for these and use whatever exists — degrade gracefully when absent (a generic project just gets doc-drift + git-diff reasoning):

If present Use it for
Tools/blast_radius.py "changed files → affected docs + code-side ripple" (diff [base] / who <token>)
Tools/check_doc_drift.py symbol-anchor drift in docs (LINEREF / missing file / missing GUID / 0-hit symbol)
Tools/check_memory.py memory consistency + staleness (audit); re-stamp via stamp <date> <files>
Tools/check_seams.py .claude/seams.yml anchor drift
.claude/seams.yml cross-cutting seam registry (fan-out points)
Tools/asset_graph.py / Tools/event_graph.py Unity asset / event-bus blast-radius

2. Detect (read-only)

  • Scope the work. With --since <ref>, run python Tools/blast_radius.py diff <ref> to get changed-files → affected docs + ripple. Otherwise sweep: check_doc_drift.py over Docs/ + .claude/rules/, check_memory.py audit, check_seams.py.
  • Semantic layer. Invoke /qq:doc-drift (using the Skill tool) for the affected modules — design-doc-vs-code intent mismatches the anchor checkers can't see.
  • Ignore noise. Reconcile only against semantic code changes; skip test-only changes, .meta files, formatting churn, dependency bumps, and pure internal refactors.
  • Classify every finding into two buckets — this decides whether doc-sync may auto-draft:
    • Reference drift (machine-fixable): dead anchor / line-number ref / moved-or-deleted file path / GUID no longer in repo / stale numeric value with an exact code counterpart.
    • Semantic or process drift (NOT machine-fixable): the design intent changed, a formula diverged, a .claude/rules/ process note went stale, an architecture model differs.

Read the full file on GitHub · 70 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. 1mo ago Changed · -9 lines cb2aa7fd14be
  2. 3mo ago First seen · 79 lines · 66 tokens per session scan A dc94bbafda7d

Subscribe to this mod's changes

doc-sync is a skill published in the GitHub repository tykisgod/quick-question (13 stars, last pushed 1mo ago), licensed MIT. It adds 66 tokens to every session and 1,413 once invoked, about $0.0003 per session on Opus 5.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.

Related

doc-sync compared with skills from other repositories

doc-sync next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
doc-synctykisgod/quick-questionSkill131mo agoMITA66Claude Code
security-architecture-reviewcbrock84/headcountSkill2.6ktodayMITA78Claude Code
auditoliver-kriska/claude-elixir-phoenixSkill579yesterdayMITA35Claude Code
boundariesoliver-kriska/claude-elixir-phoenixSkill579yesterdayMITA33Claude Code
triageoliver-kriska/claude-elixir-phoenixSkill579yesterdayMITA32Claude Code
pr-threads-addressposit-dev/skillsSkill57618d agoMITA48Claude Code
reviewtechygarg/latticeSkill2189d agoMITA95Claude Code