doc-audit

doc-audit is a skill for Claude Code, Codex from democra-ai/skill-to-workflow. It costs 56 tokens per session (554 once invoked), scanned A, original, MIT.

A documentation-quality checker for folders containing Markdown or MDX files. It reviews links, code examples, page structure, and readability, then creates a prioritized report.

In plain words
What is it for?
Auditing a docs folder, finding broken links, spotting outdated code examples, identifying missing sections, and preparing a documentation release.
Why use it?
It helps find documentation problems before readers or a release expose them. Each reported issue is checked and grouped by severity.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Auditing a docs folder, finding broken links, spotting outdated code examples, identifying missing sections, and preparing a documentation release.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/democra-ai/skill-to-workflow/input-skill
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 democra-ai/skill-to-workflow --skill input-skill
Clone the repo
git clone --depth 1 https://github.com/democra-ai/skill-to-workflow

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/democra-ai/skill-to-workflow/input-skill.svg)](https://agentmods.dev/skills/democra-ai/skill-to-workflow/input-skill)
Your own site
<a href="https://agentmods.dev/skills/democra-ai/skill-to-workflow/input-skill"><img src="https://agentmods.dev/badge/skills/democra-ai/skill-to-workflow/input-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 554 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.00056 $0.00554
Opus 5 $0.00028 $0.00277
Sonnet 5 $0.00011 $0.00111
Haiku 4.5 $0.00006 $0.00055

Measured 7d ago against content hash 76b2e8989338, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

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

examples/input-skill/SKILL.md · 62 lines

How it starts

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

Doc Audit

Overview

This skill audits a documentation folder and produces a single prioritized report of quality problems. It checks four independent dimensions, confirms each finding is real, and groups the results by severity.

When to use

Use when the user asks to audit documentation, check docs quality, or do a pre-release docs pass on a folder of Markdown/MDX files.

Procedure

Step 1 — Inventory

List every documentation file under the target folder (default: ./docs). Record the relative path and size of each .md / .mdx file. If there are no docs, stop and report that.

Step 2 — Audit the four dimensions

For the inventory, check these four dimensions. They are independent — none of them depends on the result of another:

  1. Broken links — find internal links that point to missing files/anchors and external links that look dead or malformed.
  2. Stale code examples — find fenced code blocks that reference APIs, flags, or file paths that no longer exist in the project.
  3. Missing sections — compare each page against the expected shape for its type (a how-to needs prerequisites + steps; a reference needs a parameter table) and list missing sections.
  4. Readability — flag pages with overlong paragraphs, undefined jargon, or a reading level inappropriate for the audience.

For each dimension, produce a list of findings. Each finding has: file, a short title, a severity (blocker / major / minor), and a suggested fix.

Step 3 — Verify each finding

Documentation audits produce false positives (a "broken" link that is actually valid, a "stale" example that still works). Before reporting, confirm each finding is real by re-checking it against the actual files. Drop findings that do not hold up.

Step 4 — Prioritize and report

Merge the confirmed findings from all four dimensions, de-duplicate any that overlap, sort by severity (blockers first), and write a single DOC-AUDIT.md report grouped by dimension with a summary count at the top.

Read the full file on GitHub · 62 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. 7d ago First seen · 62 lines · 56 tokens per session scan A 76b2e8989338

Subscribe to this mod's changes

doc-audit is a skill published in the GitHub repository democra-ai/skill-to-workflow (5 stars, last pushed 3mo ago), licensed MIT. It adds 56 tokens to every session and 554 once invoked, about $0.0003 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-08-31.