xlsx

Read, create and modify Excel workbooks (.xlsx): data, formulas, formatting, charts.

xlsx is for people who need to compute: budgets, quotes, reconciliation, metrics. It reads and writes cells and formulas in .xlsx — not data stuffed into text. If you only need to show results and never edit again, PDF is a better fit.

Office documentsagents 2Proprietary (Anthropic) index only Scan upstream repo ↗

Upstream:anthropics/skills · ★ 201701 · last commit 2026-11-16 (12d)

What it is

xlsx reads, creates and edits Excel workbooks: formulas, formatting, pivots and multi-sheet merges. It turns data into a sheet; it is not a heavy analytics engine.

Core workflow

StageContent
Triggera spreadsheet is the primary input or output (.xlsx/.xlsm/.csv)
Inputdata plus target structure (sheet names, headers, formulas)
Stepsopenpyxl to build/edit → run recalc.py whenever formulas exist → verify zero errors
Outputa recalculating workbook (formulas, not hardcoded results)
Boundaryno Word/HTML reports; markitdown for read-only looks

Getting started

  1. State the schema (columns, key, units) and the target output;
  2. Ask for formulas with an explanation, not just results;
  3. Reconcile totals and blanks after merging.

Traits

  • Formulas are mandatory: =SUM(B2:B9), never a Python-computed number;
  • Recalculation is enforced: shipping with errors_found is not allowed;
  • Respect the existing file’s conventions when editing (input cells are usually colour-marked);
  • every assumption and hardcoded number needs a visible source;
  • workbooks meant to be filled in need a legend plus one example row.

Who it is for and who it is not for

Good fitPoor fit
Budgets, schedules and reconciliations;; Merging sheets on a key;; Delivering an editable spreadsheet.Millions of rows (use a database or Python);; Chart design and presentation (use pptx/slides);; Live dashboards (use a BI tool).

How it differs

NeedUse
Sheet work and formulasxlsx
Large-scale analysisPython / DuckDB
Chart storytellingpptx / slides
Written reportsdocx

Source-level risks

RiskSourceImpact
recalculation needs LibreOfficerecalc.pycannot validate formulas without soffice
formula errors slipping through“Zero formula errors”shipping broken numbers
overwriting existing conventions“Editing an existing file”breaking someone else’s template
markitdown has no coordinates“Quick look” noteediting from it targets the wrong cells

Go to upstream repository ↗

Example: input and output

Input

Turn these action items into xlsx: item / owner / due / status / priority; this week P0, two weeks P1, else P2.

Output

Writes tasks.xlsx: five columns, header frozen; status defaults to 'not started'; priority by due date.

Check: dates are YYYY-MM-DD; priority follows due dates, not opinion.

FAQ

Do I need Excel?

No — the skill uses libraries to read and write .xlsx; Excel only helps for manual checks.

Are formulas preserved?

Yes; write formulas and let Excel or a compatible app calculate them.

Does it slow down with large data?

Tens of thousands of rows are fine; aggregate before writing at larger scale.

Common tasks

CategoryOffice documents
Version—
Agent supportClaude Code, Generic (reads SKILL.md)
OSmacOS / Linux / Windows
DependenciesPython runtime、openpyxl / pandas
Environmentfile read/write
Scriptsnone
LicenseProprietary (Anthropic)
Sourceanthropics/skills ↗
Verificationto verify (check upstream before installing)
Get itGo to upstream · gh-proxy · jsDelivr

"Generic (agents that read SKILL.md)" means any agent that discovers and loads SKILL.md; support level (auto-discovery, manual config, script execution) varies by agent.

This entry isn't hosted here (license or size); use the accelerated mirror above or the upstream repo.

Install

This is an index entry: install it from the upstream repository using its instructions.

Skills directory example: ~/.claude/skills/ for Claude Code; other agents use wherever SKILL.md is discovered.

Comparison: which one?