doc-audit-skill

doc-audit-skill is a skill for Claude Code, Codex from johnnichev/selectools. It costs 0 tokens per session (764 once invoked), scanned A, original, Apache-2.0.

A documentation-review workflow that sends separate agents to check counts, content, links, and writing across project documentation, then fixes what they find.

In plain words
What is it for?
Use it to audit stale numbers, missing or outdated documentation, broken references, unclear explanations, and incomplete examples.
Why use it?
Documentation can become outdated or inconsistent with the code, especially when features, examples, links, or project totals change.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/johnnichev/selectools/doc-audit-skill
Any agent
npx skills add johnnichev/selectools --skill doc-audit-skill
Clone the repo
git clone --depth 1 https://github.com/johnnichev/selectools

Made for: Claude Code, Codex.

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-audit-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/johnnichev/selectools/doc-audit-skill.svg)](https://agentmods.dev/skills/johnnichev/selectools/doc-audit-skill)
Your own site
<a href="https://agentmods.dev/skills/johnnichev/selectools/doc-audit-skill"><img src="https://agentmods.dev/badge/skills/johnnichev/selectools/doc-audit-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 764 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00764
Opus 5 $0.00000 $0.00382
Sonnet 5 $0.00000 $0.00153
Haiku 4.5 $0.00000 $0.00076

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

Security

Grade A, and why

doc-audit-skill 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.

.claude/skills/doc-audit-skill/SKILL.md · 84 lines

How it starts

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

Doc Audit

Deploy parallel QA sub-agents to find documentation inconsistencies, stale counts, missing references, and improvement opportunities. Then fix everything found.

Resolve Scope

  • all → deploy 4 agents (one per category below)
  • counts → 1 agent: stale numbers across all docs
  • content → 1 agent: missing features, examples, outdated descriptions
  • links → 1 agent: broken links, missing nav entries, dead references
  • quality → 1 agent: unclear writing, missing code examples, incomplete sections

Agent Template

Each agent reads ALL documentation files and cross-references against the actual codebase.

Agent 1: Count Consistency

Verify these numbers match reality across ALL docs (README.md, CLAUDE.md, docs/index.md, CHANGELOG.md, CONTRIBUTING.md, landing/index.html, docs/ARCHITECTURE.md, docs/QUICKSTART.md):

  • Test count (run pytest --co -q to get actual)
  • Example count (run ls examples/*.py | wc -l)
  • Model count (grep MODELS_BY_ID or count ModelInfo)
  • StepType count (count enum members)
  • Observer event count (count methods on AgentObserver/AsyncAgentObserver)
  • Tool count (count toolbox tools)
  • Evaluator count
  • Provider count

Agent 2: Content Completeness

For EVERY feature in the codebase, verify it's mentioned in:

  • README.md "What's Included" / "Why Selectools" / feature table
  • README.md examples section (all 61 examples should be referenced or at least the count)
  • docs/index.md feature table
  • docs/QUICKSTART.md (if user-facing)
  • CLAUDE.md codebase structure (every source file)

Check specifically:

  • Are Pipeline, @step, parallel(), branch() in README feature table?
  • Are all 61 examples listed or counted?
  • Are v0.18.0 features (orchestration + pipelines) prominently featured?
  • Is the Apache-2.0 license mentioned everywhere it should be?
  • Are all providers mentioned (OpenAI, Anthropic, Gemini, Ollama, Fallback)?

Agent 3: Link & Navigation Audit

  • Run mkdocs build and report ALL warnings
  • Check every [link](path) in README.md resolves
  • Check mkdocs.yml nav covers all docs/modules/*.md files
  • Check CHANGELOG.md is synced with docs/CHANGELOG.md
  • Check CONTRIBUTING.md is synced with docs/CONTRIBUTING.md
  • Verify GitHub URLs point to correct repo

Read the full file on GitHub · 84 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 First seen · 84 lines · 0 tokens per session scan A 3cf14c7c94a0

Subscribe to this mod's changes

doc-audit-skill is a skill published in the GitHub repository johnnichev/selectools (11 stars, last pushed 1mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 764 tokens. 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.