borghei/xlsx-toolkit
> Audit Microsoft Excel (.xlsx) workbooks for formula density, external references, named ranges, hidden sheets, and data validation. Use when reviewing a financial model, sharing a workbook externally, or checking for data leakage.
npx skills add https://github.com/borghei/Claude-Skills --skill xlsx-toolkit
Audit .xlsx files using the standard library only — no openpyxl required. Reads OOXML directly via zipfile + xml.etree.
xlsx, Excel, spreadsheet, workbook, financial model, formula audit, hidden sheets, external references, named ranges, data validation
Before running the audit, confirm these inputs. If any is unknown or vague, ASK — do not assume:
Stop rule: ask only the 2-3 that most change the output. If the user says "just draft it," proceed and list your assumptions at the top of the artifact.
python scripts/xlsx_auditor.py model.xlsx
Outputs: sheet count and names, hidden-sheet count, cell count per sheet, formula count per sheet, external link count, named range count, data validation rule count.
Goal: Catch the issues that embarrass the sender — leftover hidden sheets, broken external links, unused named ranges, formulas referencing local file paths.
Steps:
Time Estimate: 5-10 minutes per workbook.
Goal: Quantify the rough complexity of a financial model before reading cell-by-cell.
Steps:
references/financial_model_audit_guide.mdTime Estimate: 30-60 minutes per model audit (audit + targeted reading).
Goal: Ensure a workbook handed off to another team or partner won't break on their machine.
Steps:
.xlsx extension expected; convert if recipient cannot run macrosTime Estimate: 10-20 minutes per workbook.
Reads a .xlsx file as a ZIP archive and parses OOXML directly.
python scripts/xlsx_auditor.py model.xlsx
python scripts/xlsx_auditor.py model.xlsx --json
Reports:
Limits:
references/financial_model_audit_guide.md — Patterns for auditing financial models; common error categories; defensive structure tipsassets/workbook_handoff_checklist.md — Pre-send xlsx sign-off checklist'C:\Users\you\Desktop\old-model.xlsx' is the workbook equivalent of leaving your laptop name in the document author field.Inputs!B7 mean nothing. Named ranges like WACC and RevenueGrowth survive structural changes.finance/ skills for financial-model reviewc-level-advisor/cfo-advisor for board-pack workbook reviewdata-analytics/ for ad-hoc analytics handoffTake borghei/xlsx-toolkit from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.