docs-checker

docs-checker is a skill for Claude Code from lttr/claude-marketplace. It costs 101 tokens per session (888 once invoked), scanned C, original, MIT.

A documentation audit skill that checks project instructions, READMEs, and documentation for broken references and provably outdated content. It reports evidence for findings and does not change files unless asked.

In plain words
What is it for?
Use it to check documentation and context files offline. It can scan the repository's documentation and Claude configuration, with options for referenced sibling repositories.
Why use it?
It finds links, image paths, and source-file references that no longer point to real files, helping keep project guidance trustworthy.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md.

Part of the maintenance plugin — 2 skills shipped together

Good fit Use it to check documentation and context files offline. It can scan the repository's documentation and Claude configuration, with options for referenced sibling repositories.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lttr/claude-marketplace/docs-checker
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.

Any agent
npx skills add lttr/claude-marketplace --skill docs-checker
Clone the repo
git clone --depth 1 https://github.com/lttr/claude-marketplace

Made for: Claude Code.

Or install maintenance, the plugin that ships this one along with the rest of its 2 skills.

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 docs-checker

README.md
[![agentmods](https://agentmods.dev/badge/skills/lttr/claude-marketplace/docs-checker/github.svg)](https://agentmods.dev/skills/lttr/claude-marketplace/docs-checker)
Your own site
<a href="https://agentmods.dev/skills/lttr/claude-marketplace/docs-checker"><img src="https://agentmods.dev/badge/skills/lttr/claude-marketplace/docs-checker/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 docs-checker

Your own site · 80×15
<a href="https://agentmods.dev/skills/lttr/claude-marketplace/docs-checker"><img src="https://agentmods.dev/badge/skills/lttr/claude-marketplace/docs-checker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 888 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 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.00101 $0.00888
Opus 5.5 $0.00040 $0.00355
Sonnet 5.5 $0.00020 $0.00178
Haiku 4.5 $0.00010 $0.00089

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

Security

Grade C, and why

docs-checker scanned grade C 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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/docs-check.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

- `<!-- docs-check-ignore -->` at the end of a line
plugins/maintenance/skills/docs-checker/SKILL.md · 69 lines

How it starts

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

Docs Checker

Audit the repository's context files — CLAUDE.md at any depth, the .claude/ tree (skills, rules, commands), READMEs, and the docs tree — for correctness. This is a conservative audit: report findings with evidence, do not rewrite anything unless the user asks. Style, tone, and level of detail are the author's choices and are out of scope.

Prerequisites

  • Node.js >= 22 (the bundled script uses fs.globSync)

Workflow

1. Deterministic pass

Run the bundled checker from the repo root:

node ${CLAUDE_SKILL_DIR}/scripts/docs-check.mjs $ARGUMENTS

It needs no config and no dependencies. What it does:

  • Checks relative/absolute markdown links and image assets against the working tree
  • Checks backticked source paths in prose (src/foo.ts, @alias/bar) against the codebase, resolving tsconfig/package.json aliases
  • Scans the paths you name (or the repo's docs tree by default), plus every CLAUDE.md and the whole .claude/ tree automatically
  • Cross-repo docs: pass --repo=NAME:DIR for each sibling checkout the docs reference

Exit 0 is clean, 1 means findings (printed as line:col rule message with did-you-mean hints), 2 is bad invocation. Its findings are ground truth — do not second-guess them.

2. Semantic pass

Read the context files the script scanned — but keep this pass on a scoped diet: CLAUDE.md files, the .claude/ tree, and top-level READMEs. Do not crawl the whole docs tree unless the user asked; the script already covered the wide surface.

Look only for claims you can verify against the repo right now:

  • Commands or scripts quoted in docs that don't exist (check package.json scripts, Makefile, bundled scripts)
  • Described behavior that contradicts the code it points at (read the code before claiming this)
  • Instructions that contradict each other across context files
  • Sections duplicated between files (e.g. README and CLAUDE.md drifting apart)
  • References to tools, versions, or structures the repo no longer uses

Read the full file on GitHub · 69 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · -1 lines · +37 tokens per session 0d7e7bef00e2
  2. 3mo ago First seen · 70 lines · 64 tokens per session scan C e65636c262f2

Subscribe to this mod's changes

docs-checker is a skill published in the GitHub repository lttr/claude-marketplace (3 stars, last pushed 1mo ago), licensed MIT. It adds 101 tokens to every session and 888 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

docs-checker compared with skills from other repositories

docs-checker next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docs-checkerlttr/claude-marketplaceSkill31mo agoMITC101Claude Code
stream-chainspencermarx/open-code-reviewSkill39519d agoApache-2.0A18Claude Code
hook-factoryalirezarezvani/claude-code-skill-factorySkill9181y agoMITD36Claude Code
tao-run-inference-serviceNVIDIA/skillsSkill4.2k2d agoApache-2.0A92Claude Code
offensive-c2-frameworksSnailSploit/Claude-RedSkill12k13d agoMITA250Claude Code, Codex
offensive-z-waveSnailSploit/Claude-RedSkill12k13d agoMITA113Claude Code, Codex
tencent-docsUnicomAI/wanwuSkill2.4k5d agoApache-2.0A209Claude Code, Codex