excel-cli
Installation
SKILL.md
Excel Automation with excelcli
Preconditions
- Windows host with Microsoft Excel installed (2016+)
- Uses COM interop — does NOT work on macOS or Linux
- GitHub Copilot
excel-cliplugin auto-downloads the latest Windows runtime on first use - Direct skill-only installs require
excelcli.exeon PATH
Workflow Checklist
| Step | Command | When |
|---|---|---|
| 1. Session | session create/open |
Always first |
| 2. Sheets | worksheet create/rename |
If needed |
| 3. Write data | See below | If writing values |
| 4. Save & close | session close --save |
Always last |
10+ commands? Use
excelcli -q batch --input commands.json— sends all commands in one process with automatic session management. See Rule 8.