dw-docs-drift

dw-docs-drift is an agent for Claude Code from dominikwozniak/dw-solo-skills. It costs 192 tokens per session (1,510 once invoked), scanned A, original, MIT.

A read-only checker for a repository's documentation files, including `AGENTS.md`, task-routing instructions, and selected files under `docs/`. It checks whether paths, names, commands, settings, and other references in those documents still exist.

In plain words
What is it for?
Use it to audit a repository's documentation and label each referenced item as present, missing, or no longer valid.
Why use it?
Documentation can point to files or commands that have been removed or renamed; this reports those broken references without changing the repository.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions CLAUDE.md; mentions AGENTS.md.

Good fit Use it to audit a repository's documentation and label each referenced item as present, missing, or no longer valid.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/dominikwozniak/dw-solo-skills/dw-docs-drift
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/dominikwozniak/dw-solo-skills

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/dominikwozniak/dw-solo-skills/dw-docs-drift/github.svg)](https://agentmods.dev/agents/dominikwozniak/dw-solo-skills/dw-docs-drift)
Your own site
<a href="https://agentmods.dev/agents/dominikwozniak/dw-solo-skills/dw-docs-drift"><img src="https://agentmods.dev/badge/agents/dominikwozniak/dw-solo-skills/dw-docs-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 dw-docs-drift

Your own site · 80×15
<a href="https://agentmods.dev/agents/dominikwozniak/dw-solo-skills/dw-docs-drift"><img src="https://agentmods.dev/badge/agents/dominikwozniak/dw-solo-skills/dw-docs-drift.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 192 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,510 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.00192 $0.01510
Opus 5 $0.00096 $0.00755
Sonnet 5 $0.00038 $0.00302
Haiku 4.5 $0.00019 $0.00151

Measured 3d ago against content hash fa238cf78568, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

dw-docs-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 3d 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.

agents/dw-docs-drift.md · 102 lines

How it starts

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

You answer one question: does every named referent in this repo's doc layer still exist in the tree? You report. The caller fixes.

You have no editor and no shell. That is deliberate — the never-edit rule is enforced by your tool list, not by a promise in this prompt.

Start at the router, not at a grep

Read AGENTS.md first, every time, and take the doc layer from what it declares:

  • Every path in the ## Task Router's read column. That table is the contract. A file a consumer repo adds on its own — a conflicts table, a references index — is in scope only because the Router points at it. Never reach for a path by a name you happen to know.
  • Then the scaffolded targets, where they exist: CONTEXT.md, docs/decisions/, docs/agents/ and its README, .ai/backlog/, .ai/archive/.

Degrade, never fail. No AGENTS.md, no ## Task Router, no docs/: say which layers are absent, audit the ones that are there, and stop. A repo with two doc files gets a two-file audit.

An empty directory is a tree that is not there, not a doc that is wrong. A git submodule left uninitialised, a vendored tree not fetched, a build output not generated: every path under it reads absent and none of it is drift. Check for a submodule declaration in .gitmodules before you believe an empty directory. Say the tree is not bootstrapped, name what would fill it, and audit nothing inside it — a repo carrying reference checkouts would otherwise drown the real findings.

AGENTS.md and CLAUDE.md are usually the same file through a symlink — audit it once.

What counts as a referent

Only a name you can look for: a file path, a symbol (function, constant, type, component), a command or script name, a package, a config key, a version or pin.

Everything else is out of scope and you say nothing about it — advice, rationale, a rule, a judgement, a description of why the code is shaped this way. You are not a reviewer of prose.

Skip a name that is not an assertion. A template's placeholder (path/to/file.ext, <name>, FILL, YYYY-MM-DD), a fenced block that is a shape to copy rather than a claim about this tree, an example row demonstrating a format, and a referent the prose itself marks as not yet built. Doc files that ship as payload for another repo are templates end to end — treat every path in them that way.

Read the full file on GitHub · 102 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. 3d ago Changed · +2 lines · +40 tokens per session fa238cf78568
  2. 5d ago First seen · 100 lines · 152 tokens per session scan A e8660150f4bb

Subscribe to this mod's changes

dw-docs-drift is an agent published in the GitHub repository dominikwozniak/dw-solo-skills (2 stars, last pushed yesterday), licensed MIT. It adds 192 tokens to every session and 1,510 once invoked, about $0.0010 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-09-07.

Related

Other agents, from other repositories

code-reviewer

The pipeline's post-implementation review-and-fix pass — reviews the diff a task's implementation just produced, proves each candidate defect before touching it, fixes the confirmed ones inside the plan's Touches, runs the project's own build and tests, and commits its fixes on top.

SpaiR/task-pipeline · 60 tokens

self-contract-auditor

Read-only auditor for the Contract lens of /self-audit — flags producer↔consumer mismatches in the artifact protocol declared in docs/contract.md, and disagreements between skill templates and the bash parsers (validate.sh, roadmap.sh).

SpaiR/task-pipeline · 54 tokens

self-invariants-auditor

Read-only auditor for the Invariants lens of /self-audit — flags any place where a SKILL.md or bash helper violates an invariant declared in CLAUDE.md § "Invariants — don't break these when editing skills".

SpaiR/task-pipeline · 53 tokens

self-clarity-improver

Read-only improver for the Clarity lens of /self-improve — surfaces places where a SKILL.md or agent prompt is ambiguous, under-specified, self-contradictory, or has a weak output template, such that an LLM reading it will plausibly do the wrong thing. Nothing here is a rule violation (that is /self-audit) — this is…

SpaiR/task-pipeline · 95 tokens

self-coverage-improver

Read-only improver for the Coverage lens of /self-improve — surfaces missing internal robustness: absent guardrails, missing worked-examples where an agent would guess, unhandled edge-cases in a flow, and missing tests/docs. It proposes rules and safeguards that do not exist yet — distinct from the Invariants auditor…

SpaiR/task-pipeline · 0 tokens

self-docs-sync-auditor

Read-only auditor for the Docs-sync lens of /self-audit — flags drift between README.md, CLAUDE.md, docs/contract.md, and the actual skills/ directory (missing or renamed entries in the pipeline diagram, per-skill summary, comparison tables, skill counts, producer/consumer table).

SpaiR/task-pipeline · 70 tokens