Spreadsheet Auditing & Data Analysis / Agent Skill

Huashu Excel:
Make every number your AI calculates survive a tough audit.

An 8-step data analysis and Excel workflow—profile, clean, align, analyze, reconcile, deliver, visual-check, and independent QA. Reads raw cells via openpyxl before touching pandas and blocks delivery if the master check fails.

Author: · MIT License · Verified against repository on

What Huashu Excel helps you ship.

Profile Raw Cells Before Touching Pandas

Detect multi-row headers, merged cells, embedded subtotal/total rows, duplicate paste accidents, string-formatted numbers, and mixed date formats before any sum() runs.

Use Built-In Total Rows as Free Checksums

Reconcile cleaned detail rows against the workbook’s own subtotal and total rows (ICAEW Master Check), catching even tiny manual input errors before reporting.

Align Definitions & External Benchmarks Mid-Flow

Pause after profiling and cleaning to show what the data actually contains, verify business definitions, and look up external benchmarks before running deep analysis.

Automated Visual & Independent Re-Calculation QA

Run verify_visual.py and verify_docx.py to catch overlapping labels or mismatched text/chart figures, followed by an independent recalculation pass from raw data.

Quick Start

Profile one real dirty spreadsheet before computing a single total.

npx skills add alchaincyf/huashu-excel

Works across Claude Code, Codex, Cursor, OpenClaw, Hermes, and as a DeepSeek Harness plugin. Only requires openpyxl for .xlsx files (CSV workflows run on pure Python standard library).

  1. 1. Install the skill (and openpyxl for .xlsx)

    Run npx skills add alchaincyf/huashu-excel (or dsh plugin --profile desktop add github:alchaincyf/huashu-excel). Ensure Python has openpyxl for Excel files.

  2. 2. Run profiling and cleaning before locking KPIs

    Ask your agent to analyze a spreadsheet or investigate why two numbers disagree. It runs profile_table.py first, reports structural anomalies, and pauses to align metrics with you.

  3. 3. Pass verify_numbers.py and visual QA before exporting

    Only after row-count conservation, sum reconciliation, and chart/document verification pass does the agent deliver the final Excel, HTML, or Word report.

Copy-and-paste first prompt

Use huashu-excel to profile and clean [insert spreadsheet path] before computing any headline KPIs. Report the true header rows, merged cells, embedded subtotals, anomalies, and master-check reconciliation against any built-in totals first—then pause so we can confirm exact metric definitions before analysis.

Real references and examples from the repo.

Frequently asked questions.

Why not just call pd.read_excel() directly?

In the README’s benchmark dirty workbook, naive pd.read_excel() double-counted subtotal, total, and duplicate rows—overstating monthly sales by +161% with zero exceptions, zero NaNs, and zero warnings. Inspecting raw cells with openpyxl first catches these silent errors.

Can I run the verification scripts directly from the command line?

Yes. scripts/profile_table.py, verify_numbers.py, verify_visual.py, and verify_docx.py all run standalone and return exit code 1 whenever a check fails.

Does it require pandas, matplotlib, or subagents?

No. The core scripts only need openpyxl (and nothing beyond stdlib for CSV). The skill adapts to whatever runtime capabilities exist, even falling back to step-by-step Excel instructions if code execution is unavailable.

Why does Step 3 intentionally stop to ask questions?

Users rarely know every quirk of a spreadsheet before seeing its profile. Pausing once after cleaning to align business definitions prevents wasting an entire report on the wrong question.

Is it compatible with DeepSeek Harness?

Yes. The repository doubles as an installable DeepSeek Harness plugin for desktop and web profiles.

Primary sources

Verified on . Capabilities and install commands follow the public repository; check GitHub for the latest changes.