Skip to content
Skill

xlsx

by anthropics

AI Summary

The xlsx skill enables Claude to work with spreadsheet files—opening, editing, creating, cleaning, and converting .xlsx, .xlsm, .csv, and .tsv files. It's essential for users who need programmatic spreadsheet manipulation without leaving their AI assistant.

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to install the "xlsx" skill in my project.

Please run this command in my terminal:
# Install skill into your project (3 files)
mkdir -p .claude/skills/xlsx && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/xlsx/SKILL.md "https://raw.githubusercontent.com/anthropics/skills/main/skills/xlsx/SKILL.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/xlsx/LICENSE.txt "https://raw.githubusercontent.com/anthropics/skills/main/skills/xlsx/LICENSE.txt" && mkdir -p .claude/skills/xlsx/scripts && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/xlsx/scripts/recalc.py "https://raw.githubusercontent.com/anthropics/skills/main/skills/xlsx/scripts/recalc.py"

Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.

Description

Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.

Overview

A user may ask you to create, edit, or analyze the contents of an .xlsx file. You have different tools and workflows available for different tasks.

Important Requirements

LibreOffice Required for Formula Recalculation: You can assume LibreOffice is installed for recalculating formula values using the scripts/recalc.py script. The script automatically configures LibreOffice on first run, including in sandboxed environments where Unix sockets are restricted (handled by scripts/office/soffice.py)

Professional Font

• Use a consistent, professional font (e.g., Arial, Times New Roman) for all deliverables unless otherwise instructed by the user

Zero Formula Errors

• Every Excel model MUST be delivered with ZERO formula errors (#REF!, #DIV/0!, #VALUE!, #N/A, #NAME?)

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted Today
Active
Adoption1K+ stars on GitHub
117.3k ★ · Popular
DocsREADME + description
Well-documented

GitHub Signals

Stars117.3k
Forks13.5k
Issues693
UpdatedToday
View on GitHub
No License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code