xlsx
Skill by davila7
Gives an AI assistant instructions and scripts for creating, editing and analyzing .xlsx and .csv spreadsheets. It is meant for spreadsheet processing and analysis.
Install xlsx
Built from the published package, never by AI.
git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/scientific/document-skills/xlsx ~/.claude/skills/xlsxRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/scientific/document-skills/xlsx ~/.gemini/antigravity-cli/skills/xlsxAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The xlsx skill gives an AI assistant instructions for working with Excel and CSV spreadsheets. It covers creating new workbooks, editing existing files, reading data with pandas, and adding formulas and formatting with openpyxl. It asks the assistant to use Excel formulas instead of hardcoded results, so spreadsheets stay updatable.
A recalc.py script recalculates formula values in LibreOffice and scans every cell for errors such as #REF! and #DIV/0!. It returns JSON with error locations and counts, and the skill requires zero formula errors in delivered models. Financial models follow listed color and number format conventions, such as blue inputs and black formulas, unless an existing template overrides them. It is meant for spreadsheet processing and analysis.
Written from the project's SKILL.md and checked against it.
What it can do
- Create workbooksCreates new Excel workbooks with openpyxl, including data, formulas and formatting.
- Edit existing filesLoads and modifies existing workbooks while preserving formulas and formatting.
- Analyze dataReads sheets and analyzes data with pandas, such as previewing and summary statistics.
- Recalculate formulasRuns recalc.py to recalculate all formulas in all sheets.
- Check formula errorsScans every cell for errors such as #REF!, #DIV/0!, #VALUE!, #N/A and #NAME?.
- Financial formattingApplies color coding and number formats used in financial models.
- Formula-first ruleWrites Excel formulas instead of hardcoded calculated values.
What you need
- LibreOffice, used by recalc.py
- Python
- openpyxl library
- pandas library
Try asking
- Create an Excel workbook with a sales table and SUM formulas for totals.
- Recalculate the formulas in report.xlsx and list any errors.
- Analyze data.csv with pandas and summarize the key statistics.
Good to know
- recalc.py needs LibreOffice to recalculate formula values.
- Saving a workbook loaded with data_only=True permanently removes formulas.
- License is Proprietary; LICENSE.txt has the full terms.
- Existing template conventions override the formatting guidelines.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: cli-tool/components/skills/scientific/document-skills/xlsx/SKILL.md, cli-tool/components/skills/scientific/document-skills/xlsx/recalc.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
LICENSE.txt1 KB -
SKILL.md12 KB -
recalc.py6 KB
Alternatives to xlsx
All alternatives →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
xlsx: common questions
What does recalc.py do?
It recalculates all formulas in all sheets and scans every cell for Excel errors. It returns the results as JSON with error locations and counts.
Does editing a file with this skill keep its formulas?
Using openpyxl to load and save preserves formulas and formatting. However, loading with data_only=True and saving replaces formulas with values permanently.
Which file types does this skill cover?
The skill covers Excel .xlsx files and .csv files, according to its description.
How do I install xlsx?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is xlsx free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is xlsx safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to xlsx?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
