When should you use it?
- You ask Claude for budgets, forecasts or trackers and need the cells to keep working when inputs change
- An existing workbook needs new rows or columns without breaking its formulas or styling
- Messy CSV exports need cleaning into a proper workbook for a client or accountant
Not for: Google Sheets built through its API, which the skill itself says to handle differently; Jobs whose end product is a Word report or web page rather than a spreadsheet file; Workbooks linked to other files you cannot provide, since re-saving can break those links
What do you need, and what do you get?
You need
- Claude with skills enabled (claude.ai, Claude Code or Claude Cowork) and the xlsx skill installed
- The source data or existing workbook
- Your spec: tab names, column headers and any formulas you want used
You get
- An .xlsx file whose totals and projections are formulas that update with their inputs
- A recalculation report with zero formula errors
- Each assumption in a separate named input cell, with a note on where the number came from
- Model formatting: input cells in blue, formulas in black, negatives in parentheses
How does it work, step by step?
- Install the skillAdd the xlsx skill from Anthropic's skills repository, or confirm it is already enabled in your Claude workspace.
- Write a precise specName the tabs, headers and key formulas. The skill tells Claude to follow your spec literally, so vague requests get literal guesses.
- Let it recalculateAsk Claude to run the bundled recalculation script and show you the error count before it hands over the file.
- Spot-check the logicOpen the file and test two or three formulas against numbers you know, since an error-free sheet can still point at the wrong row.
- Keep your conventionsWhen editing an older workbook, tell Claude which cells are inputs; the skill says the file's own styling wins over its defaults.
The prompt
Our adapted version, written to work in Claude, Claude Code and Claude Cowork. Values in lime are placeholders.
Fill in the blanks (optional; the copied prompt uses your values)
Using the xlsx skill, build {workbook_name}.xlsx from {source_data}. Tabs: {tab_names}. Columns: {headers}. Every total, growth figure and projection must be a formula that references its inputs; give each assumption ({assumptions}) a separate, clearly named input cell with a note on where it came from. Run the recalculation check, fix anything it reports, and tell me the formula count and error count before you hand over the file. Then list three cells I should spot-check by hand.
The original skill is published by Anthropic on Anthropic. Open it there to install or import it; the prompt above is our own adaptation.
What can go wrong?
- Zero errors is not the same as correct. A range that stops one row short still produces clean but wrong totals, so check a few results by hand.
- Newer Excel functions such as XLOOKUP or FILTER may not survive the LibreOffice check. The skill steers Claude toward older equivalents.
- Re-saving a workbook with links to other files can strip those links. Copy the linked values first or keep the original.
- Percentages stored as whole numbers will show as 1500% instead of 15%. Confirm the format on any rate cells.
Our take
Most complaints about AI-built spreadsheets come down to one habit: the model calculates a total in its head and types the number into the cell. The file looks right until someone changes an input and nothing moves. Anthropic's xlsx skill attacks that directly by requiring formulas, then forcing a full recalculation and an error count before the file is handed over. We also like its honesty about limits. It warns that a clean recalculation shows the formulas run, not that they reference the right cells, and it lists the newer Excel functions that will break in the checking step. For accountants and analysts, the default model formatting (inputs in blue, formulas in black, assumptions in their own labeled cells) makes a draft reviewable at a glance. The license change on November 6 matters because these Office skills were previously not open source; teams can now adapt them freely. In our dry run, a three-year revenue projection came back with every year driven by a growth-rate cell and zero formula errors.
Where the time goes back: A workbook that recalculates correctly the first time saves the hour usually spent hunting hardcoded totals and #NAME errors in an AI-built file before it can go to a client or your accountant.
FAQ
Is the skill free to use and adapt?
Do I need Excel installed?
Does it work for financial models specifically?
Source and credit
This playbook is based on work by Anthropic. We summarize it and link to it and write our own adapted prompt.
- Original
- xlsx skill (anthropics/skills)
- Creator
- Anthropic
- Published on
- Anthropic
- License
- Apache-2.0
- Originally for
- Claude
- AI dry run
- Nov 7, 2026: passed. Dry-run tested by our AI test agent on sample input. Formulas only, zero errors after recalculation, assumptions labeled with sources, model color and number conventions applied.
AI dry run on sample data; not run with live connected accounts. The playbooks.bot test agent filled the prompt with synthetic inputs, produced the output and checked it against the page's stated outputs and guardrails. - Verified
- Nov 8, 2026: source link resolves to the original, the credited creator published it, our excerpt or prompt matches it, and the license allows our use.
The original is licensed under Apache-2.0 by Anthropic. Modified: our adapted prompt and summary are our own wording; the original skill {"was unchanged at the source when we snapshotted it (live source later removed)" if src_removed(s) else "is unchanged at the source link"}.
Are you the creator? Claim or correct this page.