xlsx
Skill by mudler
Edits and checks Excel .xlsx and .xlsm workbooks with the paper-xlsx library, which imports as openpyxl. Built for precise changes to existing spreadsheets, with LibreOffice recalculation and page renders for review.
Install xlsx
Built from the published package, never by AI.
git clone --depth 1 https://github.com/mudler/LocalAI /tmp/LocalAI && mkdir -p ~/.claude/skills && cp -r /tmp/LocalAI/addons/sandbox/skills/xlsx ~/.claude/skills/xlsxRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/mudler/LocalAI /tmp/LocalAI && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/LocalAI/addons/sandbox/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 assistant a way to work with Excel .xlsx and .xlsm files using the paper-xlsx distribution, which imports as openpyxl. In preserve mode, edits are spliced into the original package instead of regenerating unrelated OOXML, and mutations that cannot be mapped safely are refused. A save can return a receipt that holds change evidence.
The skill also covers recalculation and checking. Formulas are calculated with LibreOffice through openpyxl.oracle.recalc or a recalc.sh script, and render.sh converts a workbook to PNG pages for visual review. The source asks the assistant to build in the office sandbox profile and to say what it checked. It is aimed at people who need precise changes to existing spreadsheets.
Written from the project's SKILL.md and checked against it.
What it can do
- Preserve-mode savesKeeps the original workbook package and splices supported edits into place.
- Save receiptsWith receipt=True, workbook.save returns change evidence in preserve mode.
- Guarded editsRefuses structural or table mutations it cannot map safely, raising PaperRefusal.
- RecalculationUses openpyxl.oracle.recalc or recalc.sh to cache calculated values through LibreOffice.
- Page renderingrender.sh converts a workbook to a PDF and writes a PNG for each printed page.
- Value checksReads recalculated copies with data_only=True to look for None or error values.
What you need
- Sandbox add-on with a guest image (gVisor or virtual machine)
- Office sandbox profile with LibreOffice Calc and fonts
- Python with the paper-xlsx package installed
Try asking
- Update the totals in this Excel file and keep the existing formatting
- Recalculate this workbook and check the formula results for errors
- Render the sheets of this xlsx file so I can review the layout
Good to know
- The host backend does not have these tools; only the sandbox guest image does.
- Paper does not calculate formulas; LibreOffice results can differ from Excel.
- Switching sandbox profile restarts the sandbox and loses installed packages and running processes.
- The recalc.sh copy is written by LibreOffice and can lose styles or unsupported features.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: addons/sandbox/skills/xlsx/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB -
notice.txt5 KB -
references/api-001.md90 KB -
references/api-002.md81 KB -
references/api-003.md172 KB
Show all 9 files
-
references/api-004.md117 KB -
references/api-005.md113 KB -
references/api-006.md82 KB -
references/paper-api.md8 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 this skill keep the original formatting of an Excel file?
In preserve mode, paper-xlsx keeps the original package and splices supported edits into place instead of regenerating unrelated OOXML. Mutations it cannot map safely are refused.
Does it calculate formulas by itself?
No. The source says Paper does not calculate formulas, so values are recalculated with LibreOffice through openpyxl.oracle.recalc or the recalc.sh script.
Can I see what the workbook looks like before I deliver it?
Yes. The render.sh script converts the workbook to a PDF and writes PNG images of each printed page for review.
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 91 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.
