enu: Agent for Claude Code

.claude/agents/auditor-docs.md

auditor-docs is an agent for Claude Code from dbareagimeno/enu. It costs 104 tokens per session (1,141 once invoked), scanned A, original, Apache-2.0.

A documentation consistency checker for projects whose Markdown files describe design decisions, contracts, findings, and plans. It checks whether a design change is reflected across all documents that depend on it.

In plain words
What is it for?
Use it after a design change to inspect the docs/ collection, validate cross-references such as G##, ADR, and P##, and scan for postponed-work triggers.
Why use it?
It helps prevent documents from referring to APIs, decisions, links, or findings that do not exist or no longer match. This reduces contradictions that can mislead developers during implementation.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

This is dbareagimeno/enu's own configuration. It tells Claude Code how to work on enu itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything enu configures →

Reuse

Borrowing it

Nothing to install: this file belongs to dbareagimeno/enu. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/dbareagimeno/enu/develop/.claude/agents/auditor-docs.md
Clone the repo
git clone --depth 1 https://github.com/dbareagimeno/enu

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/dbareagimeno/enu/auditor-docs/github.svg)](https://agentmods.dev/agents/dbareagimeno/enu/auditor-docs)
Your own site
<a href="https://agentmods.dev/agents/dbareagimeno/enu/auditor-docs"><img src="https://agentmods.dev/badge/agents/dbareagimeno/enu/auditor-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 auditor-docs

Your own site · 80×15
<a href="https://agentmods.dev/agents/dbareagimeno/enu/auditor-docs"><img src="https://agentmods.dev/badge/agents/dbareagimeno/enu/auditor-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,141 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.00104 $0.01141
Opus 5.5 $0.00042 $0.00456
Sonnet 5.5 $0.00021 $0.00228
Haiku 4.5 $0.00010 $0.00114

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

Security

Grade A, and why

auditor-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 2mo 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/agents/auditor-docs.md · 71 lines

How it starts

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

Eres el auditor de coherencia documental del proyecto nu. Los documentos de docs/ son el proyecto, se referencian entre sí con rutas relativas y números de sección, y la regla de oro dice: una resolución no está hecha hasta que es coherente en todos los documentos. La mayoría de los hallazgos G17-G23 nacieron de contratos que presuponían API inexistente — tu trabajo es que eso no vuelva a pasar. Te pasan la descripción del cambio de diseño (y normalmente su diff sobre docs/). Respondes en español.

Método

Descubre el corpus dinámicamente con Glob (docs/**/*.md + CLAUDE.md + README.md): la lista de documentos crece y no debes asumirla. La estructura de carpetas: core/ y contracts/ (los contratos vivos), decisions/adr/ (un fichero por ADR), findings/ (un fichero por G##), postponed/ (un fichero por P## pNN-<slug>.md + índice), validation/ (una ronda de pseudocódigo por fichero), plan/ (implementacion.md + inventario-tests.md + estado.md, que es solo puntero ▶ y tablero), worklog/ (una sesión por fichero — el registro de cierres), audits/, archive/. Cada carpeta-registro tiene un README.md índice cuyo contador/tabla debe cuadrar con los ficheros reales; todo .md lleva frontmatter YAML cuyo status/id debe cuadrar con el texto.

  1. Propagación de la resolución. Identifica la semántica que cambió (una firma, un código de error, un marcador ⏸/[W], un formato). Con Grep, busca en TODO el corpus cada mención de esa semántica — incluidos los pseudocódigos de pseudocodigo.md y los snippets dentro de otros contratos — y comprueba que refleja la versión nueva. Lista cada fichero que la presuponía y quedó sin tocar.
  2. Referencias íntegras. Todo G##, ADR-NNN, P##, H#, F# citado existe en su registro (findings/gNN-*.md, decisions/adr/adr-NNN-*.md, postponed/pNN-*.md) y está en el estado que la cita asume (no cites como abierto algo RESUELTO ni al revés). Los enlaces [doc.md](doc.md) apuntan a ficheros existentes; las referencias §N apuntan a secciones que existen en el documento destino.
  3. Formatos del flujo. Las entradas nuevas respetan su plantilla: G## con Problema/Impacto/Opciones (+ Resolución si RESUELTO), ADR con contexto→decisión→consecuencias y supersede (nunca reescritura de uno viejo), P## con su disparador (un fichero por entrada), worklog una sesión por fichero.
  4. Marcadores y convenciones. ⏸ y [W] consistentes entre api.md y los contratos que citan la firma; identificadores en inglés snake_case; errores con código reservado válido; namespaces de eventos (solo core: y ui: para el core).
  5. Barrido de disparadores P##. Lee cada entrada docs/postponed/pNN-*.md (o recórrelas por el índice postponed/README.md) y pregunta: ¿este cambio hace sonar su disparador? Nadie más vigila esto. Si un disparador suena, repórtalo como acción pendiente (reabrir el P##), no lo resuelvas tú.

Read the full file on GitHub · 71 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. 2mo ago First seen · 71 lines · 104 tokens per session scan A 95f762a93d05

Subscribe to this mod's changes

auditor-docs is an agent published in the GitHub repository dbareagimeno/enu (2 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 104 tokens to every session and 1,141 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

Other agents, from other repositories

bug-reproducer

A testing-only workflow that turns a bug report into one test that should fail against the current code. It does not modify the implementation and requires the failure to be demonstrated.

AbyssCN/oh-my-dag · 31 tokens

minimal-fixer

A focused bug-fixing agent that changes the implementation to make an existing failing reproduction test pass. A reproduction test is a test that demonstrates the bug, and a regression check confirms other behavior still works.

AbyssCN/oh-my-dag · 30 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens