More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Audit Excel Models for Formula Errors and Hardcodes

    1

    Claude Code builds a workbook fast, but a hardcoded 1.05 inside a formula or one cell that breaks its row's pattern is easy to miss before you share it.

    $15

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Audit Excel Models for Formula Errors and Hardcodes

    Audit Excel Models for Formula Errors and Hardcodes

    Example session with this skill installed

    Audit examples/sample_budget.xlsx with scripts/xlsx_model_audit.py before I send it to the finance team, and list every cell I should review.

    • Read your context and instructions
    • Compiled the audit excel models
    • Generated the data export

    Summary

    Ran python3 scripts/xlsx_model_audit.py --workbook examples/sample_budget.xlsx. The audit found 4 findings in the Budget sheet: two hardcoded constants and one formula error that is also a pattern break. The workbook file was not changed and no formula was recalculated.

    Findings (exact output, also stored in examples/expected_output.txt)

    Budget!B2: [formula-hardcoded-constant] Move assumptions into input cells: 1.05
    Budget!B3: [formula-hardcoded-constant] Move assumptions into input cells: 1.05
    Budget!B4: [formula-error] Review the formula and its cached result.
    Budget!B4: [row-formula-drift] Compare this formula with the surrounding series.
    Summary: 4 findings
    

    How to read it

    CellRuleWhat to do
    Budget!B2, Budget!B3formula-hardcoded-constantThe literal 1.05 sits inside a formula. Move it to a labelled input cell and reference that cell.
    Budget!B4formula-errorThe cached result is an error value. Open the formula and fix its inputs.
    Budget!B4row-formula-driftThe formula differs from its neighbours in the column. Confirm the change is intended.

    Next steps

    1. Fix the flagged cells, then re-run the same command until it reports Summary: 0 findings.
    2. Add --strict to make the command exit 1 when findings remain, so a pipeline can block the file.
    3. Open the workbook in a spreadsheet application to recalculate it. The audit is static: a formula can be valid while its cached value is stale.

    sample_budget.xlsx

    CSV · data export

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Claude Code builds a workbook fast, but a hardcoded 1.05 inside a formula or one cell that breaks its row's pattern is easy to miss before you share it. This skill gives you a cell-addressed list of what to check, from one local Python command with no spreadsheet application.

    What it checks

    • Formula errors: cached error values such as #REF! and #DIV/0!, with the cell address.
    • Hardcoded constants: numeric literals inside formulas (including exponent notation such as 1E+6), with an allow-list option for expected constants.
    • Formula drift: a formula that differs from the pattern of its neighbours in the same column.
    • Numeric text and missing caches: numbers stored as text, formulas with no cached value, and external workbook references.

    How it works

    1. Point scripts/xlsx_model_audit.py --workbook at an .xlsx file. Optionally limit sheets with --sheets or pick rules with --checks.
    2. The script reads the workbook file statically with Python's standard library only. It never modifies or recalculates the workbook.
    3. Read the findings (text, JSON, CSV or Markdown). Each has a sheet, a cell, a rule and a review hint. --strict exits 1 when findings exist, so it can gate a pipeline.

    Limits

    It cannot tell whether a valid formula gives the intended business result, and a cached value can be stale: recalculate in a spreadsheet application. Legacy .xls files, encrypted .xlsx files, VBA macro contents and dependent results of shared formulas are not evaluated.

    Includes a sample workbook, expected output and unit tests.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Data & Databases.

    Supports only .xlsx files. Cannot process encrypted workbooks or perform live formula recalculation. Does not replace human financial logic verification.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 1 day ago

    Software
    Python 3.9+

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed1 day ago

    What's inside

    Frequently Asked Questions

    Cached formula error values, numeric literals inside formulas, formulas that differ from the pattern of their neighbours in a column, numeric-looking text cells, formulas with no cached value, and external workbook references. Each finding names the sheet, the cell, the rule and a review hint.

    No. It reads the .xlsx file statically and never modifies it or recalculates formulas. A formula can be valid while its cached value is stale, so open the workbook in a spreadsheet application to recalculate it.

    Modern .xlsx workbooks. Legacy .xls files and encrypted .xlsx files are not supported and return an error with exit code 2. VBA macro contents in .xlsm are not evaluated. Use --sheets or --exclude-sheets to choose which worksheets are scanned.

    Yes. --strict exits 1 when there are findings and 0 when there are none. Exit code 2 means the workbook or the options could not be read. Review the static-analysis limits first, because passing the audit does not prove the model is correct.

    Python 3.9 or newer. The script uses only Python's standard library, so there is nothing to install and no spreadsheet application is needed. Run the tests from the package folder with python3 -m unittest discover tests.

    No. It can flag a missing cached value or a hardcoded constant, but it cannot decide whether a formula such as =SUM(B2:B10) produces the intended business result. Treat the output as a review list for you or the model owner.

    New in Data & Databases