xlsx
Skill by ageerle
Creates, edits and analyzes spreadsheet files such as .xlsx, .xlsm, .csv and .tsv for an AI assistant. It covers formulas, formatting, data analysis and recalculation.
Install xlsx
Built from the published package, never by AI.
git clone --depth 1 https://github.com/ageerle/ruoyi-ai /tmp/ruoyi-ai && mkdir -p ~/.claude/skills && cp -r /tmp/ruoyi-ai/ruoyi-admin/src/main/resources/skills/xlsx ~/.claude/skills/xlsxRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/ageerle/ruoyi-ai /tmp/ruoyi-ai && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/ruoyi-ai/ruoyi-admin/src/main/resources/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 creating, editing and analyzing spreadsheet files such as .xlsx, .xlsm, .csv and .tsv. It covers building new workbooks with formulas and formatting, reading data with pandas, and modifying existing files while preserving their formulas. The skill tells the assistant to use Excel formulas instead of hardcoded calculated values, so the sheets stay updateable.
A bundled recalc.py script recalculates formulas through LibreOffice and scans every cell for errors such as #REF! and #DIV/0!. It returns a JSON report with error locations. The script can also create new workbooks from JSON input. The skill includes financial model conventions, such as blue inputs and black formulas, that apply unless a user or existing template says otherwise.
Written from the project's SKILL.md and checked against it.
What it can do
- Create spreadsheetsBuilds new workbooks with data, formulas and formatting using openpyxl.
- Read and analyze dataLoads spreadsheet data with pandas for previews, statistics and analysis.
- Edit existing filesModifies workbooks while keeping their formulas and formatting intact.
- Recalculate formulasRuns recalc.py to recalculate all sheets through LibreOffice.
- Scan for formula errorsReports cells with errors such as #REF!, #DIV/0!, #VALUE!, #N/A and #NAME?.
- Create workbooks from JSONUses recalc.py --create to build multi-sheet workbooks from a JSON description.
- Apply financial model formattingFollows color coding and number format conventions for financial models.
What you need
- LibreOffice installed for formula recalculation
- Python to run recalc.py
- pandas and openpyxl libraries
- Windows, Linux or macOS
Try asking
- Create an xlsx file with a sales table and a total formula in column C.
- Analyze the sales data in report.xlsx and summarize the key statistics.
- Update my budget workbook and keep all existing formulas working.
Good to know
- Formula recalculation depends on LibreOffice being installed.
- Opening with data_only=True and saving the file permanently removes formulas.
- Licensed as Proprietary; LICENSE.txt holds the complete terms.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: ruoyi-admin/src/main/resources/skills/xlsx/SKILL.md, ruoyi-admin/src/main/resources/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.py11 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
Does the xlsx skill need LibreOffice?
Yes. The source says to assume LibreOffice is installed so that recalc.py can recalculate formula values.
Can it edit an existing spreadsheet without breaking formulas?
The skill recommends loading the file with openpyxl to preserve formulas and formatting. It also warns that saving after data_only=True replaces formulas with values.
What does recalc.py report?
It recalculates all sheets, scans every cell for Excel errors and returns JSON with the status, error counts and error locations.
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 89 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.
