Skip to content

Excel spreadsheets (xlsx)

by anthropics

Anthropic’s skill for creating, editing and checking Excel files, with live formulas, model formatting rules and a recalculation check.

This is the spreadsheet skill from Anthropic’s public skills repository. It covers the jobs where an Excel or CSV file is the thing you hand over: building a workbook from scratch, editing one that already exists, cleaning messy data, and converting between formats.

It pushes the agent towards spreadsheets a finance team would accept. Calculations stay as live formulas instead of pasted values, inputs and formulas are told apart by colour, and number formats follow common modelling conventions. A bundled script has LibreOffice recalculate a copy of the file and reports every formula error it finds, so broken references are caught before you open the workbook.

It runs locally with Python libraries such as openpyxl and pandas, plus LibreOffice for recalculation, and it makes no network calls of its own.

What it is good for

  • Turn a CSV export into a formatted workbook with totals and charts
  • Fix broken formulas in a financial model and list what changed
  • Clean and merge several spreadsheets into one tidy table

Install

  1. Run this in a terminal. It adds the skill to Claude Code for every project:

    tmp=$(mktemp -d) && git -C "$tmp" init -q && git -C "$tmp" fetch -q --depth 1 https://github.com/anthropics/skills e4bb5d960d87126ff3b3a8af1a104b7db67560ba && git -C "$tmp" checkout -q FETCH_HEAD && rm -rf "$tmp/.git" && mkdir -p ~/.claude/skills && rm -rf ~/.claude/skills/excel-xlsx && mv "$tmp/skills/xlsx" ~/.claude/skills/excel-xlsx && rm -rf "$tmp"
  2. Start a new Claude Code session. The agent uses the skill when a request matches it, or you can ask for it by name.

  3. To share it with your team, put the folder in .claude/skills/ inside the repository instead and commit it.

Read the source on GitHub · Apache-2.0 license · Reviewed by Whenever on 2026-11-20

Browse more skills

Your first workflow is one sentence away.

One workflow free. No card. Weekly AI-building limits.