Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

xlsx

Skill by K-Dense-AI

Creates, edits, and analyzes spreadsheet files for AI assistants. It handles .xlsx, .xlsm, .xltx, .csv, and .tsv files, and is built for tasks where a spreadsheet is the main input or output.

  • Score 90
  • 2.6k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install xlsx

Built from the published package, never by AI.

git clone --depth 1 https://github.com/K-Dense-AI/claude-scientific-writer /tmp/claude-scientific-writer && mkdir -p ~/.claude/skills && cp -r /tmp/claude-scientific-writer/skills/xlsx ~/.claude/skills/xlsx

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install xlsx in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The xlsx skill tells an AI assistant how to create, edit, and analyze spreadsheet files. It covers .xlsx, .xlsm, .xltx, .csv, and .tsv files, including adding columns, computing formulas, formatting, charting, cleaning messy data, and converting between tabular formats. The skill names openpyxl for creating and editing with formulas, pandas for bulk data, and markitdown for quick reads.

After formulas are written, a recalc.py script uses LibreOffice to compute them and reports any errors. The skill also sets rules for professional fonts, live formulas instead of hardcoded results, and financial model color conventions. It is meant for users who need a spreadsheet file as the output. It says not to trigger when the main deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration.

Written from the project's SKILL.md and checked against it.

What it can do

  • Edit existing spreadsheetsOpens, reads, edits, and fixes .xlsx, .xlsm, .xltx, .csv, and .tsv files.
  • Create new spreadsheetsBuilds a new spreadsheet from scratch or from other data sources.
  • Write live formulasWrites formulas instead of hardcoded results so the sheet recalculates when inputs change.
  • Recalculate and check errorsRuns recalc.py with LibreOffice to compute formulas and report formula errors.
  • Clean messy dataRestructures malformed rows, misplaced headers, and junk data into proper spreadsheets.
  • Convert tabular formatsConverts between tabular file formats such as CSV, TSV, and Excel workbooks.
  • Format financial modelsApplies color coding, number formats, and layout conventions for financial models.

What you need

  • Python with openpyxl, pandas, and markitdown
  • LibreOffice (soffice) for recalculation

Try asking

  • Clean up the malformed rows and misplaced headers in sales.csv
  • Add a SUM total row to budget.xlsx using live formulas
  • Convert expenses.tsv into a formatted .xlsx workbook

Good to know

  • Never use XLOOKUP, XMATCH, SORT, FILTER, UNIQUE, or SEQUENCE. Use INDEX and MATCH instead.
  • A workbook that links to another file loses those links if re-saved with openpyxl and recalculated.
  • A clean recalc only shows formulas evaluate, not that they are correct.
  • .xlsm macros are lost unless keep_vba=True is passed to load_workbook.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/xlsx/SKILL.md, skills/xlsx/scripts/office/helpers/__init__.py, skills/xlsx/scripts/office/helpers/pptx_chart.py, skills/xlsx/scripts/office/helpers/pptx_slide.py, skills/xlsx/scripts/office/helpers/pptx_theme.py, skills/xlsx/scripts/office/soffice.py, skills/xlsx/scripts/office/validate.py, skills/xlsx/scripts/office/validators/__init__.py, skills/xlsx/scripts/office/validators/base.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: Read Write Edit Bash Grep Glob

  • LICENSE.txt11 KB
  • SKILL.md8 KB
  • scripts/office/helpers/__init__.py3 KB
  • scripts/office/helpers/pptx_chart.py6 KB
  • scripts/office/helpers/pptx_slide.py2 KB
Show all 53 files
  • scripts/office/helpers/pptx_theme.py3 KB
  • scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd73 KB
  • scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd7 KB
  • scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd50 KB
  • scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd624 B
  • scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd148 KB
  • scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd1 KB
  • scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd9 KB
  • scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd14 KB
  • scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd82 KB
  • scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd1 KB
  • scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd7 KB
  • scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd6 KB
  • scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd1 KB
  • scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd880 B
  • scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd3 KB
  • scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd3 KB
  • scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd7 KB
  • scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd23 KB
  • scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd1 KB
  • scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd237 KB
  • scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd26 KB
  • scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd25 KB
  • scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd535 B
  • scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd6 KB

And 23 more files on GitHub.

Alternatives to xlsx

All alternatives →

Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr

xlsx: common questions

Does this skill work with CSV and TSV files?

Yes. The skill covers .csv and .tsv files along with .xlsx, .xlsm, and .xltx files for opening, editing, fixing, and converting.

Will the formulas show values after editing?

The skill requires running recalc.py, which uses LibreOffice to compute every formula. Without recalculation, formula cells written by openpyxl have no cached values.

Are macros kept in .xlsm files?

Not by default. The skill states that .xlsm files lose their macros unless keep_vba=True is passed to load_workbook.

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 90 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.

Add to stack

Loading.