XLSX
Read, create, or edit Excel spreadsheets (.xlsx/.xlsm), sheet data, formulas, styles, charts, multi-sheet workbooks, and bulk.csv/.tsv tables.
In detail
Read, create, or edit Excel spreadsheets (.xlsx/.xlsm) — sheet data, formulas, styles, charts, multi-sheet workbooks — and bulk .csv/.tsv tables; use whenever a spreadsheet is the input or the deliverable (extract/analyze data, add columns/formulas/formatting/charts, clean messy tables, build from scratch), but not for Google Sheets API or Word/PDF/script outputs.
Safety check
- Claude rated it 6 out of 10, under our bar of 7, so we do not sell it. It is a free link to its author.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: xlsx
description: Read, create, or edit Excel spreadsheets (.xlsx/.xlsm) — sheet data,
formulas, styles, charts, multi-sheet workbooks — and bulk .csv/.tsv tables; use
whenever a spreadsheet is the input or the deliverable (extract/analyze data, add
columns/formulas/formatting/charts, clean messy tables, build from scratch), but
not for Google Sheets API or Word/PDF/script outputs.
tags:
- tool
- office
requires:
sandbox: shell
---
# Excel (.xlsx) workbooks
## Runtime
Use `exec` with complete Python source (`language: python`). Prefer creating,
saving, reopening, and validating the workbook in one call; later calls can
revise the same relative filename. Follow the turn's **User workspace**
instructions for locating inputs, output boundaries, and presenting the
finished file.
Use **openpyxl** for cells, formulas, styles, charts, merged cells, multi-sheet
workbooks, number formats, and streaming large sheets. It is declared by every
supported DeepTutor installation. Do not assume pandas is installed: it exists
in the Docker runner but is not a direct dependency of every pip/source install.
## THE critical gotcha: openpyxl writes formulas but never computes them
`ws["B10"] = "=SUM(B2:B9)"` stores the formula *string*. openpyxl has no formula
engine — the cached value stays empty (or stale, on an edited file). So:
- A workbook you create/edit with openpyxl opens fine in Excel/LibreOffice (they
recompute on open), but its cached values are wrong until then.
- Anything reading cached values first — `data_only=True`, another
pandas/openpyxl pass, or a downstream tool — sees blanks/stale data.
Pick by what the deliverable needs:
...From HKUDS's repository, Apache-2.0 licence.
Related skills
-
Checked
Spreadsheet formula explainer
Explains a tangled spreadsheet formula step by step and rebuilds it with helper columns anyone can follow.
7/101 credit -
Checked
Excel file builder
Creates and edits Excel files whose formulas carry their values, so totals show in every viewer and preview.
8/101 credit -
Checked
Spreadsheet audit
Opens your actual spreadsheet, traces formulas and ranks the errors, so you know it is safe to present.
7/101 credit -
Checked
Spreadsheet fixer
Fixes broken formulas, builds Excel files with charts and automates Google Sheets, all from a plain request.
9/101 credit -
Checked
Google Sheets automation
Builds Google Apps Script menus, triggers, sidebars and email batches, so repeat Sheets work runs itself.
8/101 credit -
Checked
CSV and Excel merging
Merges, stacks and dedupes CSV and Excel files into one clean table, then checks the row counts add up.
7/101 credit