doc-drift

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

A documentation-to-code checker that compares design documents with the software and its configuration.

In plain words
What is it for?
Use it to scan all modules or one named module and produce a prioritized list of inconsistencies. It can inspect documents in common documentation folders and code in common source folders.
Why use it?
It finds places where documentation no longer matches how the software works, so developers can focus on the most important corrections.

Skill for Claude Code

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

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 to scan all modules or one named module and produce a prioritized list of inconsistencies. It can inspect documents in common documentation folders and code in common source folders.

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-drift

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tykisgod/quick-question/doc-drift"><img src="https://agentmods.dev/badge/skills/tykisgod/quick-question/doc-drift.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,453 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00019 $0.01453
Opus 5.5 $0.00008 $0.00581
Sonnet 5.5 $0.00004 $0.00291
Haiku 4.5 $0.00002 $0.00145

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

Security

Grade A, and why

doc-drift 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-drift/SKILL.md · 104 lines

How it starts

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

Run qq scripts as ${CLAUDE_PLUGIN_ROOT}/bin/<name>: they are not on PATH, so a bare qq-run-record.py exits 127.

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

Arguments: $ARGUMENTS

  • No arguments: scan all modules
  • --module <name>: only check the specified module

With --auto, first make sure a pipeline tracks this run, so the handoff at the end can advance it: qq-execute-checkpoint.py pipeline-start --project . --type feature --current-skill "/qq:doc-drift" --branch "$(git branch --show-current)" --if-not-running. It starts one only when none is running here (you were invoked on your own) and leaves a running one alone.

Execution Flow

1. Determine Scope

Discover the project's documentation and code structure:

  • Look for design docs in Docs/, Documentation/, or any directory referenced in CLAUDE.md
  • Look for code modules under Assets/Scripts/, Assets/Plugins/, src/, or the project's main code directories
  • Group related docs and code into module pairs (e.g., "Player" docs ↔ Player code directory)

If the user specified --module, only scan that module. Otherwise, group all discovered modules and dispatch parallel subagents (subagent_type: "general-purpose", model: "opus") — one per group (max 5 groups).

2. Each Subagent's Task

Each subagent prompt must include:

  1. The doc paths and code paths for its assigned modules
  2. The following review instructions:
You are a document-code consistency auditor. Read all rules, states, enums, and numeric parameters defined in the design documents, then search for corresponding implementations in the code and verify each one.

Focus on:
- Features defined in docs but not implemented in code (entire subsystems or individual features)
- Features implemented in code but not mentioned in docs
- Protections or added restrictions found only in code (a protection is exempt from a rule everything else follows; an added restriction exists to stop or tax a player choice the other rules allow (not how a new thing works, not a gate that prevents a crash or a stuck state)): report them as "Unrequested", not as outdated docs
- Numeric parameter mismatches (doc value vs code value, with exact numbers)
- Enum value / state name mismatches
- Formula inconsistencies (the complete doc formula vs the complete code calculation)
- Architectural model deviations (doc uses model A, code uses model B)

For each inconsistency output:
- Location: doc path vs code path (with line numbers)
- What's inconsistent: what the doc says vs what the code does
- Severity: P0 (missing feature / bug / core formula error / Unrequested), P1 (value deviation / naming mismatch / architecture difference), P2 (outdated doc but no functional impact)

End with a summary table.

Read the full file on GitHub · 104 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 · +18 lines 200acc7e0a98
  2. 1mo ago Changed 7d0d42c717c7
  3. 3mo ago First seen · 86 lines · 19 tokens per session scan A 92883fd66969

Subscribe to this mod's changes

doc-drift is a skill published in the GitHub repository tykisgod/quick-question (13 stars, last pushed 1mo ago), licensed MIT. It adds 19 tokens to every session and 1,453 once invoked, about $0.0001 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-drift compared with skills from other repositories

doc-drift next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
doc-drifttykisgod/quick-questionSkill131mo agoMITA19Claude 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