# XLSX

> Read and extract cell data from .xlsx Excel spreadsheets as TSV. Use when the user uploads or references an Excel file to read or summarize.

- Skill: `decocms/xlsx` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add decocms/xlsx`
- Raw SKILL.md: https://api.skillmd.com/api/skills/decocms/xlsx/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Data & Analytics
- Author: decocms (https://skillmd.com/u/decocms)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/decocms/xlsx

---


# xlsx — Excel spreadsheets

Use this skill to read or summarize `.xlsx` files.

## Scripts

### extract.py

Print sheet contents from an `.xlsx` as TSV. Each sheet is preceded by a
`--- sheet "<name>" ---` header.

```
python org/public/core/xlsx/extract.py <path-to-file.xlsx>
```

Empty trailing rows and columns are trimmed. Cell values are stringified;
formulas show their cached value, not the formula text.

## Direct openpyxl usage

For richer operations (formulas, formatting, charts, writing workbooks),
import `openpyxl` directly. The library is preinstalled.

```python
from openpyxl import load_workbook
wb = load_workbook("/path/to/file.xlsx", data_only=True)
for sheet in wb.worksheets:
    for row in sheet.iter_rows(values_only=True):
        ...
```

