Install any skill in seconds. Free to start, no credit card required.
Get Started Free →mindscale-noah/xlsx
Use this skill whenever the user wants to do anything with Excel spreadsheet files (.xlsx, .xls, .csv). This includes reading data, writing formulas, manipulating cells, formatting, filtering, creating charts, pivot tables, and any spreadsheet automation tasks.
Passed 24 of 24 test cases with the skill, and 23 of 24 without it.
1 fixed23 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
A test case the skill fixed. Same model, same prompt, with and without the skill.
An Excel template has empty, pre-formatted cells down to row 50, but actual user entries end at row 12. `ws.max_row` reports 50. I tried `ws.reset_dimensions()` but `ws.max_row` still returns 50. What is the correct way to find the actual last row containing non-empty data?
| Checked | Without skill | With skill |
|---|---|---|
| Explains that max_row counts formatted empty cells. | Passed | Passed |
| Recommends scanning column cells to check for actual non-empty content. | Missed | Passed |
The instructions your model reads when the skill loads.
Use openpyxl to read and write .xlsx files.
from openpyxl import load_workbook
wb = load_workbook("input.xlsx")
ws = wb["Sheet1"]
value = ws["A1"].value
ws["B2"] = 42
ws["C2"] = "=SUM(A2:B2)"
wb.save("output.xlsx")
Use this for direct cell edits, formula updates, and simple workbook changes.
import pandas as pd
df = pd.read_excel('file.xlsx') # First sheet
all_sheets = pd.read_excel('file.xlsx', sheet_name=None) # All sheets as dict
ws.cell(row=1, column=1) is A1.data_only=True destroys formulas on save: Use a separate workbook object for reading calculated values.ws.max_row overcounts: May include formatted-but-empty rows. Scan the column to find the last non-empty cell when you need the true data range.test cases passed, vs 23 / 24 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.