Excel Hygiene
A 'second pair of eyes' Claude Code skill for any .xlsx — deterministic mechanical checks (openpyxl) plus Panko–Halverson error-taxonomy reasoning.
Install
git clone https://github.com/BayramAnnakov/excel-hygieneInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →excel-hygiene
A rigorous "second pair of eyes" on any .xlsx before it goes out — packaged as a
Claude Code / Agent Skills skill.
It combines two layers:
- A deterministic Python script (
scripts/check_excel.py, openpyxl-only) for precise, reproducible mechanical checks. - LLM reasoning driven by the full Panko–Halverson (2008) spreadsheet-error taxonomy
embedded in
SKILL.md— violations vs errors · qualitative vs quantitative · mistakes / slips / lapses · life-cycle stages — applied with general business and spreadsheet knowledge.
The script is a floor, not a ceiling: the skill explicitly tells the agent to reason beyond the listed checks, never to treat them as a fixed checklist. It is client-agnostic — no business rules are baked in.
What the script catches (mechanical, high-confidence)
| Check | What it flags |
|---|---|
| Number as text | A numeric value stored as a string → SUM silently skips it, the total is understated |
| Number over formula | A static number sitting in a column that is otherwise formulas → a formula may have been overwritten |
| Cell error | #DIV/0! / #REF! / … literals (EN and RU), and formulas that divide by zero |
| Truncated SUM | A vertical SUM that stops before the last populated data row → a row may be dropped |
| Percent as whole number | A value > 1 in a column whose header contains % → likely off by ×100 |
Everything else — logic errors, omissions, ambiguous units, structural smells — is surfaced by the agent's reasoning against the taxonomy, and marked "confirm" (lower confidence than the script).
Install
This is a personal/project skill — just drop the folder where Claude Code looks for skills.
Personal (all projects):
git clone https://github.com/BayramAnnakov/excel-hygiene ~/.claude/skills/excel-hygiene
pip install -r ~/.claude/skills/excel-hygiene/requirements.txt
Project-scoped (this repo only):
git clone https://github.com/BayramAnnakov/excel-hygiene .claude/skills/excel-hygiene
pip install -r .claude/skills/excel-hygiene/requirements.txt
The same SKILL.md folder also works in other Agent-Skills hosts (e.g. Cursor) — point them at their
skills directory instead.
Usage
Once installed, the agent invokes it automatically when you ask it to review a spreadsheet ("check this xlsx for errors"), or you can call it directly:
/excel-hygiene
You can also run the mechanical checker on its own, no agent required:
python3 scripts/check_excel.py path/to/file.xlsx
Try it on the bundled example, which trips every check:
python3 scripts/check_excel.py examples/broken.xlsx
The two-layer pattern (generic + your domain skill)
excel-hygiene is the universal layer. It deliberately does not know your numbers. For
project-specific thresholds — your exact bonus %, margin rate, segment bands, program conditions — it
will not assert a verdict; it flags "this looks off, confirm against your rules."
Those rules belong in a separate domain skill you author with your own thresholds, sitting on top of this one:
Similar plugs
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local…
Why use many token when few token do trick. Viral skill + proxy for coding agents that cuts 65% of tokens by talking like a caveman.
Production-grade engineering skills for AI coding agents.
The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create prototypes, websites, apps, dashboards, presentations, images, and videos with your team…