xlsx-official
Skill by XiaomiMiMo
Creates, edits, cleans and reads .xlsx, .xlsm, .xltx, .csv and .tsv workbook files. Built for anyone who needs a spreadsheet produced or checked, including financial models, ops reports and data cleanups.
Install xlsx-official
Built from the published package, never by AI.
git clone --depth 1 https://github.com/XiaomiMiMo/MiMo-Code /tmp/MiMo-Code && mkdir -p ~/.claude/skills && cp -r /tmp/MiMo-Code/packages/cli/src/skill/builtin/.bundle/xlsx-official ~/.claude/skills/xlsx-officialRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/XiaomiMiMo/MiMo-Code /tmp/MiMo-Code && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/MiMo-Code/packages/cli/src/skill/builtin/.bundle/xlsx-official ~/.gemini/antigravity-cli/skills/xlsx-officialAntigravity 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 guides and command-line scripts for working with Microsoft Excel workbooks. It covers building workbooks with formulas and formatting, editing existing files, reading data out, and running pandas-based analysis before writing results back. The skill is written from scratch against the ECMA-376 SpreadsheetML specification and uses openpyxl, pandas and lxml.
The scripts recalculate formulas through LibreOffice, validate file structure, export sheets to CSV or PDF, and unpack or repack workbook XML. The skill also sets a QA checklist to run before work is treated as done. It is aimed at financial models, operations reports, data cleanups and template fills. It is not the right choice when the spreadsheet is only source material for a Word doc, HTML page, standalone script or database pipeline.
Written from the project's SKILL.md and checked against it.
What it can do
- Create workbooksBuilds workbooks from prompts, dataframes or raw values, with formulas and formatting.
- Edit existing filesAdds rows, patches cells and refreshes formulas while preserving styles.
- Read and extract dataPulls data out for analysis, ETL or quick QA using pandas and openpyxl.
- Analyze tabular dataCleans, aggregates and reshapes data in a pandas pipeline before writing it back.
- Recalculate formulasRuns bake.py through LibreOffice and flags residual errors such as #REF!.
- Validate structureaudit.py checks ZIP integrity, XML well-formedness and openpyxl loading.
- Export to CSVcsv_out.py writes all sheets, or one sheet by name or index, to CSV.
- Export to PDFpdf_out.py renders a workbook to PDF for visual checks.
- Raw XML editsexplode.py and assemble.py unpack workbook XML for editing and repack it.
What you need
- Python with pip
- openpyxl, pandas and lxml
- LibreOffice (soffice) for formula recalculation and PDF export
- Optional: xlsxwriter
Try asking
- Build me a financial model with formulas for revenue and totals
- Sanity-check this xlsx and flag any #REF! or #DIV/0! errors
- Export sheet 2 of this workbook to CSV
Good to know
- .xls files are out of scope. Convert them to .xlsx first.
- Does not emit or execute VBA macros.
- Cannot open password-protected or encrypted workbooks.
- File-in and file-out only. No live Excel COM or AppleScript automation.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: packages/cli/src/skill/builtin/.bundle/xlsx-official/SKILL.md, packages/cli/src/skill/builtin/.bundle/xlsx-official/scripts/assemble.py, packages/cli/src/skill/builtin/.bundle/xlsx-official/scripts/audit.py, packages/cli/src/skill/builtin/.bundle/xlsx-official/scripts/bake.py, packages/cli/src/skill/builtin/.bundle/xlsx-official/scripts/csv_out.py, packages/cli/src/skill/builtin/.bundle/xlsx-official/scripts/explode.py, packages/cli/src/skill/builtin/.bundle/xlsx-official/scripts/overview.py, packages/cli/src/skill/builtin/.bundle/xlsx-official/scripts/pdf_out.py, packages/cli/src/skill/builtin/.bundle/xlsx-official/scripts/runtime/__init__.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
LICENSE1 KB -
README.md4 KB -
SKILL.md12 KB -
analyze.md7 KB -
create.md12 KB
Show all 16 files
-
edit.md11 KB -
read.md8 KB -
scripts/assemble.py3 KB -
scripts/audit.py6 KB -
scripts/bake.py8 KB -
scripts/csv_out.py4 KB -
scripts/explode.py2 KB -
scripts/overview.py4 KB -
scripts/pdf_out.py3 KB -
scripts/runtime/__init__.py104 B -
scripts/runtime/libreoffice.py4 KB
Alternatives to xlsx-official
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-official: common questions
Does it handle CSV files?
Yes. The source lists .csv and .tsv among the workbook files it covers, and csv_out.py exports sheets to CSV.
Does it calculate formulas?
openpyxl does not evaluate formulas, so the skill uses LibreOffice through bake.py to recalculate them.
Can it be used commercially?
The skill is licensed under Apache-2.0. The source says it is built on permissively licensed tools so it can be reused in commercial projects.
How do I install xlsx-official?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is xlsx-official free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is xlsx-official 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-official?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
