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.
- Author anthropics
- License LicenseRef-Proprietary
- GitHub ★ 183,434
- Installs 187,223
- Updated 2026-10-09
- Source on GitHub
What 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
How to install xlsx
Command from the source
/plugin marketplace add anthropics/skillsCommand from the source
/plugin install document-skills@anthropic-agent-skillsCommand from the source
npx skills add anthropics/skills --skill xlsx -a claude-codeWith the Skills CLI (Vercel)
npx skills add anthropics/skills --skill xlsx -a claude-codeManually
~/.claude/skills/xlsx/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/xlsx/
Manually
.agents/skills/xlsx/SKILL.mdFor all projects use ~/.agents/skills/
Manually
.cursor/skills/xlsx/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
GitHub CLI (gh ≥ 2.90)
gh skill install anthropics/skills xlsxManually
.github/skills/xlsx/SKILL.mdGemini CLI
gemini skills install https://github.com/anthropics/skills --path skills/xlsxManually
.devin/skills/xlsx/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
How to use it: example prompts
- “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.”
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.