wenayy

Nova Invoice Audit — Security skill for Claude Code

Security community

AI agents that audit freight invoices against contracts and email: catch overcharges, duplicates, waived-but-billed fees, wrong late fees, unpaid rebates and expiring contracts, with quoted evidence.

How to install Nova Invoice Audit

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

What Nova Invoice Audit does

AI agents that audit freight invoices against contracts and email: catch overcharges, duplicates, waived-but-billed fees, wrong late fees, unpaid rebates and expiring contracts, with quoted evidence. 99.6/100, $0 wrongly disputed.

Alternatives in Security

  • Query Token Audit — Audit token security to detect scams, honeypots, and malicious contracts across BSC, Base, Solana, and Ethereu 483 ★
  • CodexQB — CodexQB is a Codex plugin for evidence-backed repo comprehension, planning, QA audit, and gated implementation 186 ★
  • Smart Contract Security Review — Run security review on Scalus smart contracts at specified path 105 ★

README

Nova: an AI harness that finds the money leaking out of freight invoices

A multi-agent harness for accounts payable. It reads a freight mailbox (emails with PDF invoices, Excel statements, contracts and amendments), remembers what the contracts say, and finds six kinds of overbilling with the amount and the quoted lines that prove it.

**The idea: the model reads, Python decides.** An LLM turns every document into typed facts with exact quotes. Verdicts, amounts, actions and confidence all come from plain, testable Python over those facts. No money figure is ever written by a model, so a bad extraction shows up as a missed or short finding, never an invented one.

Results

Check Result
Practice grader (make grade) 99.6 / 100: 22/22 findings with quotes on the right pages, 0 false, $14,140.09 recovered, $0 wrongly disputed
Adaptation to new documents 11/11 (backdated amendments, extensions, late registers)
Learning from feedback 3/3
Clean invoices left alone 16/16
Actions per mode (supervised / autonomous) 24/24 each, no hard-gate violations
Own eval suite (make eval) 26/26, 24 written by me on a new carrier, layout and contract wording
Model portability same scores on Claude Opus 5 and DeepSeek

The six classes it finds: overcharge, duplicate billing, waived-but-billed, late fees (owed or at risk), unpaid cashback/credits, and contract expiry. Plus **conflicts** (two trusted sources disagree, so a human decides) and **cannot_determine** (a needed document is missing, and the harness says who holds it).

Architecture

 mailbox (.eml + PDF + XLSX, scans)
        |
   docs.py      pages of text, same reader the grader uses
        |
   facts.py     one forced tool call per document -> typed facts + exact quotes
        |       (contracts read one table per call; scans read by vision + local OCR cross-check;
        |        invoices self-checked: lines must sum to the printed subtota