docs-check

docs-check is a skill for Claude Code from mgiovani/cc-arsenal. It costs 107 tokens per session (1,924 once invoked), scanned A, original, MIT.

A read-only review of project documentation against the code that currently exists. It checks whether descriptions, file paths, counts, links, and Mermaid diagrams match the implementation.

In plain words
What is it for?
Use it to audit README files and documentation folders for stale claims, missing sections, broken links, incorrect file references, and diagrams containing nonexistent components.
Why use it?
It finds documentation that has become outdated, incomplete, broken, or inaccurate. This helps prevent developers from relying on instructions or diagrams that describe code the project does not have.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: agent in frontmatter; mentions subagents.

Part of the cc-arsenal-docs plugin — 6 skills shipped together , and of cc-arsenal

Good fit Use it to audit README files and documentation folders for stale claims, missing sections, broken links, incorrect file references, and diagrams containing nonexistent components.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mgiovani/cc-arsenal/docs-check
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 mgiovani/cc-arsenal --skill docs-check
Clone the repo
git clone --depth 1 https://github.com/mgiovani/cc-arsenal

Made for: Claude Code.

Or install cc-arsenal-docs, the plugin that ships this one along with the rest of its 6 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-check

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mgiovani/cc-arsenal/docs-check"><img src="https://agentmods.dev/badge/skills/mgiovani/cc-arsenal/docs-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 107 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,924 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.00107 $0.01924
Opus 5.5 $0.00043 $0.00770
Sonnet 5.5 $0.00021 $0.00385
Haiku 4.5 $0.00011 $0.00192

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

Security

Grade A, and why

docs-check 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/docs-check/SKILL.md · 172 lines

How it starts

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

Check Documentation Quality

Audit documentation freshness, completeness, and quality against the current codebase state. Read-only: never edit or write to any doc file.

Anti-hallucination detection

This skill exists to catch docs that lie. For every claim in a doc, verify it against the actual codebase rather than trusting the doc text:

  1. Cross-reference claims: component/service names, described relationships
  2. Verify counts: if a doc says "5 services", count the actual services
  3. Check file references: confirm every referenced path exists
  4. Validate diagrams: every Mermaid entity must exist in real code

Workflow

Phase 1: Scan docs/

  1. Glob all documentation files (docs/, docs/adr/, docs/rfc/, top-level README.md, CONTRIBUTING.md).
  2. Infer focus categories from the filenames actually present: don't assume a fixed set. A repo with docs/data-model.md gets a "data" category; one with docs/deployment.md and docs/docker-compose.yml docs gets "infrastructure"; group whatever's there under a name that matches its content. If the user names a focus that doesn't match anything found, say so and list the categories that do exist instead of silently no-op'ing.
  3. Detect tech stack, database presence, deployment configs, and project type from the codebase (package files, Dockerfiles, etc.) to know what documentation should exist.

Phase 2: Parse arguments

Extract an optional focus keyword from the invocation and match it against the categories found in Phase 1. No argument means check everything found.

Phase 3: Verify claims against the codebase

For a small doc set (a handful of files, or a one-shot check like "does this file exist"), verify directly inline with Read/Grep/Glob/git: spawning a subagent for a single lookup adds latency for no benefit.

For a large multi-doc audit (a full docs/ tree, many ADRs, cross-referencing several files against the codebase), spawn one Explore subagent per document or logical section so each verifies its claims independently. Where no Task tool is available, fall back to processing each document sequentially inline instead: same verification steps, one document at a time, no parallelism. See references/verification-patterns.md for section-level verification patterns and bash commands.

Read the full file on GitHub · 172 lines

Files

What ships with it

4 files 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 · +11 lines de8e9cb0a5d2
  2. 2mo ago Changed ca2960872e02
  3. 2mo ago Changed · +1 lines 792bccf3700b
  4. 3mo ago First seen · 160 lines · 107 tokens per session scan A 03a7e69723b8

Subscribe to this mod's changes

docs-check is a skill published in the GitHub repository mgiovani/cc-arsenal (8 stars, last pushed 1mo ago), licensed MIT. It adds 107 tokens to every session and 1,924 once invoked, about $0.0004 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-31.

Related

docs-check compared with skills from other repositories

docs-check next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docs-checkmgiovani/cc-arsenalSkill81mo agoMITA107Claude Code
agent-qa-evidencedarkrishabh/agent-skills-evalSkill82116d agoMITA28Claude Code, Codex
basic-skilldarkrishabh/agent-skills-evalSkill82116d agoMITA17Claude Code, Codex
trace-and-isolaterohitg00/skillkitSkill1.6k6mo agoApache-2.0A120Claude Code, Codex
testing-anti-patternsrohitg00/skillkitSkill1.6k6mo agoApache-2.0A95Claude Code, Codex
handoff-protocolsrohitg00/skillkitSkill1.6k6mo agoApache-2.0A116Claude Code, Codex
parallel-investigationrohitg00/skillkitSkill1.6k6mo agoApache-2.0A97Claude Code, Codex