| name | create-spreadsheet |
| title | Create Spreadsheet |
| description | Generate an Excel (.xlsx) workbook or a CSV file — tables, financial models, data exports, formatted reports with charts. Use when the user wants a spreadsheet or CSV. Built with openpyxl + pandas (Python). |
| target | docgen_agent |
Create Spreadsheet
When to use
The deliverable is .xlsx or .csv. For Google Sheets use the googlesheets skill.
Important: values, not live formulas
There is no spreadsheet recalc engine in the sandbox. If you write a formula like =SUM(...), Excel shows it as blank until the user opens and recalculates. So:
- Compute results in Python (pandas/numpy) and write the final values. This is the default and it always opens correctly.
- Only add a literal
=FORMULA when the user explicitly wants an editable formula — and when you do, also write the computed value in an adjacent labeled cell so the number is visible immediately.
How it works
A template here is a Python program (openpyxl + pandas) that writes the workbook. You adapt the data and structure, then the build script runs it and validates the file.
Skill directory: /workspace/integrations/docgen/agent/skills/create-spreadsheet — templates/, reference.md, and live here; read them by absolute path. Your work goes in .