A Python wrapper around openpyxl that gives you command-line control over Excel files. You can read, write, and edit cells, manage sheets, apply formatting (bold, colors, borders, alignment), merge cells, freeze panes, and export to CSV, JSON, or Markdown. The formatting options are actually pretty thorough: you get named colors, hex codes, font sizes, wrapping, and different border styles. It's built for scripting Excel tasks without opening the application, which is useful for report generation, data transformation pipelines, or batch updates. The commands are straightforward bash calls, so you can chain them in scripts. If you're doing anything with Excel programmatically, this covers the common cases without much ceremony.
$ npx -y skills add sundial-org/awesome-openclaw-skills --skill excel --agent claude-codeInstalls into .claude/skills of the current project.
Comprehensive Excel file manipulation - read, write, edit, format, and export.
pip install openpyxl
# Or use uv (recommended)
uv run --with openpyxl python3 scripts/excel.py --help
cd skills/excel
# Get file info
python3 scripts/excel.py info report.xlsx
# Read entire sheet
python3 scripts/excel.py read report.xlsx
python3 scripts/excel.py read report.xlsx --format markdown
python3 scripts/excel.py read report.xlsx --sheet "Sales" --range A1:D10
# Read specific cell
python3 scripts/excel.py cell report.xlsx B5
# Create new workbook
python3 scripts/excel.py create output.xlsx
python3 scripts/excel.py create output.xlsx --sheets "Data,Summary,Charts"
# Write data
python3 scripts/excel.py write output.xlsx --data '[[1,2,3],[4,5,6]]'
python3 scripts/excel.py write output.xlsx --data '{"headers":["Name","Age"],"rows":[["Alice",30],["Bob",25]]}'
# Edit a cell
python3 scripts/excel.py edit report.xlsx A1 "New Value"
python3 scripts/excel.py edit report.xlsx B2 "SUM(A1:A10)" --formula
Sponsors