Claude skill · Documents

xlsx: build and fix Excel spreadsheets with working formulas

xlsx is Anthropic’s free Claude skill for spreadsheet files. It creates and edits Excel workbooks, cleans messy CSV and table data, and converts between formats. It writes formulas instead of typed results, then recalculates the file and fixes every formula error. It is one of the skills behind file creation in the Claude app on paid plans. It suits marketers with reports, budgets and data exports.

xlsx

What you give and what you get

What you give, xlsx working, and what you get back.

What you give

  • An .xlsx, .xlsm, .csv or .tsv file
  • Exact tab names, column headers and formulas, if you have them
  • The question the sheet must answer
  • Sources for any numbers you type in

What you get

  • An Excel file whose formulas update when inputs change
  • Zero formula errors, checked by a full recalculation
  • Clean tables from messy rows and misplaced headers
  • Notes on every assumption and typed number
  • Charts, number formats and a legend for cells to fill

Read from its SKILL.md.

How it works

  1. 01

    Picks the tool

    It uses openpyxl for formulas and formatting, pandas for bulk data and markitdown for a quick look at each sheet.

  2. 02

    Writes formulas

    Totals and ratios go in as Excel formulas, never as numbers worked out in Python, so the sheet recalculates when you change an input.

  3. 03

    Recalculates and checks

    A script recalculates the file in LibreOffice and lists every formula error by cell. It fixes them and runs the check again until none remain.

  4. 04

    Respects your file

    When it edits your workbook, it matches your conventions, writes only in the input cells and leaves existing formulas untouched.

  5. 05

    Formats models clearly

    Financial models get blue inputs, black formulas, green links to other sheets, each assumption in its own labelled cell and negatives in brackets.

Prompt

Example prompt

Paste it once the skill is installed and swap in your own details.

Clean this CSV export of orders from our bike shop in Utrecht. Fix the headers, remove junk rows and build an Excel file with a monthly summary tab that uses formulas, plus one chart of sales by month.

How to install it

How to install xlsx

npx skills add anthropics/skills --skill xlsx

In the terminal, inside your project. Add -g to have it in every project. The installer asks which apps to add it to.

/plugin marketplace add anthropics/skills/plugin install document-skills@anthropic-agent-skills

Inside Claude Code. Installs the whole package from the repo.

Or by hand: copy the folder to ~/.claude/skills/xlsx/

  1. Download the skill folder from GitHub and zip it, with the folder at the root of the ZIP.
  2. In Claude, open Customize, then Skills.
  3. Press +, choose Create skill, then Upload a skill.
  4. Upload the ZIP and turn the skill on. Code execution must be on.
  • Codex and Cursor: the same npx command installs it for them; the installer asks which apps.
  • ChatGPT Business, Enterprise and Edu: Plugins, the Skills tab, Add, then Upload from your computer.
  • Other ChatGPT plans: attach the SKILL.md to a project and ask it to follow the file.

Open the folder on GitHub Full install guide

Who it suits

Marketers, analysts and founders who work in exported reports, budgets and campaign data and want a workbook that keeps working after they change a number.

What it needs and where it stops

In the Claude app it is already available on paid plans. Elsewhere it needs Python with openpyxl, pandas and markitdown, plus LibreOffice for the recalculation. It makes spreadsheet files only, so it is not for Google Sheets connections, Word reports or HTML dashboards.

Listed under DocumentsAnalytics

Documents

Related skills

Questions

Questions about xlsx

Is the xlsx skill free?

Yes. Anthropic publishes it under the Apache 2.0 licence in its skills repo on GitHub. On paid Claude plans it is already available in the Claude app, so you do not need to install it there.

Does it work with Google Sheets?

Only through files. It reads and writes .xlsx, .csv and .tsv files, which Google Sheets can open, but it does not connect to the Google Sheets API.

Why does it avoid XLOOKUP?

Because its recalculation runs in LibreOffice, which cannot evaluate XLOOKUP, FILTER, SORT or UNIQUE. It uses INDEX and MATCH instead, and sorts or filters the data before it writes the cells.

Can it move tables from a PDF into Excel?

Use the pdf skill for that step. It extracts tables from PDF pages and can save them as an Excel file, which xlsx can then clean and format.

We put these skills to work in your team

Book a free 30-minute call. We pick the skills for your work and train your team to use them.

Book a discovery call

30 minutes · Free · Online

Free discovery call

30 minutes · Online · Free · English or Spanish

Our address: info@levercrew.com

LeverCrew uses your details only to reply to you and prepare the call. Privacy

Growth AI Tips

AI tips your team can use the same day

One email every two weeks, for sales and marketing teams.

  • The tip, in a few lines
  • The prompt or workflow, ready to copy
  • How to check that it works

Free. Unsubscribe with one click. Privacy policy