xlsx

Installation
SKILL.md

Excel spreadsheets

Work with spreadsheets in Python through execute, adding packages to a requirements.txt in files: XlsxWriter==3.2.9 to create workbooks, openpyxl==3.1.5 to read and edit them, and pandas for analysis. In a workflow step, add them to the step’s requirements.txt instead.

User uploads arrive under /3b/uploads/<id>/<file>, which every execution can read. Write output to a persistent volume, such as volumes: ["documents"] and /storage/documents/budget.xlsx, then call showStorageFile so the user can preview it with sheet tabs and download it. Never overwrite the user’s upload: save edits as a new file, and call showStorageFile again after each change.

Reading

Look before you parse. Real workbooks have title rows above the header, merged cells, hidden sheets, notes below the data, and several tables on one sheet.

from openpyxl import load_workbook

wb = load_workbook("/3b/uploads/abc/vendors.xlsx", data_only=True)
for ws in wb.worksheets:
    print(f"--- {ws.title} ({ws.sheet_state}) {ws.dimensions}, merged: {list(ws.merged_cells.ranges)[:5]}")
    for row in ws.iter_rows(max_row=8, values_only=True):
        print(row)
Installs
4
Repository
tines/skills
GitHub Stars
1
First Seen
Oct 15, 2026