AverageCargo87

Grounded Multi Agent Document Audit — Security skill for Claude Code

Security community

Multi-agent audit and diff of long documents where code verifies every quoted piece of evidence before a finding counts, then skeptic agents try to refute each one.

How to install Grounded Multi Agent Document Audit

This entry records only its repository, not the path inside it, so there is no exact command to give. Open AverageCargo87/grounded-multi-agent-document-audit and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Grounded Multi Agent Document Audit does

Multi-agent audit and diff of long documents where code verifies every quoted piece of evidence before a finding counts, then skeptic agents try to refute each one. Real run on a 13-change planted benchmark: recall 1.00, precision 1.00 vs 0.87 for a no-LLM baseline

Alternatives in Security

  • Maestro Odyssey — Long-running iterative cycle — one entry, seven modes (debug improve planex review security defensive ui) 530 ★
  • Migration Agent — Plans a token migration (format, tool, naming or tier): chains token-audit and naming-audit, builds the transf 194 ★
  • Vuln Scan — Multi-agent security vulnerability sweep — fans out region-scoped hunters, verifies findings, and reports 107 ★

README

Grounded Multi-Agent Document Audit

**A multi-agent pipeline that audits one long document, or compares two versions of it, where no finding reaches the report on an agent's word. Code checks every quoted piece of evidence against numbered source paragraphs and rejects what it cannot find, checks that text claimed as "added" is really absent from the old version, and measures which changes no agent cited. Every surviving finding then goes to a skeptic agent whose job is to refute it, and the final editor may reorder findings but never add, upgrade or resurrect one.**

What it is Two modes. Audit: one document, looking for contradictions, broken references, undefined terms and gaps. Diff: version A vs B, every substantive change. Deterministic ingest, paragraph alignment, sweeps, quote verification, merge, coverage and severity aggregation in Python; LLM section readers, a cross-reference checker, a gap reader, skeptics and an editor in between. Markdown and JSON reports with every finding linked to its paragraphs
Result Real multi-agent run (Claude Code Workflow runner, Claude Opus 5.5 agents) on a 13-change planted benchmark: diff recall 1.00 (13/13), precision 1.00 (17/17 scored findings), 0 of 5 editorial edits flagged, against precision 0.87 for the no-LLM baseline (examples/results/planted-diff-claude-workflow/score.json). The quote verifier rejected 3 of 24 agent findings before any skeptic saw them. Offline fixture runs: it rejected all 10 of 10 injected fabricated quotes on GPL-2.0 vs GPL-3.0 and nothing else (tests/test_pipeline.py). Python runner on the API and audit mode: pending
Stack Python standard library core (PyMuPDF optional for PDF), Anthropic Messages API with structured outputs, a Claude Code Workflow script (JavaScript) as a second runner, pytest, Node for the offline workflow test. Full suite run on Python 3.14; the committed fixture results reproduce byte for byte on 3.12