Convert CSV files into polished Excel .xlsx reports with the bundled openpyxl script.
.xlsx path. Default to the same basename beside the CSV unless the user specifies otherwise.python3 /home/ubuntu/.openclaw/workspace/skills/excel-report/scripts/csv_to_excel_report.py input.csv output.xlsx
openpyxl or run a quick file check..xlsx file path, and attach it with MEDIA: when replying in a channel that supports file delivery.Report sheet.SUM formulas for numeric columns.input.xlsx beside the CSV.--sheet-name "Name" to set the worksheet title.The script requires openpyxl. If it is missing, install it in the active Python environment before running:
python3 -m pip install openpyxl
Do not use pandas for the core conversion unless the user explicitly asks; this skill is designed around openpyxl.
共 1 个版本