auditar-marco

auditar-marco is a command for Claude Code from luanpdd/kit-mcp. It costs 19 tokens per session (2,343 once invoked), scanned A, original, MIT.

A milestone review command that checks completed work against its original intent, existing verification reports, technical debt, and connections between project phases.

In plain words
What is it for?
Use it to produce an integration and completion audit for a milestone, including optional observability scoring.
Why use it?
It helps uncover unfinished work or integration gaps before a milestone is archived.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

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 commands/luanpdd/kit-mcp/auditar-marco
Clone the repo
git clone --depth 1 https://github.com/luanpdd/kit-mcp

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 auditar-marco

README.md
[![agentmods](https://agentmods.dev/badge/commands/luanpdd/kit-mcp/auditar-marco.svg)](https://agentmods.dev/commands/luanpdd/kit-mcp/auditar-marco)
Your own site
<a href="https://agentmods.dev/commands/luanpdd/kit-mcp/auditar-marco"><img src="https://agentmods.dev/badge/commands/luanpdd/kit-mcp/auditar-marco.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,343 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.1 $0.00019 $0.02343
Opus 5 $0.00010 $0.01171
Sonnet 5 $0.00004 $0.00469
Haiku 4.5 $0.00002 $0.00234

Measured 2d ago against content hash 24072293ca82, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

auditar-marco 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 2d 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.

kit/commands/auditar-marco.md · 180 lines

How it starts

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

Este comando É o orquestrador. Lê os arquivos VERIFICATION.md existentes (fases já verificadas durante o executar-fase), agrega dívidas técnicas e lacunas adiadas, então invoca o verificador de integração para a fiação entre fases.

<execution_context> @./.claude/framework/workflows/audit-milestone.md </execution_context>

Arquivos principais de planejamento são resolvidos no workflow (init milestone-op) e carregados apenas quando necessário.

Trabalho Concluído: Glob: .planning/phases//-SUMMARY.md Glob: .planning/phases//-VERIFICATION.md

<observability_integration> OMM scoring (v1.9 — INT-FW-04):

Quando workflow.audit_milestone_omm = true (default), o workflow inclui passo OMM scoring:

Skill(skill="framework:auditar-observabilidade")

O comando /auditar-observabilidade invoca o agente omm-auditor que pontua as 5 capacidades (resiliência, qualidade, complexidade, cadência, comportamento) contra o marco anterior. O OMM-REPORT.md gerado é incluído como anexo no MILESTONE-AUDIT.md.

Resultado de regression OMM:

  • 0 regressions: audit aprovado
  • 1+ regressions, blocking=false: warn explícito; audit aprovado com nota
  • 1+ regressions, blocking=true (workflow.omm_no_regression=true): audit fail → user escolha entre fix lacunas ou aceitar

Skill consultada: observability-maturity-model.

REQ: INT-FW-04. </observability_integration>

<sre_integration> Toil scoring auto-invocação (v1.10 — INT-FW-V2-03):

Quando workflow.audit_milestone_toil = true (default), o workflow inclui passo Toil audit auto-invocação antes do passo de OMM scoring (que já existe via <observability_integration> v1.9 — INT-FW-04):

Skill(skill="framework:auditar-toil")

O comando /auditar-toil invoca o agente toil-auditor que analisa git log recente (≤ 90 dias) + scripts shell em scripts/ + comandos manuais documentados em README/runbooks/.planning/runbooks/ + tarefas repetitivas em .planning/phases/*/SUMMARY.md. O agent classifica candidatos a automação (P0/P1/P2 por esforço × frequência) e produz .planning/TOIL-AUDIT.md na raiz do .planning/. Cap 5 do livro Google SRE (Eliminating Toil) define toil canonicamente: manual + repetitivo + automatizável + tático + sem valor durável + escala linear com tráfego/team.

Loop fechado canônico:

/auditar-marco
  ↓
Step A: invoca /auditar-toil   ← gera .planning/TOIL-AUDIT.md (este patch — INT-FW-V2-03)
  ↓
Step B: invoca /auditar-observabilidade   ← OMM scoring v1.9 (INT-FW-04)
  ↓
omm-auditor consulta .planning/TOIL-AUDIT.md   ← Capacidade 3 — Complexidade / Tech Debt (Phase 39 INT-OBS-02)
  ↓
OMM-REPORT.md inclui Capacidade 3 score derivado de % toil pelo time
  ↓
MILESTONE-AUDIT.md inclui OMM-REPORT.md + TOIL-AUDIT.md como anexos

Por que rodar /auditar-toil ANTES de /auditar-observabilidade:

O agent omm-auditor (Capacidade 3 patcheada em Phase 39 / INT-OBS-02) tem regra absoluta:

"score Capacidade 3 > 3 exige TOIL-AUDIT.md fresco ≤ 30 dias com % toil < 30%"

Se TOIL-AUDIT.md ausente ou stale (> 30d), omm-auditor delega geração via Task(subagent_type=toil-auditor) ad-hoc — duplicação. Auto-invocar /auditar-toil em /auditar-marco evita essa duplicação ao garantir que omm-auditor encontre TOIL-AUDIT.md fresco.

Tabela de score Capacidade 3 (consumida por omm-auditor):

Read the full file on GitHub · 180 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. 2d ago First seen · 180 lines · 19 tokens per session scan A 24072293ca82

Subscribe to this mod's changes

auditar-marco is a command published in the GitHub repository luanpdd/kit-mcp (1 stars, last pushed 5d ago), licensed MIT. It adds 19 tokens to every session and 2,343 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-09-03.