xlsx skill — Claude Code skill: what it does, how to install
Creates, reads, edits, and converts spreadsheet files. Use it when the requested deliverable is an Excel workbook or another tabular file.
/plugin marketplace add anthropics/skills
/plugin install document-skills@anthropic-agent-skillsWhat xlsx does
This skill handles .xlsx, .xlsm, .xltx, .csv, and .tsv files. It can add columns, formulas, formatting, or charts, repair malformed tabular data, build a workbook from other data, and convert between tabular formats. The expected result is a spreadsheet file.
It uses openpyxl for workbook edits and creation, pandas for bulk input or export, and markitdown for a sheet preview. Formula workbooks need a recalculation run with python scripts/recalc.py output.xlsx; that invokes LibreOffice and reports formula errors. For formulas, the skill favors functions such as SUMIFS, INDEX, MATCH, IFERROR, and SUMPRODUCT.
When editing an existing workbook, it follows the file's formatting conventions and leaves existing formulas in place. Install it if you ask an agent to deliver spreadsheet files; skip it for an HTML report, Word document, or Google Sheets API work.
What it helps with
- repair malformed rows in a CSV file
- add formulas and columns to an existing workbook
- create an
.xlsxfrom tabular data - convert a
.tsvfile to.xlsx - check formulas after LibreOffice recalculation
Example prompts for the agent
- “Open `sales.xlsx`, add a total column, and save the updated file.”
- “Clean malformed rows in `import.csv` and turn it into an `.xlsx` workbook.”
- “Create `budget.xlsx` with formulas for category totals.”
How to install xlsx
1Plugin marketplace
/plugin marketplace add anthropics/skills/plugin install document-skills@anthropic-agent-skillsThis installs the whole document-skills plugin with all its skills
2Skills CLI (Vercel)
npx skills add anthropics/skills --skill xlsx -a claude-code3Manually: put the files in place
~/.claude/skills/xlsx/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/xlsx/
Manually: put the files in place
.agents/skills/xlsx/SKILL.mdFor all projects use ~/.agents/skills/
Manually: put the files in place
.cursor/skills/xlsx/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install anthropics/skills xlsx2Manually: put the files in place
.github/skills/xlsx/SKILL.mdPlatform CLI
gemini skills install https://github.com/anthropics/skills --path skills/xlsxManually: put the files in place
.devin/skills/xlsx/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set23
The whole set →Similar
Questions about xlsx
How do I install the xlsx skill in Claude Code?
Run npx skills add anthropics/skills --skill xlsx -a claude-code. You can also use the marketplace with /plugin marketplace add anthropics/skills followed by /plugin install document-skills@anthropic-agent-skills.
What does the xlsx skill do?
It creates and edits spreadsheet files, reads tabular data, and converts .xlsx, .xlsm, .xltx, .csv, and .tsv files. It is intended for tasks where a spreadsheet is the main input or deliverable.
How are formulas checked in an output workbook?
Run python scripts/recalc.py output.xlsx after saving a workbook with formulas. If the report returns errors_found, fix the listed formula issues and run it again.