By scottmsilver
Construction invoice analysis toolkit: draw auditing, PDF extraction, line matching, data cleanup, and email drafting
Produce a homeowner insight summary and GC email from invoice audit findings
Extract structured data from construction invoices, receipts, or pay applications
Analyze and audit monthly construction draw requests from a general contractor
Match parent invoice line items to supporting documents
Verify cost reasonableness of invoice line items against market rates
Audit a contractor invoice: orchestrate ingestion, verify math, cross-reference budget, match line items, flag anomalies, and produce a structured report. Use when reviewing any contractor billing.
Produce two outputs from invoice audit findings: (1) a homeowner insight summary highlighting what actually matters, and (2) a plain-text email to the GC. Calibrates tone to severity — jokes about pennies, direct about missing COs.
Read a construction invoice PDF once, detect document boundaries, and extract raw structured data from every document. Write extracted.json. Never corrects values — downstream skills handle comparison and judgment.
Match parent invoice line items to supporting documents. Compare what the GC claims vs what the actual documents say. Flag every mismatch — invoice numbers, amounts, dates, vendor names.
Verify cost reasonableness of invoice line items: labor rates vs market, material prices vs retail, equipment rental rates vs published sheets, and specialty contract pricing vs industry benchmarks.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
A Claude Code plugin for homeowners managing large residential construction projects. Audits monthly draw requests from your general contractor, extracts invoice data from PDFs, cross-references against your budget, and drafts emails to your GC.
Every month your GC sends a draw request — a PDF with a cover page, a detail summary of every charge, and a stack of supporting invoices (typed invoices, handwritten receipts, progress billings, rental invoices, etc.). This plugin reads all of it, verifies the math, checks every invoice against the summary, cross-references your budget spreadsheet, and tells you what to pay, what to question, and what to dispute.
/invoice:invoice-analyzerThe main skill. Give it the draw PDF and your actuals spreadsheet, and it produces:
> /invoice:invoice-analyzer
Then point it at your files:
data/feb/Draw Request.pdf
data/feb/Actuals.xlsx
/invoice:extractorExtracts structured data from a single PDF invoice — typed invoices, photographed receipts, handwritten invoices, progress billings, rental invoices, pay applications. Handles wildly different formats.
> /invoice:extractor
Upload or point it at any construction invoice PDF.
/invoice:matcherMatches line items from the GC's detail summary to their supporting invoices. Flags mismatches in amounts, vendor names, and invoice numbers. Uses greedy and bipartite matching algorithms.
> /invoice:matcher
Give it the parent summary and a set of supporting invoices.
/invoice:boundary-detectorSplits a multi-document PDF into individual documents. Construction draw PDFs typically concatenate a cover page, detail summary, and 20-40 supporting invoices into one file. This skill finds where each document starts and ends.
> /invoice:boundary-detector
Point it at a concatenated draw request PDF.
/invoice:cleanupNormalizes extracted invoice data — fixes vendor name variations, handles credits in parentheses, distinguishes subtotals from line items, cleans up progress billing math, and standardizes date formats.
> /invoice:cleanup
Run it on raw extraction output that needs normalization.
/invoice:email-drafterTurns audit findings into a plain-text email to your GC. Calibrates tone to severity — self-deprecating about penny discrepancies, direct about missing change orders, professional about disputes.
> /invoice:email-drafter
Run it after the invoice-analyzer to draft your response.
Clone this repo into your Claude Code plugins directory:
git clone https://github.com/scottmsilver/invoice-tools-marketplace.git \
~/.claude/plugins/marketplaces/invoice-tools
Install Python dependencies:
pip install -r ~/.claude/plugins/marketplaces/invoice-tools/plugins/invoice/lib/requirements.txt
Restart Claude Code. The skills will appear as invoice:invoice-analyzer, invoice:extractor, etc.
For best results, keep a project-context.md file alongside your draw PDFs with project-specific details:
The invoice-analyzer will pick this up automatically. If it's not there, it extracts what it can from the draw itself.
The lib/ directory contains tested implementations:
PDFExtractor — PDF text extraction and page splitting (PyMuPDF)LLMService — multi-provider LLM calls (Gemini/Claude/OpenAI) with rate limiting, caching, JSON repairValidationService — line item matching with greedy and bipartite algorithmsImageConverter — convert photographed receipts to PDFMIT
npx claudepluginhub scottmsilver/invoice-tools-marketplace --plugin invoiceConnect Claude to your Well financial data — invoices, companies, contacts, transactions, and the accounting ledger — over a hosted OAuth MCP, with skills for real financial workflows.
Finance intelligence skills powered by iGPT. Extracts invoices, tracks subscriptions, builds expense reports, monitors payment status, analyzes vendor spend, and collects tax documents — all from connected email datasources.
Open Accountant financial skills — P&L reports, budgeting, tax prep, debt payoff, and more for AI agents
Create project estimates, change orders, progress reports, and RFI responses for construction project management
Complete creative writing suite with 10 specialized agents covering the full writing process: research gathering, character development, story architecture, world-building, dialogue coaching, editing/review, outlining, content strategy, believability auditing, and prose style/voice analysis. Includes genre-specific guides, templates, and quality checklists.
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.