audit-docs

audit-docs is a skill for Claude Code from TserenTserenov/FMT-exocortex-template. It costs 28 tokens per session (2,236 once invoked), scanned A, original, MIT.

A read-only repository audit that compares source-code files with their related documentation and reports documentation coverage and differences.

In plain words
What is it for?
Use it to audit a repository, identify undocumented areas and mismatched code-to-documentation pairs, and produce a report for the repository owner.
Why use it?
It reveals when documentation has fallen out of sync with the code without changing either one.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md.

Good fit Use it to audit a repository, identify undocumented areas and mismatched code-to-documentation pairs, and produce a report for the repository owner.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tserentserenov/fmt-exocortex-template/audit-docs
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 TserenTserenov/FMT-exocortex-template --skill audit-docs
Clone the repo
git clone --depth 1 https://github.com/TserenTserenov/FMT-exocortex-template

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/tserentserenov/fmt-exocortex-template/audit-docs/github.svg)](https://agentmods.dev/skills/tserentserenov/fmt-exocortex-template/audit-docs)
Your own site
<a href="https://agentmods.dev/skills/tserentserenov/fmt-exocortex-template/audit-docs"><img src="https://agentmods.dev/badge/skills/tserentserenov/fmt-exocortex-template/audit-docs/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 audit-docs

Your own site · 80×15
<a href="https://agentmods.dev/skills/tserentserenov/fmt-exocortex-template/audit-docs"><img src="https://agentmods.dev/badge/skills/tserentserenov/fmt-exocortex-template/audit-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,236 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium analysis-evasion · line 1
    Suspicious Unicode normalization or mixed-script content
    Fix: Review the flagged content for security risks. Ensure no credentials, secrets, or sensitive data are exposed.
How audits are shown
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.00028 $0.02236
Opus 5 $0.00014 $0.01118
Sonnet 5 $0.00006 $0.00447
Haiku 4.5 $0.00003 $0.00224

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

Security

Grade A, and why

audit-docs 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/audit-docs/SKILL.md · 175 lines

How it starts

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

Audit Docs (R24 Аудитор)

Роль: R24 Аудитор. Полное описание: PACK-digital-platform/pack/digital-platform/02-domain-entities/DP.ROLE.024-auditor.md (WP-224). Маппинг: R24 = VR.R.002. Метод: R24 coverage по категориям + R23 pair-diff между парами код файл ↔ docs файл. Получатель отчёта: владелец репо в другой временной позиции (категория 3 — внешняя проектная роль). Это аудит в строгом смысле — не автор кода, не ты сейчас. Тип роли (DP.D.080): R24 — контрольная роль. Read-only к аудитуемым артефактам. Отчёт = output-канал, не изменение аудитуемого.

Аргументы: $ARGUMENTS

Что делает

Проходит указанный репо и формирует отчёт о расхождениях между кодом и документацией. Не правит ни код, ни docs — только отчёт.

Параметр

  • --repo <path> (обязателен) или . (текущая директория).
  • --init --repo <path> — направляемая подготовка конфигурации; аудит не запускает.

Владение конфигурацией

Ответственность Подотчётная роль
Решить, что покрытие документацией требуется, и утвердить модель репозитория Владелец репозитория
Определить категории документации и пары «источник ↔ документация» R5 Архитектор совместно с владельцем
Материализовать утверждённый YAML Мейнтейнер или агент-исполнитель
Потреблять YAML и сообщать о расхождениях R24 Аудитор / audit-docs
Поставить шаблон, схему, bootstrap и утверждение о владении Мейнтейнер платформы / FMT

Блокирующее ограничение: агент вправе создать docs/.audit-context.yaml только после того, как владелец утвердил категории и маппинги. R24 Аудитор не изобретает семантическую модель ни во время аудита, ни перед ним.

Bootstrap (--init)

  1. Прочитать <repo>/CLAUDE.md; определить владельца и R5 Архитектора.
  2. Показать им пример .claude/skills/audit-docs/.audit-context.yaml.example.
  3. Получить от владельца явное утверждение списка категорий и каждой пары source_patternsdocs_patterns/file_naming. Без утверждения остановиться.
  4. Материализовать утверждённую модель в <repo>/docs/.audit-context.yaml, поставить owner_approved: true, approved_by и реальную дату.
  5. Выполнить валидацию ниже. Только успешный файл становится входом аудита.

Read the full file on GitHub · 175 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. 3d ago Changed · +1 lines f267893c84ac
  2. 9d ago First seen · 174 lines · 28 tokens per session scan A 1b1d7bb57038

Subscribe to this mod's changes

audit-docs is a skill published in the GitHub repository TserenTserenov/FMT-exocortex-template (49 stars, last pushed today), licensed MIT. It adds 28 tokens to every session and 2,236 once invoked, about $0.0001 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-30.

Related

Other skills, from other repositories

team-management-debugging

Systematic debugging — a four-phase root-cause methodology, boundary instrumentation for multi-component systems, the 3-fix escalation rule, and a verification gate to run before claiming anything is fixed. Use on any test failure, production bug, build failure, performance regression, or integration glitch, and…

TeamManagementPlugin/claude-plugin · 95 tokens

team-management-receiving-feedback

How to receive code review as technical evaluation rather than social performance — verify claims against the codebase before implementing, push back with evidence, and drop the performative agreement. Use when responding to a human reviewer, a PR comment, or another AI reviewer, and when deciding whether a suggestion…

TeamManagementPlugin/claude-plugin · 97 tokens

team-management-tdd-discipline

Test-driven development discipline — when TDD applies, when forcing it is wrong, and the RED-GREEN-REFACTOR loop with an explicit "watch it fail" step. Use when writing or reviewing tests, fixing a bug, changing behaviour, or deciding whether a change needs a test at all. Triggers on bug fixes, new validation or…

TeamManagementPlugin/claude-plugin · 96 tokens

data-profiling

Use BEFORE dispatching any subagent that needs to understand the dataset. Generates a high-density, PII-free data profile in Markdown so subagents receive structured context instead of raw data.

zpower426/datapowers · 42 tokens

leakage-guard

Use whenever building features for time-series or any temporal dataset. Enforces strict temporal integrity: no future data in features, no post-event information, correct CV strategy.

zpower426/datapowers · 39 tokens

verification-before-delivery

Use when any analysis, model, or report is claimed to be complete. Runs mandatory artifact integrity, statistical evidence, and reproducibility checks before any delivery.

zpower426/datapowers · 36 tokens